Skip to content

Instantly share code, notes, and snippets.

@SARDONYX-sard
Last active July 29, 2022 18:30
Show Gist options
  • Save SARDONYX-sard/85df7db16cf9f0603ecdf211a8f2ad24 to your computer and use it in GitHub Desktop.
Save SARDONYX-sard/85df7db16cf9f0603ecdf211a8f2ad24 to your computer and use it in GitHub Desktop.
Useful shortcut command on Windows10, 11
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Start-Process C:\Windows\system32\rundll32.exe sysdm.cpl, EditEnvironmentVariables -Verb runas
@SARDONYX-sard
Copy link
Author

  • Shutdown after 1 hour
C:\Windows\System32\shutdown.exe -s -f -t 3600

@SARDONYX-sard
Copy link
Author

Cancel shutdown

C:\Windows\System32\shutdown.exe -a

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