February 17, 200620 yr Here's my WINNT.SIF:[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes[unattended] Repartition=Yes UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS WaitForReboot="No" UnattendSwitch="Yes"[GuiUnattended] AdminPassword="XXXX" EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1[GuiRunOnce] %systemdrive%\install\start.cmd[userData] ProductKey=XXXXX FullName="Information Systems" OrgName="Ohio Wesleyan University" ComputerName=*[TapiLocation] AreaCode=614[Networking] InstallDefaultComponents=YesAnd here's the start.cmd:CLS@ECHO OFFTITLE Windows XP SP2 - Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO tweaks being implemented. The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Removing useless shortcuts...DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"ECHO.ECHO Installing Microsoft Office 2003 SP2...START /WAIT %SYSTEMDRIVE%\INSTALL\Applications\Office2003\Office2003.exeECHO.ECHO Installing Microsoft .NET Framework 1.1 SP1...START /WAIT %SYSTEMDRIVE%\INSTALL\Hotfixes\dotnet11sp1.exeECHO.ECHO Installing Microsoft .NET Framework 2.0...START /WAIT %SYSTEMDRIVE%\INSTALL\Hotfixes\dotnet2.exeECHO.ECHO Installing Adobe Reader 7...START /WAIT %systemdrive%\INSTALL\Applications\AReader\reader705.exeECHO.ECHO Installing Mozilla Firefox 1.5...START /WAIT %systemdrive%\INSTALL\Applications\Firefox\OWUFFv2.exeECHO.ECHO Installing Flash 8...START /WAIT %systemdrive%\INSTALL\Applications\Flash\flash_player.exeECHO.ECHO Installing Microsoft Anti-Spyware...START /WAIT %systemdrive%\INSTALL\Applications\MSSpy\MSpyware.exe /S /v/qn reboot=suppressECHO.ECHO Installing Sun Java 5...START /WAIT %SYSTEMDRIVE%\INSTALL\Applications\Java\jre506.exeECHO.ECHO Installing Lavasoft Ad-Aware SE...START /WAIT %SYSTEMDRIVE%\INSTALL\Applications\AdAware\adaware.exe /sECHO.ECHO Installing Shockwave Player 10...START /WAIT %SYSTEMDRIVE%\INSTALL\Applications\Shockwave\shockwav.exe /sECHO.ECHO Installing Spyboy Search & Destroy 1.4...START /WAIT %SYSTEMDRIVE%\INSTALL\Applications\Spybot\spybotsd14.exe /verysilentECHO.ECHO Installing Quick Time...START /WAIT %SYSTEMDRIVE%\INSTALL\Applications\Quicktime\quicktime652.exeECHO.ECHO Deleting Temp Installation Files...RD /S /Q %SYSTEMDRIVE%\INSTALLECHO.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!"EXITWindows goes thru all those commands, even deletes the folder at the end, but it doesn't shutdown. While it's installing, the taskbar isn't at the bottom, but the blue background is there so it must be logged in. Edited February 17, 200620 yr by Captain Obvious
February 17, 200620 yr check your version of shutdown.exe, i had similar problems, and it had to do with the switches i was using behind your command, ie: shutdown.exe -r -f -t 60 -cclint
February 17, 200620 yr Author No, that's not it. I tried the same command after it fully installed and it shutdown. I think it has to do with the fact that it hasn't fully logged in when using guirunonce
February 17, 200620 yr if your start.cmd (im assuming this is for cleanup) is in your install directory,, your deleting it, before it has a chance to run the shut down command if your start.cmd is in your install directory then just move the shut down line before the it deletes the install directory like thisECHO.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%\INSTALLEXIT Edited February 17, 200620 yr by Lost Soul
February 22, 200620 yr Author if your start.cmd (im assuming this is for cleanup) is in your install directory,, your deleting it, before it has a chance to run the shut down command if your start.cmd is in your install directory then just move the shut down line before the it deletes the install directory like thisECHO.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%\INSTALLEXITOMFG!!!Thank you soooo much! ****, what a moron I am. Been looking at that script too long to see anything like that!
Create an account or sign in to comment