opus-nt/tweaks/ten/post-setup script - disable update reboot/wim/Windows/Setup/Scripts/opus/disable update reboot.cmd

4 lines
255 B
Batchfile
Raw Normal View History

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"