Post

Windows Cheat Sheet

A quick reference for Windows tools and commands used for troubleshooting and system management.

Windows Cheat Sheet

GUI

ExecutableNamePurpose
mmc.exeMicrosoft Management ConsoleLaunch ā€˜Device Manager’, ā€˜Group Policy Editor’, ā€˜Services’, ā€˜Task Scheduler’
devmgmt.mscDevice ManagerView and manage device hardware settings and driver software installed on your computer
gpedit.mscGroup Policy EditorEdit the local Group Policy Objects stored on a computer
services.mscServicesStart, stop, and configure Windows services
taskschd.exeTask SchedulerSchedule computer tasks to run automatically
lusrmgr.mscLocal user managerManage local users and groups
systempropertiesadvancedSystem properties advancedManage hostname, domain, workgroup

CLI

CommandPurpose
dism /Online /Cleanup-image /RestorehealthScan the image for component store corruption and perform repair operations automatically
sfc /scannowScans integrity of all protected system files and repairs files with problems when possible
shutdown -t 0 -r -oWindows Recovery
shutdown -t 0 -r -fwWindows UEFI/BIOS
netsh wlan show profiles name='SSID' key=clearView saved WiFi password
netsh interface ipv4 set addressSet adapter IP address
netsh interface ipv4 show interfacesList interface status
oobe\bypassnroPress Shift + F10 within Windows 11 installer to launch terminal and skip Microsoft account requirement with this command

Powershell

CommandPurpose
Get-SmbConnectionList SMB network shares more reliably than via net use
  • Eject optical disc tray: powershell (New-Object -com "WMPlayer.OCX.7").cdromcollection.item(0).eject()
This post is licensed under CC BY 4.0 by the author.