Skip to content

Instantly share code, notes, and snippets.

@NicHub
Last active March 4, 2023 11:01
Show Gist options
  • Save NicHub/9499ddd5d39a436532fa3edb1b0a4c00 to your computer and use it in GitHub Desktop.
Save NicHub/9499ddd5d39a436532fa3edb1b0a4c00 to your computer and use it in GitHub Desktop.
Windows tricks

WINDOWS TRICKS

Most of the commands below can be run from the “Run Box” with the shortcuts WIN+R or WIN+E CTRL+L. To run the commands with admin privileges, hit Ctrl+Shift+Enter after typing them.

SHUTDOWN COMPUTER

shutdown /p

OPEN DEVICE MANAGER

devmgmt.msc

OPEN TASK MANAGER (CTRL+SHIFT+ESC)

taskmgr

OPEN CMD

cmd (+ Ctrl+Shift+Enter for admin privileges)

OPEN POWERSHELL

powershell (+ Ctrl+Shift+Enter for admin privileges)

KILL A TASK

taskkill /im filename.exe /t /f

OPEN FONT DIRECTORY

%WINDIR%/Fonts
shell:fonts
%CSIDL_FONTS%

OPEN USER DIRECTORY

%HOMEPATH%
%USERPROFILE%

OPEN 64 BIT PROGRAM FILES DIRECTORY (x64)

%PROGRAMFILES%

OPEN 32 BIT PROGRAM FILES DIRECTORY (x86)

%PROGRAMFILES(X86)%

GET SYSTEM INFORMATION

msinfo32

OPEN “OPTIONAL FEATURES” WINDOW

OptionalFeatures.exe

OPEN WINDOWS EXPLORER

WIN+E

SHOW DESKTOP

WIN+D

SHOW SETTINGS

WIN+I

LOCK SCREEN

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