opus-nt/tweaks/post-setup script - disable update reboot/wim/opus-nt-setupcomplete/scripts/disable update reboot.bat

3 lines
254 B
Batchfile
Raw Normal View History

2019-10-06 21:22:06 +00:00
schtasks /change /tn "\Microsoft\Windows\UpdateOrchestrator\Reboot" /disable >nul
echo. >"%windir%\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot"
echo y| cacls "%windir%\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot" /D "SYSTEM"