Sunday, September 22, 2013

updates to the install scripts for the recording pc (first.cmd)

:: wait for system to fully load by launching a text file
C:\windows\system32\notepad.exe G:\script\wait.txt

:: make dir
mkdir C:\deletion

::copy files
copy C:\windows\regedit.exe c:\windows\system32\regedit.exe
copy G:\script\reg\fileextensions.reg c:\windows\system32\fileextensions.reg


::install some drivers
G:\install\drivers\chipset.exe
G:\install\drivers\videocard.exe
G:\install\drivers\soundcard.exe


:: run some UI modifying registry hacks
C:\windows\regedit.exe /s G:\script\reg\network.reg
C:\windows\regedit.exe /s G:\script\reg\cc.reg
C:\windows\regedit.exe /s G:\script\reg\errorreporting.reg
C:\windows\regedit.exe /s G:\script\reg\driver.reg
C:\windows\regedit.exe /s G:\script\reg\sc.reg
C:\windows\regedit.exe /s G:\script\reg\sfs.reg
C:\windows\regedit.exe /s G:\script\reg\hidden.reg
C:\windows\regedit.exe /s G:\script\reg\static.reg

:: request reboot
C:\windows\system32\notepad.exe G:\script\reboot.txt

copy G:\script\second.cmd "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\second.cmd"
del /q "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\first.cmd"