For testing it's a real pain to wait for 'random' timeouts, so is there a confirmed way to force things.
Note that I'm watching TCP activity to prove connections using TCPView.
I'm interested in:
1. Force console to detect client:
Works fine if the client's Hardware credentials are reset:
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
@echo Triggering detection after resetting WSUS client identity
net stop wuauserv
net start wuauserv
wuauclt /resetauthorization /detectnow
2. Force Client to report
This can be triggered by wuauclt /detectnow but it's linked to a timer (probable reg key) and once run will not for another predetermined time (don't know what this is). How can one reset this timeout such to force connection and report immediately.
3. Force client to download.
Once WSUS authorises a patch, how to force the client to connect and detect this immediately?
Any thoughts more than welcome as usual ;-)
Bookmarks