winnt.sif
;SetupMgrTag [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes [Unattended] UnattendMode=FullUnattended OemPreinstall=Yes OemSkipEula=Yes OEMFilesPath=.\$OEM$ NoWaitAfterTextMode=1 NoWaitAfterGUIMode=1 WaitForReboot=No TargetPath=\Windows DriverSigningPolicy=Ignore UnattendSwitch=yes Repartition=Yes [GuiUnattended] OEMSkipRegional=1 TimeZone=35 OEMSkipWelcome=1 AdminPassword=* EncryptedAdminPassword=NO [UserData] ProductKey= FullName="" OrgName="" ComputerName= [Display] Xresolution=800 YResolution=600 BitsPerPel=16 [RegionalSettings] LanguageGroup=1 Language=00001009 [Identification] JoinWorkgroup=WORKGROUP [Networking] InstallDefaultComponents=Yes [Components] msmsgs=off msnexplr=off OEAccess=off zonegames=off minesweeper=off calc=off hearts=off solitaire=off spider=off pinball=off freecell=off [WindowsFirewall] Profiles=WindowsFirewall.TurnOffFirewall [WindowsFirewall.TurnOffFirewall] Mode=0 [Branding] BrandIEUsingUnattended=Yes [URL] Home_Page=about:blank [Proxy] Proxy_Enable=0 Use_Same_Proxy=0 [GuiRunOnce] %systemdrive%\install\start.cmd
cmdlines.txt
[COMMANDS] "REGEDIT /S regtweaks.reg" "useraccounts.cmd"
regtweaks.reg
Windows Registry Editor Version 5.00
;Disable Automatic Restart in the event of a BSOD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000
;Speed up shutdown
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="3000"
;Disables Error Reporting, but notifies when errors occur
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:00000000
;Speed up Network Browsing by removing Network Scheduled Tasks
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\...
...Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}]
;Disables Windows Tour bubble popup
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000
;Disable Imapi CD-Burning Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImapiService]
"Start"=dword:00000004
;Disable Messenger Service (to stop spam. Does not affect MSN or Windows Messenger)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004
;Disable Remote Registry Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]
"Start"=dword:00000004
;This will add "Services" to the right-click menu of "My Computer"
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]
@=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00
"SuppressionPolicy"=dword:4000003c
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00
;This adds the "Open Command Window Here" on the right click menu for folders
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Open Command Window Here"
[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""
[HKEY_CLASSES_ROOT\Drive\shell\cmd]
@="Open Command Window Here"
[HKEY_CLASSES_ROOT\Drive\shell\cmd\command]
@="cmd.exe /k \"cd %L\""
;Max your Internet Explorer's simultaneous downloads to 10 (default was 2)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPer1_0Server"=dword:0000000a
"MaxConnectionsPerServer"=dword:0000000a
start.cmd
CLS @echo off TITLE Windows XP SP2 - Unattended Installation FOR %%d IN (D: E: F: G: H: I: J: ... V: W: X: Y: Z:) DO IF EXIST %%d\CD.TXT SET CDROM=%%d ECHO. ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registry ECHO tweaks being implemented. The computer will restart automatically ECHO once the whole process has finished! ECHO. ECHO Installing Mozilla Firefox 1.0 ECHO Please wait... start /wait %systemdrive%\Install\Applications\MozillaFirefox\Firefox_1.0.exe ECHO. ECHO Installing Mozilla Thunderbird 1.0 ECHO Please wait... start /wait %systemdrive%\Install\Applications\MozillaThunderbird\Thunderbird_ 1.0.exe ECHO. ECHO Installing J2SE Runtime Environment 5.0 ECHO Please wait... start /wait %systemdrive%\Install\Java\J2SE.exe ECHO. ECHO Installing TweakUI Powertoy for Windows XP ECHO Please wait... start /wait %systemdrive%\Install\TweakUI\tweakui.msi /qn ECHO. ECHO Installing Windows Support Tools ECHO Please wait... start /wait msiexec /i %CDROM%\support\tools\suptools.msi /qn ECHO. ECHO Installing Fairstars Audio Converter ECHO Please wait... start /wait %systemdrive%\Install\Applications\FairstarsAudioConverter\Fairstar.exe /silent /sp- ... .../dir="%systemdrive%\Multimedia\FairStars Audio Converter" /loadinf=%systemdrive%\... ...Install\Applications\FairstarsAudioConverter\fairstar.txt copy %systemdrive%\Install\Applications\FairstarsAudioConverter\conreg.ini ... ..."%systemdrive%\Multimedia\FairStars Audio Converter\" ECHO. ECHO Installing K-Lite Mega Codec Pack ECHO Please wait... start /wait %systemdrive%\Install\K-LiteMegaCodecPack\klmcodec116.exe /silent /sp- ... .../dir="%systemdrive%\Multimedia\K-Lite Codec Pack" /loadinf=%systemdrive%\Install\K-LiteMegaCodecPack\klmcodec116.txt ECHO. ECHO Installing MSN Messenger 6.0.0602 Final ECHO Please wait... start /wait %systemdrive%\Install\MSN\MsnMsgs.msi /Qn ECHO. ECHO Installing WinRAR 3.41 ECHO Please wait... start /wait %systemdrive%\Install\Applications\WinRAR\wrar341.exe /s ECHO. ECHO Installing Adobe Reader 6 ECHO Please wait... start /wait %systemdrive%\Install\Applications\AdobeReader6\acroread602.exe" ECHO. ECHO Installing Spybot Search & Destroy 1.3 ECHO Please wait... start /wait %systemdrive%\Install\Applications\SpybotSD\spybotsd13.exe /silent /nocancel /dir="%systemdrive%\... ...Utilities\Spybot - Search & Destroy" /group="Security\Spybot - Search & Destroy\" ECHO. ECHO Installing Nero Burning ROM v6.6.0.3 ECHO Please wait... start /wait %systemdrive%\Install\Applications\Nero\Nero6603.exe /silent /noreboot /no_ui /sn=REMOVED /write_sn REGEDIT /S %systemdrive%\Install\Applications\Nero\RemoveFilterCheck.reg ECHO. ECHO Installing Daemon Tools 3.46 ECHO Please wait... start /wait msiexec /i %systemdrive%\Install\Applications\DaemonTools\daemon.msi /qn /norestart ECHO. ECHO Installing Winamp 5.0.7 ECHO Please wait... start /wait msiexec /i %systemdrive%\Install\Applications\Winamp\Winamp.msi /qn ini=%systemdrive%\Install\Applications\Winamp\Winamp.ini ECHO. ECHO Installing Yahoo Messenger 6.0 ECHO Please wait... start /wait %systemdrive%\Install\YahooMessenger\ymsgrie.exe /s taskkill /im Ypager.exe ECHO. ECHO Installing Zoom Player 4 ECHO Please wait... start /wait %systemdrive%\Install\Applications\ZoomPlayer\zp400std.exe /S /D="C:\Multimedia\Zoom Player\" ECHO. ECHO Cleaning up and Rebooting start /wait %systemdrive%\Install\Cleanup.cmd EXIT
Note: Thunderbird install failed because I renamed the installer and forgot to edit my batch file.
cleanup.cmd
CLS @echo off TITLE Unattended Installation Cleanup ECHO Deleting Useless Shortcuts... DEL "%allusersprofile%\Start Menu\Windows Catalog.lnk" DEL "%allusersprofile%\Start Menu\Set Program Access and Defaults.lnk" ECHO. ECHO Deleting ASP.NET User Account created by .NET Framework 1.1... net user aspnet /delete REM ECHO. REM ECHO Deleting Desktop Shortcuts... REM DEL "%allusersprofile%\desktop\*.lnk" REM DEL "%userprofile%\desktop\*.lnk" ECHO. ECHO Deleting Sample Pictures RD /Q /S "%AllUsersProfile%\Documents\My Pictures\Sample Pictures" DEL "%UserProfile%\My Documents\My Pictures\Sample Pictures.lnk" ECHO. ECHO Restarting the PC in 1 minute... shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time ... ...for the shortcuts to update and for the shell to fully load before its ready to restart!" ECHO. ECHO Deleting Temp Installation Files... RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\install EXIT
I think that's all the relevant files, and probably one or two irrelevant ones as well. As an additional note, the added programs since the last test are Firefox, Thunderbird (which failed), Windows Support Tools and Winamp. Adobe's Acrobat Reader was switched from the official dl available from the Adobe site to the silent install executable with 6.02 integrated created by RyanVM and available here. Any feedback on this would be appreciated. I've gone over all of these files, and don't see anything that should have caused this. If this is something that I should have done a search for, please at least give me a hint on where to start, because I'm stumped.
Edit: Some of the code has been slightly modified so that it fits nicer on the forum pages. Any pair of lines that end/start with ... are actually single lines in my files. The CD.txt file line also contains a complete list of drive letters, I just truncated it for the same reason.
This post has been edited by Cartoonite: 12 December 2004 - 05:19 AM



Help


Back to top









