Remotely force WSUS detect
I had some machines that just weren’t updating in WSUS. The first thing I knew I needed to do was get them to at least manually kick at the WSUS server and show up in the list so I could track them.
I can’t walk over to the machines and do this since we are a 24/7 shop, so I searched for a way to do it remotely. There was the normal commandline rtoutine that I learned, but then I came across this script.
strComputer = inputbox(“Enter a computer name to run WUA detectnow”,”Invoke detectnow”)
if strComputer = “” then wscript.quit
on error goto 0
Set autoUpdateClient = CreateObject(“Microsoft.Update.AutoUpdate”,strComputer)
AutoUpdateClient.detectnow()
wscript.echo “All done.”
Save that as WSUS.vbs, or whatever your heart desires, and let it do all the hard work for you.










