Thursday, March 15, 2007

SUS (WSUS) CLIENT ID PROBLEM

One of the most annoying and recurring issues with WSUS is the duplicate ID issue where when systems are not properly 'Sysprepped' or Ghosted the WSUS clients appear in the WSUS console only periodically . Recently an administrator imaged two laptops, and the SID changer utility did not work so both Laptops were essentially the same .

To fix this issue on an individual basis, since my problem was not that widespread I found a great .VBS script on the net to fix the issue .

Here it is !

Set oShell = CreateObject("WScript.Shell")

sRegKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate"

On Error Resume Next
' Delete registry values
oShell.RegDelete sRegKey & "\AccountDomainSid"
oShell.RegDelete sRegKey & "\PingID"
oShell.RegDelete sRegKey & "\SusClientId"

' Stop and start the Automatic updates service
oShell.Run "%SystemRoot%\system32\net.exe stop wuauserv", 0, True
oShell.Run "%SystemRoot%\system32\net.exe start wuauserv", 0, True

' Run wuauclt.exe with resetauthorization
sCmd = "%SystemRoot%\system32\wuauclt.exe /resetauthorization /detectnow"
oShell.Run sCmd, 0, True

MsgBox "Finished!", vbSystemModal+vbInformation

Anyways this script immediately changed the values and after a little time both laptops appeared in the WSUS console independantly . Hope this helps someone ! Here is a link to the orgin of this info with other ideas for running this in a startup script if you have a larger problem . http://www.wsus.info/forums/index.php?showtopic=5623

4 comments:

Anonymous said...

Just popping in to say nice site.

Anonymous said...

I seriously love your website.. Pleasant colors & theme.
Did you build this web site yourself? Please reply back as I'm planning to create my own personal site and want to learn where you got this from or exactly what the theme is named. Appreciate it!
Also visit my site green coffee bean supplements in Canada

Anonymous said...

I got this web page from my buddy who told me regarding this website and now this time I am visiting this web
site and reading very informative posts here.
Also visit my site ; ricambi barche

Anonymous said...

top [url=http://sweden-online-casino.com/]free casino games[/url] check the latest [url=http://www.realcazinoz.com/]casino[/url] unshackled no store bonus at the chief [url=http://www.baywatchcasino.com/]casino online
[/url].