Windows Server Command Reference
Shortcut Key
Copy/Paste
CopyCTRL+C
PasteCTRL+V
Clipboard ManagerWIN+V
EmojiWIN+;
Account
LogoutWIN+L
Power State
Log Offlogoff
Log Off (Alternative)shutdown /l
Shutdownshutdown
Shutdown (w/ Reason)shutdown /d p:4:1
Shutdown (w/ Detailed Comment)shutdown /d p:4:1 /c "Comment"
Shutdown (w/ Reason)shutdown /e
Shutdown (w/ Timeout)shutdown /t 0
Shutdown (Force Applications to Close)shutdown /f
Abort Shutdownshutdown /a
Restartshutdown /r
Restart (to BIOS)shutdown /r /fw
Restart (to Boot Options)shutdown /r /o
Hibernateshutdown /h
Shutdown Reason Codes
- E = Expected
- U = Unexpected
- P = Planned
- C = Customer-Defined
| Type | Major | Minor | Title |
|---|---|---|---|
| U | 0 | 0 | Other (Unplanned) |
| E | 0 | 0 | Other (Unplanned) |
| E P | 0 | 0 | Other (Planned) |
| U | 0 | 5 | Other Failure: System Unresponsive |
| E | 1 | 1 | Hardware: Maintenance (Unplanned) |
| E P | 1 | 1 | Hardware: Maintenance (Planned) |
| E | 1 | 2 | Hardware: Installation (Unplanned) |
| E P | 1 | 2 | Hardware: Installation (Planned) |
| E | 2 | 2 | Operating System: Recovery (Unplanned) |
| E P | 2 | 2 | Operating System: Recovery (Planned) |
| P | 2 | 3 | Operating System: Upgrade (Planned) |
| E | 2 | 4 | Operating System: Reconfiguration (Unplanned) |
| E P | 2 | 4 | Operating System: Reconfiguration (Planned) |
| P | 2 | 16 | Operating System: Service pack (Planned) |
| 2 | 17 | Operating System: Hot fix (Unplanned) | |
| P | 2 | 17 | Operating System: Hot fix (Planned) |
| 2 | 18 | Operating System: Security fix (Unplanned) | |
| P | 2 | 18 | Operating System: Security fix (Planned) |
| E | 4 | 1 | Application: Maintenance (Unplanned) |
| E P | 4 | 1 | Application: Maintenance (Planned) |
| E P | 4 | 2 | Application: Installation (Planned) |
| E | 4 | 5 | Application: Unresponsive |
| E | 4 | 6 | Application: Unstable |
| U | 5 | 15 | System Failure: Stop error |
| U | 5 | 19 | Security issue (Unplanned) |
| E | 5 | 19 | Security issue (Unplanned) |
| E P | 5 | 19 | Security issue (Planned) |
| E | 5 | 20 | Loss of network connectivity (Unplanned) |
| U | 6 | 11 | Power Failure: Cord Unplugged |
| U | 6 | 12 | Power Failure: Environment |
| P | 7 | 0 | Legacy API shutdown |
Applications
Command Promptcmd
PowerShellpowershell
PowerShell ISEpowershell_ise
Calculatorcalc
Character Mapcharmap
Disk Cleanupcleanmgr
Disk Partition Managerdiskpart
File Explorerexplorer
Fontsfonts
Management Consolemmc
Malicious Software Removalmrt
System Configurationmsconfig
System Informationmsinfo32
Remote Desktopmstsc
Notepadnotepad
ODBC Data Source Administrator (64-Bit)C:\\windows\\system32\\odbcad32.exe
ODBC Data Source Administrator (32-Bit)C:\\windows\\sysWOW64\\odbcad32.exe
Windows Featuresoptionalfeatures
On-Screen Keyboardosk
Registry Editorregedit
Resource Monitorresmon
Shared Folder Wizardshrpubw
Windows Activationslui
Task Managertaskmgr
Accessibility Optionsutilman
Windows Versionwinver
Control Panel
Control Panelcontrol
Accessibility Optionscontrol access.cpl
Administrative Toolscontrol admintools
Add New Programscontrol appwiz.cpl,,1
Add/Remove Windows Componentscontrol appwiz.cpl,,2
Set Program Access & Defaultscontrol appwiz.cpl,,3
Display Properties (Themes, Desktop, Screensaver)control desktop
Display Properties (Color & Appearance)control color
Folder Optionscontrol folders
Fonts Listcontrol fonts
Keyboard Propertiescontrol keyboard
Mouse Propertiescontrol mouse
Network Connectionscontrol netconnections
Printers/Faxescontrol printers
Scheduled Taskscontrol schedtasks
Windows Updatecontrol update
Control Panel Files (.cpl)
Add/Remove Programsappwiz.cpl
Date/Time Propertiestimedate.cpl
Display Propertiesdesk.cpl
Internet Propertiesinetcpl.cpl
Keyboard Propertiesmain.cpl keyboard
Mouse Propertiesmain.cpl
Multimedia Propertiesmmsys.cpl
Security Centerwscui.cpl
Sound Propertiesmmsys.cpl sounds
System Propertiessysdm.cpl
Management Consoles (.msc)
Certificate Managercertmgr.msc
Component Servicescomexp.msc
Computer Managementcompmgmt.msc
Device Managerdevmgmt.msc
Disk Managementdiskmgmt.msc
Event Viewereventvwr.msc
Firewall Managementwf.msc
Shared Foldersfsmgmt.msc
Group Policy Editorgpedit.msc
Local Users and Groupslusrmgr.msc
Performance Monitorperfmon.msc
Resultant Set of Policyrsop.msc
Local Security Policysecpol.msc
Service Managerservices.msc
Task Schedulertaskschd.msc
Command Utilities
Explorer - C:\\
Explorer - Home Folder.
Explorer - Users Folder..
Disk Partition Managerdiskpart
System File Checkersfc /scannow
Windows Activationslmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx