Skip to content

Instantly share code, notes, and snippets.

@webvictim
Created October 24, 2015 12:52
@echo off
SET logfile="wu_reboot_log.txt"
echo %date% %time% >> %logfile%
schtasks /change /disable /tn "\Microsoft\Windows\UpdateOrchestrator\Reboot" >> %logfile%
echo. >> %logfile%
@chid
Copy link

chid commented Aug 31, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment