SHUTDOWN /S /M \\RemoteMachine and windows updates?
Solution 1:
A windows machine will automatically install updates and restart (if necessary) in the installation schedule configured at the GPO.
Defaults are: Install updates 03AM every day, prompt user to restart or postpone.
You can define weekly installations, automatic restart and no postpone.
GPO Settings involved [Computer\Administrative Templates\Windows Components\Windows Update]:
- Configure automatic updates
- Auto download and schedule the install.
- Choose install day and time.
- Auto download and schedule the install.
- Allow Automatic Update immediate installation
- Delay Restart for Scheduled Installations
- Define the amount of time you want to give users before restart.
With that configuration, machines shall restart automatically without waiting for users.