O'Reilly logo

Windows Server Cookbook by Robbie Allen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.2. Configuring Automatic Updates

Problem

You want to configure how updates are applied using the Automatic Updates feature.

Solution

Using a graphical user interface

To configure Automatic Updates locally on a system, do the following:

  1. Open the System applet in the Control Panel.

  2. Select the Automatic Updates tab.

  3. Check the box beside Keep my computer up to date to enable Automatic Updates.

  4. Once you have done that, the radio buttons under Settings will become active. Select how you want to be notified about new updates and whether you want to automatically install them.

  5. Click OK when you are done.

To configure Automatic Updates using Group Policy, do the following:

  1. Open the Group Policy Management Console.

  2. In the left pane, navigate to the group policy object (GPO) you want to modify.

  3. Right-click the target GPO and select Edit.

  4. In the left pane of the Group Policy Object Editor, expand Computer Configuration Administrative Templates Windows Update.

  5. In the right pane, double-click the setting you want to configure.

Using a command-line interface

The following commands enable Automatic Updates to automatically download new updates and notify when installation is ready to proceed:

> reg add HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /t REG_DWORD /v 
NoAutoUpdate /d 0
> reg add HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /t REG_DWORD /v 
AUOptions /d 3
> net stop wuauserv
> net start wuauserv

You must restart the Automatic Updates service before the changes take effect. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required