Personally I also make the folder on the computer and in a GPO computer $path = "c:\windows\SoftwareDistributi on" Stop-Service wuauserv Push-Location Set-Location -Path "HKLM:\SOFTWARE \Microsoft\Wind ows\CurrentVers ion\WindowsUpda te" Remove-ItemProp erty . -Name SUSclientid Remove-ItemProp erty . -Name SusClientIdVali dation Remove-ItemProp erty . -Name PingID Remove-ItemProp erty . -Name AccountDomainSi d Pop-Location Remove-Item -path $path -force -recurse Start-Service wuauserv Invoke-Command {wuauclt.exe /resetauthoriza tion /detectnow}
wuauclt.exe /resetauthorization /detectnow worked on Windows 2016. Thanks. :)
the line wuauclt.exe /resetauthorization /detectnow will work on all servers except 2016. In 2016 you will need the following line: usoclient.exe startscan Hopefully that helps.
Ping key will fail ACcountDomainSID will fail Those 2 have failed for me 100% across 2008R2/2012R2/2 016 However this has worked for me 100%. 1. Run Powershell as administrator 2. Run this command/bat. 3. Retry Windwows update. Once Windows Update updates the time of the last check to your current time, refresh WSUS Unassigned Computers. You will see your missing server. No need to reboot.
Thank you thank you THANK YOU! After much searching and no luck, I finally found this and it resolved the issue of my Windows 10 system not showing up in WSUS. 5/5 stars!
This script worked perfectly with my Windows Server 2012 R2, Thanks for the script.
Somebody has done this in windows 8 or 10? Im facing some problems at my office, the machines apply the GPO, but dont show on WSUS dashboard The script works for windows 7 fine, but any other version with no success
Thanks for script. Can we run this from Group Plicy? it will reset wsus id for every time this can be problematic?
You could run from GP but i don't recommend it. I would only run this when you have issues on individual machines Imaging a machine is generally what causes duplicate SID's. which is generally the problem people have and need this script for.