Re: WSUS and WHS
This is the script i made at work. Which fixes any of my WSUS problems.
Then in group policy i have a policy for each OU just with the target group changed to that OU's name, otherwise the machines don't go in the right groups in WSUS.
Im not sure if you are running it on a local machine or not, but the below clears out all the stuff that caused me problems.
@echo off
echo.
Echo This batch file will do the following:
Echo 1. Stop the wuauserv service
Echo 2. Delete the AccountDomainSid registry key (if it exists)
Echo 3. Delete the PingID registry key (if it exists)
Echo 4. Delete the SusClientId registry key (if it exists)
Echo 5. Restart the wuauserv service
Echo 6. Resets the Authorization Cookie
echo.
@echo on
net stop wuauserv
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Wi ndowsUpdate" /v AccountDomainSid /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Wi ndowsUpdate" /v PingID /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Wi ndowsUpdate" /v SusClientId /f
net start wuauserv
wuauclt /resetauthorization /detectnow
@echo off
|