Another approach is making a Scheduled Task, which runs at startup with the following commands:
cmd.exe /c shutdown.exe -s -f -t 05 & schtasks.exe /delete /TN %path to scheduled Task% /f
Options
-f = force
-t ## = time to wait until shutdown
%path to scheduled Task% = the path to task \...\...\Name
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.