I sent out some servers(running server 2008R2 x64) without checking their windows update settings..fail. By default they are set to automatically download and install. I need them to download but not install. Can this be done through command-line? RDP is not an option.
swagner88swagner88
5 Answers
If the computers are in a domain, you can configure this setting via Group Policy.
Otherwise, you can manually configure the relevant Registry value:
Windows 7 Can T Change Update Settings
53.6k4545 gold badges172172 silver badges288288 bronze badges
Sure. Download, notify for install:
Check out Group Policy Search for reference if you need to modify other parts of the policy directly via the registry - it's a lot more pleasant than digging through ADMX files.
Shane Madden♦Shane Madden
105k99 gold badges150150 silver badges225225 bronze badges
If you have this server in a Domain environment you should do this through a Windows Update group policy. If you do using another method you won't be able to revert this changes with a GPO.
If you are in a non-domain environment you can do the change using the command line.I don't know any tool that let you do this change directly so you will need to do the change modifying the Windows registry.
From a command line you can change the Windows registry using the command
REG ADD .
The registry settings that you need to change are placed on HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU. Particularly the
AUOption value which is responsible for enabling or disabling the Windows Update setting. If the value is:
0 Let the local administrator to choose the settings
1 Means never check
2 Check but don't download neither install
3 Check, download but don't install
4 Download and install automatically
To run the command that you create in the remote computers you can use the Microsoft Sysinternals command line tool PSExec. You should restart the Windows Update Service using
Net Stop and Net start .
So you should use something like this:
You can also force a Windows Update check using
Where
Servers.txt is a simple notepad file with a IP or a server name for each line.If you don't want to use Psexec you can also run the REG command remotely.For REG or Psexec you will need to have enable the Firewall exeption File and printer sharing and should run the commands with an user account with administrative privileges on the remote servers. See https://stackoverflow.com/q/828432 for more info other Access is denied issues when using Psexec .
Community♦
Ricardo PoloRicardo Polo
1,72411 gold badge1313 silver badges3535 bronze badges
I am a little surprised no one offered the kb:http://support.microsoft.com/kb/328010
greggmcfggreggmcfg
15311 gold badge22 silver badges1010 bronze badges
figured it out:
reg add 'HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update' /v AUOptions /t REG_DWORD /d 3 /f
Reference:
Community♦
swagner88swagner88
Not the answer you're looking for? Browse other questions tagged windowscommand-line-interfaceupdate or ask your own question.
If you live in an English-speaking country and purchased a PC at your local retailer or online, chances are you are running an English version of Windows 7.
If your native language is something other than English, you can change the display language in Windows 7 to one of the more than 30 languages supported by Microsoft's operating system.
of 06
Setting the Region and Language in Windows 7
To use languages other than the default installed in Windows, you need to download them from Microsoft and then install the language pack for the language you wish to use.
of 06
Install Additional Language Packs From Windows Update
If you don't already have the language pack you need stored on your PC, click Launch Windows Update to download the latest language packs direct from Microsoft.
of 06
Use Windows Update Optional Updates to Download Language Packs
When you select the Launch Windows Update option, the Windows Update window appears. Windows Update is used to download updates, security patches, language packs, drivers, and other features direct from Microsoft.
Two types of updates are usually available from Windows Update: updates that are important and should be downloaded right away and those that are optional and not critical.
The language packs are the latter — noncritical optional updates — so you need to manually select the language pack you want to use to download it from Windows Update.
Click the # optional updates are available link. The # refers to the number of optional updates that are available for download.
of 06
Select Language Packs to Download and Install
The Select updates to install page loads with a list of available updates that are Important and Optional.
of 06
Language Packs With Download and Install
Return to the Windows Update page where you click the Install Updates button to begin downloading the language packs you selected from the list. When the language packs are downloaded and installed, they are available for use.
of 06
Select the Display Language You Want to Use
When you return to the Region and Language dialog box, select a language you just downloaded from the Choose a display language drop-down.
After you select the language, click OK to save the change.
For the new display language to be active, you must first log off from your computer. When you log back in, the display language you selected is active.
You can change how Windows Update installs updates to your computer. Windows Update is Microsoft’s online portal for providing software fixes and security patches to the public. There are several options for Windows Update that you can configure, such as how updates are downloaded and installed (automatically or manually) and who can install updates on your computer.
Windows updates are prioritized as:
Cannot Change Windows 7 Update Settings
Different types of Windows updates include:
Follow these steps to change Windows Update settings:
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |