Menu Close

Windows 11 Tools, Commands and Programs

Windows 11 Tools

Introduction

An overview of Windows 11 Tools, Commands and Programs.

Commands can be run from Win+R (Run), the Start menu search, Command Prompt, PowerShell or Windows Terminal. Some tools need an elevated (administrator) terminal. Availability depends on the edition: Home lacks gpedit.msc, secpol.msc and lusrmgr.msc.

Management consoles (MMC snap-ins)

Type these in Windows Key + R (Run) or the Start menu search.

CommandDescription
services.mscStart, stop and configure Windows services
devmgmt.mscDevice Manager: hardware and drivers
diskmgmt.mscDisk Management: partitions, volumes, drive letters
compmgmt.mscComputer Management: several snap-ins in one console
eventvwr.mscEvent Viewer: system, application and security logs
taskschd.mscTask Scheduler
lusrmgr.mscLocal Users and Groups (not available on Home edition)
gpedit.mscLocal Group Policy Editor (Pro, Enterprise, Education only)
secpol.mscLocal Security Policy (not available on Home edition)
perfmon.mscPerformance Monitor: counters and data collector sets
wf.mscWindows Defender Firewall with Advanced Security
certmgr.mscCertificates for the current user
certlm.mscCertificates for the local computer
fsmgmt.mscShared Folders: shares, sessions and open files
printmanagement.mscPrint Management (Pro and higher)
tpm.mscTPM Management
WmiMgmt.mscWMI Control
comexp.mscComponent Services (COM+ and DCOM)
rsop.mscResultant Set of Policy
virtmgmt.mscHyper-V Manager (when Hyper-V is enabled)
dsa.mscActive Directory Users and Computers (requires RSAT)
mmcBlank Microsoft Management Console for adding your own snap-ins

System and diagnostic tools (GUI)

Graphical tools you can launch from Win+R, Start or a terminal.

CommandDescription
taskmgrTask Manager (also Ctrl+Shift+Esc)
regeditRegistry Editor
msconfigSystem Configuration: boot options and startup services
msinfo32System Information: hardware, drivers and environment summary
dxdiagDirectX Diagnostic Tool: graphics, sound and display info
winverShows the Windows version and build number
resmonResource Monitor: live CPU, disk, network and memory use per process
perfmon /relReliability Monitor: crash and update history timeline
cleanmgrDisk Cleanup
dfrguiOptimize Drives (defrag and TRIM)
mdschedWindows Memory Diagnostic (runs at next reboot)
sysdm.cplSystem Properties: computer name, remote access, performance
SystemPropertiesAdvancedOpens the Advanced tab of System Properties directly (environment variables)
controlClassic Control Panel
netplwizAdvanced user accounts, including automatic sign-in settings
optionalfeaturesTurn Windows features on or off (Hyper-V, WSL, .NET, Sandbox)
verifierDriver Verifier Manager
sigverifFile Signature Verification
mrtMicrosoft Malicious Software Removal Tool
rstruiSystem Restore
systemresetReset this PC
recoverydriveCreate a recovery drive
sdcltBackup and Restore (Windows 7)
sluiWindows activation (slui 3 opens the product key dialog)
odbcad32ODBC Data Source Administrator
iexpressIExpress Wizard: build self-extracting installers
WindowsSandboxWindows Sandbox (Pro and Enterprise, when enabled)
dccwDisplay Color Calibration
cttuneClearType Text Tuner
DisplaySwitchProjection mode switcher (same as Win+P)

Control Panel applets (.cpl)

Classic Control Panel pages that still open directly.

CommandDescription
appwiz.cplPrograms and Features (uninstall programs)
ncpa.cplNetwork Connections: adapter settings
inetcpl.cplInternet Properties: proxy, certificates, security zones
main.cplMouse properties
mmsys.cplSound: playback and recording devices
powercfg.cplPower Options
intl.cplRegion and formats
timedate.cplDate and Time
firewall.cplWindows Defender Firewall (basic settings)
joy.cplGame Controllers
wscui.cplSecurity and Maintenance

Everyday apps and terminals

Built-in programs you can start by name.

CommandDescription
explorerFile Explorer
cmdCommand Prompt
powershellWindows PowerShell 5.1
pwshPowerShell 7 (only if installed separately)
wtWindows Terminal
notepadNotepad
mspaintPaint
calcCalculator
snippingtoolSnipping Tool
charmapCharacter Map
oskOn-Screen Keyboard
magnifyMagnifier
narratorNarrator screen reader
mstscRemote Desktop Connection client
msraWindows Remote Assistance
quickassistQuick Assist
fsquirtBluetooth File Transfer wizard

