package to start windows update??
All our computers are set up for to automatic updates via WSUS during the wee hours of the morning.
However some computers or notebooks aren't turned on often enough for this, we want to tell them to start doing updates regardless what time it is.
I created a package with this command:
c:\windows\system32\wuauclt.exe /detectnow /updatenow
This doesn't seem to do anything, why??
Running it with administrator account/rights via PDQ Deploy.
What am I doing wrong here??
Should it be a batch file or something else??
PDQ says it runs but I don't see any evidence of anything happening on the computer itself as I watch a test computer in my room.
Thank you, Tom
Comments
Are you running that command in a Command step?
Yes.
I created a package with this command:
c:\windows\system32\wuauclt.exe /detectnow /updatenow
It looks like wuauclt.exe isn't supposed to return any output. https://social.technet.microsoft.com/Forums/windows/en-US/3a135ae3-3e69-4086-802e-2a7b59460b16/wuauclt-and-other-questions-about-wsus?forum=winserverwsus
In command step enter below code, and run as logged on user.
It Works for me.