Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@echo Creates a scheduled task to run the ChangeActiveHours.bat file to prevent auto-restarts in Win10
@echo Usage: CreateTaskChangeActiveHours.bat /ru "ComputerName\Username" /rp
@schtasks /create /xml "ChangeActiveHours.xml" /tn ChangeActiveHours %1 %2 %3 %4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment