opus-nt/tweaks/post-setup script - disable update reboot/wim/opus-nt-setupcomplete/scripts/disable update reboot.bat
2019-10-06 23:22:06 +02:00

3 lines
254 B
Batchfile

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"