02
Oct
08

WSUS client not connecting to the server

In order to save bandwidth, it is preferable to have a WSUS server at home, which hosts all the windows updates. I indeed learnt a lot In the process to make it works, like installing IIS, .net framework 2.0, install and configure WSUS3.0, synchronise, approve/decline the update, apply to computer groups.

The WSUS console doesn’t work properly often after server reboot. There are three ways to tackle the problems:

1. in command prompt, type iisreset. If it doesn’t work, reboot the server again.

2. If problem persists, uninstall and reinstall WSUS (retain all database and update, it takes weeks to download these GBs of updates).

3. If uninstall/reinstall wsus doesn’t help, uninstall .Net framework and the reinstall it (of course you need to uninstall wsus first). It won’t take you much manual step to fix the problem, but the time to watch the process going on.

Ok, when the server is working properly. The client may not work! I tried to configure a desktop(call it Lousy) of my home network to subscribe wsus update, like I did in another desktop, by configuring Local Group Policy, but it didn’t work.

Basic step to force Windows update:

net stop bits
net stop wuauserv

net start bits
net start wuauserv
wuauclt /resetauthorization /detectnow

By checking the computer table on server, which Lousy is not found. There are various ways to troubleshoot it.

First, it might be firewall problem that prohibit the WSUS connection. You may need to configure your firewall to allow http traffic to the server. To verify the this problem, simply type your wsus URL (http://yourwsusserver/ or http://yourwsusserver:8530). Don’t expect WSUS webpage to give your fancy interface (default setting). I got the response as below, show that I can connect to the webpage (but the web server refuse for Directory Listing).

If firewall is not the problem, then the client definitely does. You may download WSUS Client Diagnostics Tools from Microsoft. Extract the exe file to c:\ (any location will do the same, just c: is preferable for command prompt execution). Run it in command prompt, and watch out the result.

The result may show that OpenedNameService is not installed after first check (local admin right to execute windows update). After researching the result, it sounds like windows update client is not up-to-date. Thus, WindowsUpdateAgent3.0 is downloaded from Microsoft website.

Surprisingly, the installation on WindowsUpdateAgent3.0 show that the Windows Update Client Agent is up to date, which the installation is not required.

I tried several methods listed in various technical forum regarding this problem, and I tried not to modify the system registry before every solution failed. It could be a one way street for registry modification, so be careful.

Finally, I found it is working as below:

regsvr32 /u wuaueng1.dll (this will unregister the wuauserv!)
regsvr32 wuaueng1.dll (this will register wuauserv again)

Verified if it works:

net stop bits
net stop wuausrv

net start bits
net start wuauserv
wuauclt /resetauthorization /detectnow

Check the table on WSUS server console, Lousy is there!

It solved my problem, may not yours. To solve your problem, do remember one thing: Google is your best friend!

Advertisements

6 Responses to “WSUS client not connecting to the server”


  1. 1 lesley persyn
    October 30, 2008 at 12:38 pm

    wuausrv should be wuauserv in the last section… πŸ˜‰

  2. 2 albertsiow
    October 31, 2008 at 1:35 am

    Thanks for your notice, my bad! πŸ˜€

  3. 3 Jon
    February 20, 2009 at 4:58 pm

    Also.. it’s regsvr32 not regsrv32 to un-register and reregister the .dll

  4. April 22, 2009 at 6:46 am

    I read your blog for a long time and should tell you that your posts always prove to be of a high value and quality for readers.

    • 6 albertsiow
      April 24, 2009 at 11:25 am

      Thank you! I am surprised by your compliments.
      When ppl get old, they will tend to forget things.
      This blog is kept to remind me as useful technical knowledge, hope it helps for others as well.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: