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.
|
feedback
|
|
If the computers are in a domain, you can configure this setting via Group Policy. Otherwise, you can manually configure the relevant Registry value:
| |||
|
feedback
|
|
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. | |||||||
feedback
|
|
If you have this servers in a Domain enviroment you should do this throught a Windows Update group policy. If you do using another method you wont be able to revert this changes with a GPO. If you are in a non domain enviroment 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 The registry settings that you need to change are placed on HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU. Particulary the
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 So you should use something like this:
You can also force a Windows Update check using
Where | |||
|
feedback
|
|
figured it out: reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 3 /f Reference: http://www.windows-commandline.com/2009/11/disable-automatic-updates-command-line.html | |||
|
feedback
|