Networking commands

Run these in Command Prompt or PowerShell. Several need an elevated (admin) terminal for full output.

CommandDescription
ipconfigIP configuration. Useful switches: /all, /release, /renew, /flushdns, /displaydns
pingICMP echo test. -t runs continuously, -n sets the count
tracertShows the hops to a destination
pathpingCombines ping and tracert with packet loss statistics
netstatConnections and listening ports. -ano shows PIDs, -b shows the executable
nslookupDNS query tool
arpARP cache. arp -a lists entries
routeView or change the routing table (route print)
netshNetwork shell: netsh wlan, netsh interface, netsh advfirewall, netsh winsock reset
nbtstatNetBIOS over TCP/IP statistics
getmacLists MAC addresses
hostnamePrints the computer name
netnet use, net user, net share, net view, net start, net stop
curlHTTP and HTTPS client (built in)
sshOpenSSH client (built in)
scp / sftpOpenSSH file transfer clients
ssh-keygenGenerates SSH key pairs
telnetTelnet client (enable via Windows Features)
ftpLegacy FTP client
tftpTFTP client (enable via Windows Features)
nltestDomain trust and secure channel tests
w32tmWindows Time service configuration and diagnostics
certutilCertificate tool. Also hashes files: certutil -hashfile file SHA256
bitsadminManage BITS transfer jobs (deprecated)
pktmonBuilt-in packet capture and monitoring
dsregcmd /statusShows Entra ID (Azure AD) and hybrid join status

System information, processes and services

Command-line (Command-Prompt) tools for inspecting and managing the system.

CommandDescription
tasklistLists running processes. /svc shows services, /v is verbose
taskkillEnds a process: /PID, /IM, /F to force
systeminfoOS, hotfixes, hardware and uptime summary
whoamiCurrent user. /groups and /priv show more
verPrints the Windows version
driverqueryLists installed drivers
pnputilManage the driver store and devices
scService Control: query, start, stop, config, delete
schtasksCreate and manage scheduled tasks
wevtutilQuery and export event logs
eventcreateWrite a custom event log entry
typeperfWrite performance counter values to the console
logmanManage performance data collector sets
openfilesLists open files (needs the /local flag enabled)
queryquery user, query session, query process
qwinstaLists remote desktop sessions
msgSends a message to a user or session
tzutilView or set the time zone
msiexecWindows Installer: install, repair or uninstall MSI packages
wmicDeprecated and disabled by default in recent builds. Use Get-CimInstance instead
slmgrSoftware licensing: slmgr /xpr shows the activation expiry
wingetWindows Package Manager: install, upgrade and remove apps
wslWindows Subsystem for Linux management
sudoRun an elevated command from a normal terminal (Windows 11 24H2 and later, enable in Settings, For developers)

Disk, file system, backup and recovery

Maintenance and repair commands (Command Prompt). Run from an elevated terminal.

CommandDescription
sfc /scannowSystem File Checker: repairs protected system files
dismImage servicing. DISM /Online /Cleanup-Image /RestoreHealth repairs the component store
chkdskChecks a disk for errors (/f fixes, /r recovers bad sectors)
diskpartScriptable disk and partition management
defragDefragment or optimize drives from the command line
fsutilFile system utility (volume info, sparse files, quotas)
vssadminVolume Shadow Copy administration
wbadminBackup and restore from the command line
manage-bdeBitLocker management
bcdeditEdit boot configuration data
reagentcConfigure the Windows Recovery Environment
mountvolManage volume mount points
formatFormat a volume
convertConvert FAT32 to NTFS
label / volSet or show a volume label
cipherNTFS encryption. cipher /w:C: wipes free space
compactNTFS compression
takeownTake ownership of files
icaclsView and change file permissions
attribView and change file attributes
substMap a folder to a drive letter
fltmcList file system filter drivers

File handling and text utilities

Classic command interpreter commands and helpers (Command Prompt)

CommandDescription
dir, cd, copy, move, del, ren, md, rd, typeCore file and folder commands built into cmd
robocopyRobust file copy with mirroring, retries and logging
xcopyOlder recursive copy tool
tarCreate and extract tar and zip archives (built in)
expand / makecabExtract and create CAB archives
clipPipe output to the clipboard
whereLocates executables on the PATH
findstrSearch text with regular expressions
findSearch for a text string
morePage through output
sortSort lines of text
treeDraw a folder tree
fcCompare two files
compCompare files byte by byte
forfilesRun a command on each file matching a mask
doskeyCommand history and macros
setView or set environment variables for the current session
setxSet persistent environment variables
assoc / ftypeView or change file associations
timeoutWait for a number of seconds
choicePrompt for a key press in scripts
waitforWait for or send a signal
modeConfigure console or device settings
chcpShow or change the console code page
cscript / wscriptWindows Script Host (VBScript and JScript)
rundll32Call a function exported by a DLL
regsvr32Register or unregister DLLs

