Friday, August 30, 2013

updates to the install scripts for the old pc, as it is being repurposed to stream video from youtube (logon.cmd)

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

::copy registry & file extensions hack
copy C:\windows\regedit.exe c:\windows\system32\regedit.exe
copy e:\script\reg\fileextensions.reg c:\windows\system32\fileextensions.reg

:: make dir
mkdir c:\deletion

::install drivers
e:\script\install\drivers\directX\dxsetup.exe /silent
e:\script\install\drivers\vcd.exe
e:\script\install\drivers\soundcard.exe

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

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

copy e:\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\logon.cmd"