Skip to content

Instantly share code, notes, and snippets.

@csdy
Last active September 5, 2022 14:35
Show Gist options
  • Save csdy/62549dc2839360644aa2cdee4739bb33 to your computer and use it in GitHub Desktop.
Save csdy/62549dc2839360644aa2cdee4739bb33 to your computer and use it in GitHub Desktop.
Windows Server Management Cheat Sheet

Shortcut Keys

Copy/Paste

Copy

CTRL+C

Paste

CTRL+V

Clipboard Manager

WIN+V

Emoji

WIN+;

Account

Logout

WIN+L

Power State

Log Off

logoff

Log Off (Alternative)

shutdown /l

Shutdown

shutdown

Shutdown (w/ Reason) See list of reason codes below

  • p = Planned
  • u = User-Defined
  • Undefined = Unexpected
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 Shutdown

shutdown /a

Restart

shutdown /r

Restart (to BIOS)

shutdown /r /fw

Restart (to Boot Options)

shutdwon /r /o

Hibernate

shutdown /h

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 Prompt

cmd

PowerShell

powershell

PowerShell ISE

powershell_ise

Calculator

calc

Character Map

charmap

Disk Cleanup

cleanmgr

Disk Partition Manager

diskpart

File Explorer

explorer

Fonts

fonts

Management Console

mmc

Maclicious Software Removal

mrt

System Configuration

msconfig

System Information

msinfo32

Remote Desktop

mstsc

Notepad

notepad

ODBC Data Source Administrator (64-Bit)

C:\windows\system32\odbcad32.exe

ODBC Data Source Administrator (32-Bit)

C:\windows\sysWOW64\odbcad32.exe

Windows Features

optionalfeatures

On-Screen Keyboard

osk

Registry Editor

regedit

Resource Monitor

resmon

Shared Folder Wizard

shrpubw

Windows Activation

slui

Task Manager

taskmgr

Accessibility Options

utilman

Windows Version

winver

Control Panel

Control Panel

control

Accessibility Options

control access.cpl

Administrative Tools

control admintools

Add New Programs

control appwiz.cpl,,1

Add/Remove Windows Components

control appwiz.cpl,,2

Set Program Access & Defaults

control appwiz.cpl,,3

Display Properties (Themes, Desktop, Screensaver)

control desktop

Display Properties (Color & Appearance)

control color

Folder Options

control folders

Fonts List

control fonts

Keyboard Properties

control keyboard

Mouse Properties

control mouse

Network Connections

control netconnections

Printers/Faxes

control printers

Scheduled Tasks

control schedtasks

Windows Update

control update

Add/Remove Programs

appwiz.cpl

Date/Time Properties

timedate.cpl

Display Properties

desk.cpl

Internet Properties

inetcpl.cpl

Keyboard Properties

main.cpl keyboard

Mouse Properties

main.cpl

Multimedia Properties

mmsys.cpl

Security Center

wscui.cpl

Sound Properties

mmsys.cpl sounds

System Properties

sysdm.cpl

Command Utilities

Explorer - C:

\

Explorer - Home Folder

.

Explorer - Users Folder

..

Disk Partition Manager

diskpart

System File Checker

sfc /scannow

Windows Activation

slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Management Consoles

Certificate Manager

certmgr.msc

Component Services

comexp.msc

Computer Management

compmgmt.msc

Device Manager

devmgmt.msc

Disk Management

diskmgmt.msc

Event Viewer

eventvwr.msc

Firewall Management

wf.msc

Shared Folders

fsmgmt.msc

Group Policy Editor

gpedit.msc

Local Users and Groups

lusrmgr.msc

Performance Monitor

perfmon.msc

Resultant Set of Policy

rsop.msc

Local Security Policy

secpol.msc

Service Manager

services.msc

Task Scheduler

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