Security, users and policy

Account, credential and policy commands.

CommandDescription
regQuery and edit the registry from the command line
runasRun a program as another user
cmdkeyManage stored credentials
gpresultShows applied group policy (gpresult /r)
gpupdateRefreshes group policy (gpupdate /force)
seceditAnalyze and apply security templates
auditpolView and set audit policy
shutdownshutdown /s, /r, /t, /a to abort, /fw reboot to firmware
logoffLog off the current session
net userCreate, modify and list local user accounts
net localgroupManage local groups
windowsdefender:Opens the Windows Security app
MpCmdRun.exeDefender command-line scanner (C:\Program Files\Windows Defender)

PowerShell cmdlets

Run in PowerShell or Windows Terminal. Use Get-Help cmdletname -Examples for usage.

CommandDescription
Get-Process / Stop-ProcessList and end processes
Get-Service / Restart-ServiceList and control services
Get-WinEventQuery event logs
Get-ChildItemList files (alias dir, ls)
Get-ContentRead a file (alias cat, type). -Wait works like tail -f
Select-StringGrep-style text search
Get-CommandFind commands and their sources
Get-Help / Update-HelpBuilt-in help system
Get-ComputerInfoDetailed system information
Get-CimInstanceQuery WMI/CIM classes (replacement for wmic)
Get-HotFixInstalled updates
Get-Disk / Get-Volume / Get-PhysicalDiskStorage inventory and health
Get-NetTCPConnectionConnections and listening ports (netstat equivalent)
Get-NetIPAddress / Get-NetAdapterIP addresses and adapters
Get-NetFirewallRuleFirewall rules
Test-NetConnectionPing, traceroute and port test, e.g. -ComputerName host -Port 443
Resolve-DnsNameDNS lookups
Clear-DnsClientCacheFlush the DNS cache
Invoke-WebRequest / Invoke-RestMethodHTTP requests and API calls
Get-ScheduledTaskList scheduled tasks
Get-LocalUser / Get-LocalGroupMemberLocal accounts and group membership
Get-Acl / Set-AclFile and registry permissions
Get-AppxPackageInstalled Store (MSIX) apps
Get-WindowsOptionalFeatureList and toggle Windows features
Get-ExecutionPolicy / Set-ExecutionPolicyScript execution policy
Get-ItemPropertyRead registry values (e.g. HKLM:\SOFTWARE\…)
Get-PSDriveDrives, registry hives and other providers
Get-FileHashCompute file hashes
Get-CounterPerformance counters
Get-MpComputerStatus / Start-MpScanDefender status and scans
Start-ProcessLaunch programs (-Verb RunAs for admin)
Compress-Archive / Expand-ArchiveZip and unzip
Where-Object / Select-Object / Sort-Object / Measure-ObjectCore pipeline filters
Export-Csv / ConvertTo-JsonExport data

Run dialog shortcuts: folders and variables

Type these in Win+R or the File Explorer address bar.

CommandDescription
%appdata%Roaming application data
%localappdata%Local application data
%temp%Temporary files
%userprofile%Your user profile folder
%programdata%Shared application data
shell:startupStartup folder for the current user
shell:common startupStartup folder for all users
shell:sendtoThe Send To menu entries
shell:AppsFolderAll installed apps, including Store apps
shell:FontsInstalled fonts
shell:RecycleBinFolderRecycle Bin

Settings pages (ms-settings URIs)

Type these in Win+R to jump straight to a Settings page.

CommandDescription
ms-settings:Settings home
ms-settings:windowsupdateWindows Update
ms-settings:networkNetwork and internet
ms-settings:network-wifiWi-Fi
ms-settings:displayDisplay
ms-settings:bluetoothBluetooth and devices
ms-settings:aboutAbout (device specs and Windows version)
ms-settings:appsfeaturesInstalled apps
ms-settings:defaultappsDefault apps
ms-settings:startupappsStartup apps
ms-settings:storagesenseStorage
ms-settings:recoveryRecovery options
ms-settings:troubleshootTroubleshooters
ms-settings:privacyPrivacy and security
ms-settings:developersFor developers
ms-settings:optionalfeaturesOptional features

Related Posts