WSUS and list of needed updates

Posted on 2013-01-25
Last Modified: 2013-02-20
Hello, we have a WSUS server controlling circa a dozen clients. All machines are Windows 2003. For some servers, WSUS won't show any needed/pending updates but if i manually run Win Updates i see that there is a bunch of them needed. For other servers WSUS reports numerous missing updates but if i run Win Updates manually i see that everything is installed. It seems as if WSUS doesn't report the updates properly. Why is this? How can i fix it? thx! :-)
Question by:criskrit
  • 4
  • 3
LVL 13

Expert Comment

by:Gabriel Clifton
ID: 38818575
It is usually not the WSUS but rather the computer getting the updates. Try this batch script.

net stop wuauserv 

echo -----------------------------------------------------------------------
echo This batch file will register all of the files associated
echo with a visit to the Microsoft Update / Windows Update
echo resources.
echo -----------------------------------------------------------------------


echo ---Registering Widows Update Agent DLLs---
regsvr32 /s %systemroot%\system32\wuapi.dll
regsvr32 /s %systemroot%\system32\wuaueng.dll
regsvr32 /s %systemroot%\system32\wuaueng1.dll
regsvr32 /s %systemroot%\system32\wucltui.dll
regsvr32 /s %systemroot%\system32\wups.dll
regsvr32 /s %systemroot%\system32\wups2.dll
regsvr32 /s %systemroot%\system32\wuweb.dll

echo --Done registering Windows Update Agent DLLs

echo ---Registering Microsoft XML DLLs---
regsvr32 /s %systemroot%\system32\msxml3.dll

echo --Done registering Microsoft XML DLLs


 Del "C:\Windows\SoftwareDistribution\DataStore\*.*" /f /q
net start wuauserv 
wuauclt.exe /resetauthorization /detectnow

Open in new window

LVL 47

Expert Comment

by:Donald Stewart
ID: 38819049
Are you approving all updates that are needed within the WSUS console ???

Have these servers been rebooted ??? If there is a pending reboot, future updates that are needed wont be detected until the reboot has taken place.

Are there any errors in their windowsupdate.log ???

Author Comment

ID: 38827210
Hello and thank you for the replies. Lets deal with clients for which WSUS doesn't report needed updates. I am testing using two such clients, WSUS says that they are both up-to-date but Microsoft Update says they both need at least 60 updates! (the latter seems correct as these computers haven't been updated in almost a year).

I stopped the Automatic Update service, deleted the contents of DataStore folder, then started the Automatic Update service and ran "wuauclt.exe /resetauthorization /detectnow" and "wuauclt.exe /reportnow". I can see the "last status report" time for these clients being updated in WSUS but they still show up as needing no updates. I also checked the windowsupdate.log and it doesn't report any error messages and says that "0 updates were found". However Microsoft Update still reports 60+ updates missing. These servers don't need a reboot (if they did MS Update wouldn't report updates either).

any more ideas?
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

LVL 13

Expert Comment

by:Gabriel Clifton
ID: 38827373
Updates in Microsoft update that are not showing up in the wsus updates have probably been rejected in wsus at some point

Author Comment

ID: 38827470
as far as i know, nobody touched WSUS or MS Update for about a year. However if the updates have indeed been rejected, how can i "un-reject" them?
LVL 13

Expert Comment

by:Gabriel Clifton
ID: 38827866
Do a search in the wsus for the update and approve it. It can be rejected years ago and any future updates to it will also be rejected

Accepted Solution

criskrit earned 0 total points
ID: 38844633
I discovered the problem, our WSUS wasn't synchronizing automatically any more so it had vastly outdated update definitions. I sync'ed and now it reports the correct update status of the clients.
LVL 13

Expert Comment

by:Gabriel Clifton
ID: 38844687
Good to hear you got it fixed

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can't log in to windows 7 11 59
Formatting a new 4TB Seagate drive 11 61
Domain Controller FSMO 7 35
Windows Password recovery 7 33
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
An article on effective troubleshooting
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now