Group Policy Force Command • No Password
gpupdate /force && shutdown /r /t 0
If you need a command to run or at a specific time (rather than just at boot/login), use Scheduled Tasks . group policy force command
The /force switch changes the behavior significantly. gpupdate /force && shutdown /r /t 0 If