Yesterday Microsoft released Service Pack 1 for Windows 7 and Windows Server 2008 R2. SP1 does not present any major challenges in deployment. However, here’s a short guide to how-to deploy it using silent install switches:
Downloading SP1 stand alone installer will give you an ISO-file containing three relevant EXE-files with different versions of the installer: x86, x64 and ia64.
Just extract the versions you need to a location of your choice.
Possible silent switches for deploying SP1 stand alone installer according to Microsoft are listed in the table below. However, the most common command line output would probably be something like this:
windows6.1-KB976932-X64.exe /quiet /nodialog /norestart
windows6.1-KB976932-X64.exe /quiet /nodialog /forcerestart
|/forcerestart||If a restart is required, this option forces any open applications or documents to close.|
|/nodialog||Suppresses the success or failure dialog box at the end of the installation.|
|/norestart||Does not restart the computer after the installation is complete, even if a restart is required to complete the installation. You should use this option in conjunction with the /quiet option.|
|/promptrestart||If a restart is required, a dialog box notifies the user that a restart is required to complete Setup. You should use this option in conjunction with the /quiet option.|
|/quiet||Runs the installation in quiet mode. This mode shows no user interface during the installation of the updates. This is the same as unattended mode, except that the user interface is hidden. No prompts will appear during the installation process except the success or failure dialog box at the end of the installation. To suppress this dialog box, you must also specify the /nodialog option.|
|/unattend||Installs the service pack in unattended mode. Only critical error prompts and a progress bar will appear during the installation. For example, Microsoft Software License Terms is not shown, and the computer will be automatically restarted.|
|/warnrestart[:<seconds>]||If a restart is required, a dialog box notifies the user that the computer will restart in the specified number of seconds. The user can either cancel the restart or restart the computer immediately. The default setting for the automatic restart is 30 seconds.|
|/wsus||Returns a failure code if the previous installation attempt failed. This option is needed only when you are deploying SP1 in a Windows Server Update Services (WSUS), SMS, or System Center Configuration Manager environment, or in any non-Microsoft product that uses the Windows Update Agent to report installation success.|
|/? or /help||Displays command usage.|
Something I really wonder… did Microsoft screw up when they choose the name of the release? The file is named windows6.1-KB976932-XXX.exe usually, the .1 would mean Service Pack 1. But what about 6.1? Version 6 of Windows was Windows Vista and version 7 was… yeah Windows 7. Which would mean that the release should have been named 7.1?
Microsoft did not screw up, according to some fellow readers(comments below).