Question Locked

Running Windows Updates automatically with a Samba server as the PDC?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Question:

How can I set automatic updates to run at a specific point in time, regardless of the current user that is logged in on a domain that is not AD related(so no GPO policy that polices the updates) and has no SUS or WSUS server running the updates??

I have searched and searched and I have as of yet not been able to find a way to automate the update process for non admin users and/or usergroups in a non-AD windows client environment.

HELP!

Thanks in advance for any rendered assistance.

3 replies

by mneuwahl

After searching some more I found a possibility in registry management:

Configuring Automatic Updates by editing the registry
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

In a non-Active Directory environment, you can edit registry settings to configure Automatic Updates.

Note You must manually create these registry keys.

You can use either of the following methods to set these registry keys:
? Manually edit the registry by using Registry Editor (regedit.exe).
? Centrally deploy these registry keys by using the Windows NT 4.0-style System Policy functionality.

To use Registry Editor, follow these steps:
1. Click Start, click Run, and then type regedit in the Open box.
2. Locate and then click the following key in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
3. Add any one of the following settings:
? Value name: NoAutoUpdate
Value data: 0 or 1
? 0: Automatic Updates is enabled (default).
? 1: Automatic Updates is disabled.
Registry Value Type: Reg_DWORD
? Value name: AUOptions
Value data: 1 to 4
? 1: Keep my computer up to date has been disabled in Automatic Updates.
? 2: Notify of download and installation.
? 3: Automatically download and notify of installation.
? 4: Automatically download and scheduled installation.
Registry Value Type: Reg_DWORD
? Value name: ScheduledInstallDay
Value data: 0 to 7
? 0: Every day.
? 1 through 7: The days of the week from Sunday (1) to Saturday (7).
Registry Value Type: Reg_DWORD
? Value name: ScheduledInstallTime
Value data: n, where n equals the time of day in a 24-hour format (0-23).
Registry Value Type: Reg_DWORD
? Value name: UseWUServer
Value data: Set this value to 1 to configure Automatic Updates to use a server that is running Software Update Services instead of Windows Update.
Registry Value Type: Reg_DWORD
? Value name: RescheduleWaitTime
Value data: m, where m equals the time to wait between the time Automatic Updates starts and the time it begins installations where the scheduled times have passed. The time is set in minutes from 1 to 60, representing 1 minute to 60 minutes)
Registry Value Type: Reg_DWORD

Note This setting only affects client behavior after the clients have updated to the SUS SP1 client version or later.
? Value name: NoAutoRebootWithLoggedOnUsers
Value data: Reg_DWORD: 0 (false) or 1 (true). If set to 1, Automatic Updates does not automatically restart a computer while users are logged on.
Registry Value Type: Reg_DWORD

Note This setting affects client behavior after the clients have updated to the SUS SP1 client version or later.
To use Automatic Updates with a server that is running Software Update Services, see the Software Update Services Deployment white paper. To view this white paper, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/wsus/bb466200.aspx (http://technet.microsoft.com/en-us/wsus/bb466200.aspx)
When you configure Automatic Updates directly by using the policy registry keys, the policy overrides the preferences that are set by the local administrative user to configure the client. If an administrator removes the registry keys at a later date, the preferences that were set by the local administrative user are used again.

To determine the server that is running SUS that your client computers and servers go to for their updates, add the following f registry values to the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\

Value name: WUServer
Registry Value Type: Reg_SZ
This value sets the SUS server by HTTP name (for example, http://IntranetSUS).

Value name: WUStatusServer
Registry Value Type: Reg_SZ
This value sets the SUS statistics server by HTTP name (for example, http://IntranetSUS).

Testing the settings in a VM windows XP setup as we speak.

Fingers crossed

by tachyon

Don't leave us hanging, how did it work out?

I've been looking for some time for a way to use a Linux/SAMBA server as a central update server for our Windows XP workstations.

Can Linux and SAMBA replace WSUS or at least provide a similar solution?

Waiting anxiously,
Tachyon

This discussion is closed to new replies.