Search This Blog

Monday, August 3, 2009

Adding workgroup computer into WSUS server

Domain Computer can be added into WSUS console by using Group Policy. But how about workgroup computer !

You can add workgroup computer into WSUS console by using registry.
I have created two script to simplify your tasks.

1. File: wsus.bat

@echo off
net stop "wuauserv"
Echo importing wsus.reg
%windir%\regedit.exe /s c:\wsus.reg
echo wsus.reg imported successfully
net start "wuauserv"
echo forcing update detection
wuauclt /detectnow

Note: Stop the Windows Update Service, execute wsus.reg and start Windows Update Service. Perform manual detection by using the command wuauclt /detectnow

2. File:wsus.reg

Windows Registry Editor Version 5.00



a) WUServer and WUStatusServer - specify your WSUS server using the following format http://wsus server name

b) Value: NoAutoUpdate
•0 - Enable Automatic Updates (Default)
•1 - Disable Automatic Updates

c) Value: AUOptions
•2 - Notify for download and notify for install
•3 - Auto download and notify for install
•4 - Auto download and schedule the install

d) Value: ScheduledInstallDay
•0 - Install every day
•1 to 7 - Install on specific day of the week from Sunday (1) to Saturday (7).

e) Value: ScheduledInstallTime
•0 to 23 - Install time of day in 24-hour format

f) UseWUServer - Enabled Automatic Update.

g) NoAutoRebootWithLoggedOnUsers -NoAutoRebootWithLoggedOnUsers is enabled which Specifies that to complete a scheduled installation, Automatic Updates will wait for the computer to be restarted by any user who is logged on, instead of causing the computer to restart automatically in 5 minutes to complete the installation.

Note: Copy both files into C:\ drive and run wsus.bat

For more detail, please refer to


  1. Do you have an updated script for windows 7 clients?


  2. How do you remove a computer you have done this to? I mean, if you have ran these scripts, and then are going to get rid of the computer, how do you set it back to normal?

    Do you just delete these keys, or do you have to change them, or remove some and change others?

  3. Hi,
    If you plan to revert , make sure that you backup the registry before run it. If any issue, then import back the original registry.

  4. Very useful information and thanks for sharing. hostgator coupons


Note: Only a member of this blog may post a comment.