venim Posted September 10, 2003 Posted September 10, 2003 Computer reboot after successfully installing all the hotfixes & applications?And remove all the screensavers.?Read about psshutdown on the MSFN guide but I got an error..
webmedic Posted September 10, 2003 Posted September 10, 2003 use this command instead.shutdown -r -f -t 120 -c "Windows XP will now restart in 2 minutes, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"set the time you want before reboot with the -t switch.Right now it is set for -t 120 or 120 seconds ( 2 minutes)
Iced^ Posted September 11, 2003 Posted September 11, 2003 The command didn't work for me :| I put it in my bat file at the bottom... see below, what am i doing wrong i bet it isn't even meant to go in the bat file is it? :|CLS@echo offECHO.ECHO. ECHO.ECHO Updating Windows Components...ECHO.ECHO 1 of 4 - Installing Direct X v9.0b...start /wait %systemdrive%\install\dx9b\dxsetup.exe /opkECHO.ECHO 2 of 4 - Installing Windows Media Player v9.0...start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:NECHO.ECHO 3 of 4 - Installing MSN Messenger v6.0...start /wait %systemdrive%\install\MSN6\MsnMsgs.msi /QBECHO.ECHO 4 of 4 - Windows Script v5.6...start /wait %systemdrive%\install\Hotfixes\js56nen.exe /Q:A /R:NECHO.Echo.ECHO Installing Critical Updates...ECHO.ECHO 1 of 24 - Q328310start /wait %systemdrive%\install\Hotfixes\Q328310_WXP_SP2_en.exe /Q /M /ZECHO.ECHO 2 of 24 - Q329048start /wait %systemdrive%\install\Hotfixes\Q329048_xp.exe /Q /M /ZECHO.ECHO 3 of 24 - Q329115start /wait %systemdrive%\install\Hotfixes\Q329115_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO 4 of 24 - Q329170start /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_EN.exe /Q /M /ZECHO.ECHO 5 of 24 - Q329390start /wait %systemdrive%\install\Hotfixes\Q329390_WXP.exe /Q /M /ZECHO.ECHO 6 of 24 - Q329834start /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_en.exe /Q /M /ZECHO.ECHO 7 of 24 - Q330994start /wait %systemdrive%\install\Hotfixes\Q330994.exe /Q:A /R:NECHO.ECHO 8 of 24 - Q331953start /wait %systemdrive%\install\Hotfixes\Q331953_WXP_en.exe /Q /M /ZECHO.ECHO 9 of 24 - Q810565start /wait %systemdrive%\install\Hotfixes\Q810565_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO 10 of 24 - Q810577start /wait %systemdrive%\install\Hotfixes\Q810577_WXP_en.exe /Q /M /ZECHO.ECHO 11 of 24 - Q810833start /wait %systemdrive%\install\Hotfixes\Q810833_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO 12 of 24 - Q811493start /wait %systemdrive%\install\Hotfixes\Q811493_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO 13 of 24 - Q811630start /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_EN.exe /Q /M /ZECHO.ECHO 14 of 24 - Q814033start /wait %systemdrive%\install\Hotfixes\Q814033_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO 15 of 24 - Q815021start /wait %systemdrive%\install\Hotfixes\Q815021_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO 16 of 24 - Q817287start /wait %systemdrive%\install\Hotfixes\Q817287.exe /Q:A /R:NECHO.ECHO 17 of 24 - Q817606start /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_ENU.exe /Q /M /ZECHO.ECHO 18 of 24 - Q822925start /wait %systemdrive%\install\Hotfixes\Q822925.exe /Q:A /R:NECHO.ECHO 19 of 24 - Q823718start /wait %systemdrive%\install\Hotfixes\Q823718_MDAC_SecurityPatch.exe /Q /C:"dahotfix /Q /N"ECHO.ECHO 20 of 24 - KB817787start /wait %systemdrive%\install\Hotfixes\WindowsMedia8-KB817787-x86-ENU.exe /Q:A /R:NECHO.ECHO 21 of 24 - KB329441start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB329441-x86-ENU.exe /Q /M /ZECHO.ECHO 22 of 24 - KB821557start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821557-x86-ENU.exe /Q /M /ZECHO.ECHO 23 of 24 - KB824105start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB824105-x86-ENU-express.exe /Q /M /ZECHO.ECHO 24 of 24 - KB824146start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB824146-x86-ENU-express.exe /Q /M /ZECHO.ECHO.ECHO.ECHO Windows Will Restart Automatically In 2 Minutes To Complete Installation...ECHO.ECHO.ECHO.PAUSEshutdown -r -f -t 120 -cEXIT
b0r3d Posted September 11, 2003 Posted September 11, 2003 Why are you using the pause command?That makes the user have to press a key to continue.Also you should put the "Windows Will Restart Automatically In 2 Minutes To Complete Installation..." after the -c .. like this:shutdown -r -f -t 120 -c "Windows Will Restart Automatically In 2 Minutes To Complete Installation..."
Iced^ Posted September 11, 2003 Posted September 11, 2003 Yes i have done now but as i said it doesn't work anyway... do you think it could of been the pause command that caused it not to work or do you think i should add the .exe just to be safe?
Aaron Posted September 11, 2003 Posted September 11, 2003 Yes, add the .exe to the end.In a test I ran, without the .exe on the end of shutdown the batch would often loop over and over again. I know, its strange.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now