The answer is that WUSUCLT has been replaced with usoclient:
How can I tell if `wuauclt` is doing anything?
Hi All,
W10Pro-21H2
I have a customer who need to have their updates and reboots done at a specific time.
How can I tell is "wuauclt" has actually done something? All it does it return to the next line on the command line. I can ever give it junk on the command line and it does not error out or complain.
Many thanks,
-T
rem echo off
rem run a forced M$ Update and rebboot
rem References:
rem https://www.itechtics.com/run-windows-update-cmd/
rem https://stackoverflow.com/questions/2768125/start-a-disabled-windows-service
rem https://www.tenforums.com/tutorials/4499-start-stop-disable-services-windows-10-a.html
rem https://bobr.pw/en/it/windows/wuauclt-exe-keys-command-line-parameters
rem https://superuser.com/questions/690287/command-prompt-in-administrator-mode-doesnt-see-mapped-drives
rem net use K: \\rn6\CDs
sc.exe config wuauserv start= demand
net start wuauserv
wuauclt /detectnow /updatenow
net stop wuauserv
sc.exe config wuauserv start= disabled
rem shutdown /r /f /t 00
3 answers
Sort by: Most helpful
-
-
Adam J. Marshall 9,386 Reputation points MVP
2021-12-27T04:43:43.867+00:00 Stop using old, outdated commands.
https://www.ajtek.ca/wsus/does-wuauclt-exe-detectnow-reportnow-work/
Your best bet is to change the way you think about updates - https://www.ajtek.ca/wsus/how-to-setup-manage-and-maintain-wsus-part-4-creating-your-gpos-for-an-inheritance-setup/
Setup active hours, tell it to install daily at a time when the systems will be on, and the systems will only install updates WHEN the updates have been approved and downloaded in WSUS.
If you DON'T want them to update until a specific day, don't approve the updates until that day.
Windows systems will check in, download, install, and restart outside of active hours.
-
Adam J. Marshall 9,386 Reputation points MVP
2021-12-28T05:07:35.803+00:00 The download and the install should NOT affect anything - you SHOULD be able to force a restart at a specific time using Scheduled install time: and set it to outside the active hours ALONG with Scheduled install day: 0 - Every day, 4 - Auto download and schedule the install, Every week Enabled, and Allow Automatic Updates immediate installation Enabled.
I have this for my servers on my automatic ring and it works well.
Approve the updates and watch as the systems restart.