Long story short - I use a couple scripts that I run accross our network, and force client machines to check into WSUS when we're having an issue with them.
No... seriously - it's a long story on why we do that, so I'll just leave it as that. :)
So, in short - two of the scripts that I shoot accross the network are the following:
Reg Add "HKLM\Software\Microsoft\W
indows\Cur
rentVersio
n\WindowsU
pdate\Auto
Update" /v NextDetectionTime /t REG_SZ /d "2008-06-03 14:45:00" /f > Nul
Reg Add "HKLM\Software\Microsoft\W
indows\Cur
rentVersio
n\WindowsU
pdate\Auto
Update" /v ScheduledInstallDate /t REG_SZ /d "2008-06-03 14:45:00" /f > Nul
And that will force the units to check into WSUS today (3 Jun) at 14:45.
Would somebody be able to point me in the right direction for making this script dynamic? Meaning, have it check what the current time is - and say add 10 minutes. Currently, I have to edit the script every time I want to deploy it.
Thanks so much for always helping me.
Start Free Trial