-
Has been reported as spam
Discussion
-
Post 1 of 5
-
XP Service Pack 3 (XP SP3) command line switches
-
For anyone who wants to deploy XP Service Pack 3 (XP SP3) through a batch script at logon and doesn?t know or like me, can?t find the switches, here they are.
I googled numerous phrases trying to find this info anywhere but couldn?t. So, I just started executing the file, in a command line, guessing at switches. ?/help?, after extracting the contents, gave me a window with the switch information. I?ve copied and pasted that here so others can save the time and just get their work done. Since this is a copy and paste, the layout is a little malformed. I'd suggest copying and pasting the switch info into a Word or text document to read it as it appears. After the switch info, I'm posting the command line I used to install it through out my network.
---------------------------
Service Pack 3 Setup
---------------------------
AVAILABLE SWITCHES:
[/help] [/quiet] [/passive] [/norestart] [/forcerestart] [/warnrestart] [/promptrestart] [/overwriteoem] [/nobackup] [/forceappsclose] [/integrate:] [/d:] [/log:]
/help Displays this message
SETUP MODES
/quiet Quiet mode (no user interaction or display)
/passive Unattended mode (progress bar only)
RESTART OPTIONS
/norestart Do not restart when installation is complete
/forcerestart Restart after installation
/warnrestart[:] Warn and restart automatically if required (default timeout 30 seconds)
/promptrestart Prompt if restart is required
SPECIAL OPTIONS
/overwriteoem Overwrite OEM files without prompting
/nobackup Do not backup files needed for uninstall
/forceappsclose Force other programs to close when the computer shuts down
/integrate: Integrate this software update into
/d: Back up files into
/log: Create log file at
****
My Install
Command line:
O:\xpsp3\WindowsXP-KB936929-SP3-x86-ENU /quiet /forcerestart /forceappsclose /d:d:\temp\bu /log:d:\temp\bu\xpsp3.log
What is does:
From a mapped drive "O:" and a directory named XPSP3, the service pack is executed to install without any user notification (you can detect it in Task Manager), forcing a restart, forcing any open apps to close for the restart, backing up the uninstall files to D:\Temp\bu. The last switch , "/log:..", was supposed to create a log file, but it didn't.
The 'log' switch instructs to provide which I took to mean everything including the file name because the backup switch indicates simply . Since I tested the install before deploying it I don't really care, the log was more a curiosity than anything else.
Good luck.
-
Posted: 05/08/2008 @ 10:32 AM (PDT)
(edited 05/08/2008 @ 10:34 AM (PDT))
-
-
- cduncan@...
- Job Role: IT Department Manager
- Location: San Francisco, California
- Member since: 12/05/2003
-
View Profile
| Send Message
SponsoredWhite Papers, Webcasts, and Downloads
White Papers, Webcasts, and Downloads
Browse by Tag
-
networking
- Popular tags:
windows,
software,
hardware,
security,
it management
-
e-mail
- Popular tags:
windows,
software,
networking,
security,
hardware
-
hardware
- Popular tags:
windows,
software,
networking,
it management,
security
-
programming
- Popular tags:
software,
windows,
networking,
hardware,
it management
-
software
- Popular tags:
windows,
hardware,
networking,
programming,
it management
-
windows
- Popular tags:
software,
networking,
hardware,
security,
it management
-
linux
- Popular tags:
software,
windows,
networking,
hardware,
security
-
it management
- Popular tags:
networking,
windows,
software,
security,
hardware
-
career
- Popular tags:
it management,
networking,
software,
windows,
feedback
-
security
- Popular tags:
networking,
windows,
software,
it management,
hardware
-
off-topic
- Popular tags:
software,
windows,
hardware,
feedback,
networking
-
feedback
- Popular tags:
software,
windows,
hardware,
networking,
it management
-
project management
- Popular tags:
it management,
software,
networking,
windows,
programming