Windows CMD Command Master List (2026 Edition) – Complete Internal, Networking, Security & Admin Commands Guide
If you truly want to master Windows from a cybersecurity and system administration perspective, you must master Command Prompt. While many users rely on graphical interfaces, real control begins inside CMD. Whether you are a security analyst, ethical hacker, system administrator, or power user, understanding Windows CMD commands gives you precision, speed, and deeper visibility into the operating system.
In this complete Windows CMD Command Master List, I will walk you through every command from internal commands to networking, disk management, security auditing, performance logging, and recovery tools. This guide is fully structured for clarity, learning, and long-term reference.
Table of Contents
- 1. CMD Internal Commands
- 2. System & Administration Commands
- 3. Networking Commands
- 4. Disk & File System Commands
- 5. Boot & Recovery Commands
- 6. Security & Audit Commands
- 7. Performance & Logging Commands
- 8. Printer & Device Commands
- 9. Utilities & Miscellaneous Commands
- Frequently Asked Questions
1. CMD Internal Commands
These commands are built directly into Command Prompt and do not require external executable files.
- assoc – Displays or modifies file extension associations.
- break – Enables or disables extended CTRL+C checking.
- call – Calls another batch file from within a script.
- cd – Changes the current directory.
- chdir – Same function as cd.
- chcp – Displays or sets the active code page.
- cls – Clears the Command Prompt screen.
- color – Changes console text and background colors.
- copy – Copies files from one location to another.
- date – Displays or sets the system date.
- del – Deletes files.
- erase – Same as del.
- dir – Lists directory contents.
- echo – Displays messages or turns command echoing on/off.
- endlocal – Ends localization of environment changes in batch.
- exit – Closes the Command Prompt window.
- for – Executes a command for each item in a set.
- ftype – Displays or modifies file types used by assoc.
- goto – Directs batch file execution to a labeled line.
- if – Performs conditional processing in batch scripts.
- md – Creates a directory.
- mkdir – Same as md.
- mklink – Creates symbolic links.
- move – Moves files from one location to another.
- path – Displays or sets executable search paths.
- pause – Pauses batch execution until key press.
- popd – Restores previous directory saved by pushd.
- prompt – Changes command prompt appearance.
- pushd – Saves directory and switches to another.
- rd – Removes a directory.
- rmdir – Same as rd.
- ren – Renames a file.
- rename – Same as ren.
- set – Displays or sets environment variables.
- setlocal – Begins localization of environment changes.
- shift – Shifts batch parameters.
- start – Opens a program in a new window.
- time – Displays or sets system time.
- title – Sets the CMD window title.
- type – Displays content of a text file.
- ver – Shows Windows version.
- verify – Verifies file write operations.
- vol – Displays disk volume label and serial number.
2. System & Administration
- systeminfo – Displays detailed OS and hardware information.
- tasklist – Lists currently running processes.
- taskkill – Terminates a running process.
- shutdown – Shuts down, restarts, or logs off the system.
- logoff – Logs off the current user.
- whoami – Shows the current logged-in user.
- hostname – Displays computer name.
- gpupdate – Refreshes Group Policy settings.
- gpresult – Displays applied policy results.
- control – Opens Control Panel.
- services.msc – Opens Services Manager.
- compmgmt.msc – Opens Computer Management console.
- eventvwr – Opens Event Viewer.
- perfmon – Opens Performance Monitor.
- resmon – Opens Resource Monitor.
- reg – Command-line registry editor.
- regedit – Opens Registry Editor.
- sc – Service control command.
- schtasks – Manages scheduled tasks.
- runas – Runs command as different user.
- wmic – Windows Management Instrumentation tool.
- msconfig – System configuration utility.
- msinfo32 – System information viewer.
- taskmgr – Opens Task Manager.
- cleanmgr – Disk Cleanup tool.
- devmgmt.msc – Device Manager.
- printmanagement.msc – Printer management console.
- lusrmgr.msc – Local Users and Groups manager.
- secpol.msc – Local Security Policy editor.
- gpedit.msc – Group Policy Editor.
- netplwiz – User account settings manager.
- useraccountcontrolsettings – UAC configuration window.
3. Networking Commands
- ipconfig – Displays IP configuration details.
- ping – Tests connectivity to a host.
- tracert – Traces route to destination.
- pathping – Advanced traceroute with packet analysis.
- nslookup – Queries DNS servers.
- netstat – Shows active connections and ports.
- route – Displays or modifies routing table.
- arp – Displays or modifies ARP cache.
- nbtstat – NetBIOS over TCP/IP statistics.
- net – Manages network resources.
- netsh – Advanced network configuration shell.
- getmac – Displays MAC address.
- telnet – Telnet client utility.
- ftp – FTP client tool.
- tftp – Trivial FTP client.
- mstsc – Remote Desktop client.
- rasdial – Manages dial-up or VPN connections.
- quser – Lists logged-in users.
- qwinsta – Displays session information.
- tscon – Connects to remote session.
- w32tm – Windows Time service configuration.
4. Disk & File System
- chkdsk – Checks disk for errors.
- format – Formats a drive.
- diskpart – Disk partition manager.
- mountvol – Manages volume mount points.
- label – Creates or modifies volume label.
- defrag – Defragments hard drives.
- compact – Compresses files.
- cipher – Encrypts or decrypts files.
- robocopy – Advanced robust file copy tool.
- xcopy – Extended file copy command.
- attrib – Changes file attributes.
- takeown – Takes ownership of files.
- icacls – Manages file permissions.
- fsutil – Advanced file system utility.
- openfiles – Displays open shared files.
- subst – Maps a path to a drive letter.
5. Boot & Recovery
- bcdedit – Edits boot configuration data.
- bootrec – Repairs boot records.
- reagentc – Configures Windows Recovery Environment.
- sfc – Scans and repairs system files.
- dism – Services Windows images.
6. Security & Audit
- net user – Manages user accounts.
- net localgroup – Manages local groups.
- net accounts – Displays account policies.
- net share – Manages shared folders.
- net use – Connects to network shares.
- net session – Displays active sessions.
- net view – Lists network resources.
- secedit – Security configuration tool.
- auditpol – Manages audit policies.
- klist – Displays Kerberos tickets.
- certutil – Certificate management tool.
- cipher – Encrypts files using EFS.
- whoami /priv – Shows user privileges.
7. Performance & Logging
- typeperf – Displays performance counters.
- logman – Manages performance logs.
- lodctr – Loads performance counters.
- wevtutil – Event log utility.
- wbadmin – Backup and restore utility.
- powercfg – Manages power configuration.
8. Printer & Devices
- print – Prints text files.
- printui – Printer user interface tool.
- pnputil – Manages driver packages.
- driverquery – Lists installed drivers.
- joy.cpl – Opens game controller settings.
9. Utilities & Miscellaneous
- calc – Opens Calculator.
- notepad – Opens Notepad.
- osk – On-screen keyboard.
- magnify – Magnifier tool.
- snippingtool – Screenshot utility.
- mspaint – Opens Paint.
- explorer – Opens File Explorer.
- clip – Copies output to clipboard.
- choice – Prompts user selection.
- iexpress – Creates self-extracting packages.
- tzutil – Manages time zones.
- bitsadmin – Background Intelligent Transfer tool.
- wbemtest – WMI testing tool.
- odbcconf – Configures ODBC drivers.
- lpksetup – Installs language packs.
- fsquirt – Bluetooth file transfer wizard.
Related Cybersecurity Posts
- Port Forwarding Explained: Uses, Security Risks & Best Tunneling Services (2026)
- 100+ Cybersecurity Roles Explained: The Complete 2026 Career Roadmap
- Government & PSU Cybersecurity Jobs in India: Official Career Links Guide (2026)
- The Ultimate Guide to Windows CMD Commands for Network Troubleshooting & Security
- What is Network Topology? Physical & Logical Types Explained with Bus, Star, Mesh & More
- What is a Router? Types, Functions & Security Explained Clearly
- What is a Computer Network? NIC, Hub, Switch (L1, L2, L3) Explained Clearly
- P2P vs Client-Server Model: The Core Difference Every IT Student Must Know
- What is Internetworking? How the Entire Internet Connects and Works
- What is Networking? LAN, WAN, Devices, Security & Technologies Explained
- What is Network in Cyber Security? The Foundation Every IT Student Must Know
- What is IANA? The Hidden Authority Controlling the Internet’s 65,536 Ports
- AnyDesk Protocol Explained: Ports 7070 & 6568, Encryption Model, and Security Risks
- TeamViewer Protocol Explained: Ports, Encryption, Uses & Security Risks
- IRC Protocol Explained: Why It Still Matters in Cyber Security
- X11 Protocol Explained: How Remote Linux GUIs Work and Why It Matters
- VNC Server Protocol Explained: Uses, Ports, Risks, and Security Best Practices
Frequently Asked Questions
1. Why should cybersecurity professionals learn CMD?
Because many security investigations, incident response tasks, and penetration testing activities rely on command-line tools for speed and deeper system visibility.
2. Is CMD still relevant in 2026?
Yes. Even with PowerShell available, CMD remains lightweight, fast, and widely used in troubleshooting and scripting environments.
3. Which CMD commands are most important for networking?
ipconfig, ping, tracert, netstat, nslookup, netsh, and route are essential for network troubleshooting and security analysis.
4. What commands help in malware investigation?
tasklist, netstat, systeminfo, wmic, schtasks, and whoami /priv are commonly used during incident response.
5. How can I practice CMD safely?
Use a virtual machine environment and practice commands in a lab setup to avoid damaging production systems.
Final Thoughts
Mastering Windows CMD is not about memorizing commands. It is about understanding how Windows works under the hood. When you can manage services, inspect processes, audit security policies, and troubleshoot networks directly from Command Prompt, you move from being a user to becoming a system operator.
Bookmark this Windows CMD Command Master List and keep practicing. The command line rewards those who respect it.









