"Kit" <Kit[ at ]discussions.microsoft.com> wrote in message news:BFC2594A-E03C-4313-8E52-5A00297BCDC2[ at ]microsoft.com...
[Quoted Text] >I currently have 100 missing workstations in WSUS. I have a script that I > have been running manually on workstations that are not in WSUS
Does this include the machine you just posted about in the previous message?
Can you verify that this script is *not* being run on that machine?
> I want to > do this automatically. Does anyone have any suggestions on making the > batch > file silent so I can run it by GPO?
This script only needs to be run ONCE... ... 90% of the lines in this script don't mean squat (I've given you a streamlined version below)... ... and it only needs to be run *IF* your machines are sporadically appearing in WSUS, and then disappearing.
If they're not appearing at all......
this script won't help anything!
Required commands from script
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientIdValidation /f
net stop wuauserv net start wuauserv wuauclt.exe /resetauthorization /detectnow
To determine why the client is not appearing in the WSUS console..
1. Run the Client Diagnostic Tool on the client. 2. Inspect the %windir%\WindowsUpdate.log for error codes indicating reasons for failures.
Under CERTAIN conditions, based on CERTAIN error codes, it may be necessary to trash the local WUA database.
To do that, you should:
1. net stop wuauserv 2. rename %windir%\SoftwareDistribution SoftwareDistribution.old 3. net start wuauserv
-- Lawrence Garvin, M.S., MCITP(x2), MCTS(x5), MCP(x7), MCBMSP Principal/CTO, Onsite Technology Solutions, Houston, Texas Microsoft MVP - Software Distribution (2005-2009)
MS WSUS Website: http://www.microsoft.com/wsus My Websites: http://www.onsitechsolutions.com; http://wsusinfo.onsitechsolutions.com My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin
|