Question : Set number of Clients in WSUS ? 2

I submitted question ID: 25004979 a couple days ago and the question was answered. I discovered through the solution that I had multiple machines with the same SID. I ran newsid.exe on the machines and now each machine in my environment has a unique SID. Using PSTools, I ran this .bat file on all the machines to resetauthorization and detect now , so the clients would report to WSUS.

net stop wuauserv
ping 127.0.0.1 -n 20 >nul
rd /s /q c:\windows\softwaredistribution
del /q c:\windows\windowsupdate.log
net start wuauserv
wuauclt /resetauthorization /detectnow
exit



My original issue remains:
Our WSUS server views 22 computers in the Update Services Console; we have 45 machines pointed to the server for updates using group policy. When I log into a machine that is not reporting, I run   wuauclt /resetauthorization /detectnow and it appears in the WSUS console,   BUT one that was previously there disappears, leaving the number at 22.  I cannot find anything about this online through my searches.
It seems as though my WSUS is stuck on 22 clients.  I have the status view set to Any and viewing All Computers  which should show all computers.
Any suggestions would be appreciated.  Let me know if there are questions.  Thanks

Answer : Set number of Clients in WSUS ? 2

This is because the WSUS client ID (duplicate sid) is still in the registry, try script below



net stop wuauserv
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
net start wuauserv
wuauclt /resetauthorization /detectnow
Pause

Random Solutions  
 
programming4us programming4us