Essential Windows CMD Commands Every IT Technician Should Know
The Windows Command Prompt is still one of the most useful tools for IT support and system administration. With a few simple commands, technicians can quickly troubleshoot network, system, storage, and service-related issues.
🌐 Network Troubleshooting
ipconfig /allDisplays detailed IP, DNS, gateway, and adapter information.
ping 8.8.8.8Quickly checks basic network connectivity.
tracert <hostname>Shows the route taken to reach a destination.
pathping <hostname>Combines ping and traceroute information to help identify packet loss.
netstat -anoDisplays active network connections and their associated process IDs.
🔧 System & File Management
systeminfoDisplays detailed Windows system information.
whoami /allShows the current user's identity, groups, and privileges.
sfc /scannowScans Windows system files and attempts to repair corrupted files.
DISM /Online /Cleanup-Image /RestoreHealthHelps repair the Windows component store.
robocopy <src> <dst>Provides reliable file and folder copying.
⚙️ Processes & Services
tasklistLists currently running processes.
taskkill /PID <id> /FForcefully terminates a process using its PID.
sc queryDisplays Windows service information.
sc stop <service>
sc start <service>Stops or starts a Windows service.
🌐 DNS Troubleshooting
ipconfig /flushdnsClears the local DNS resolver cache.
ipconfig /displaydnsDisplays cached DNS records.
nslookup <domain>Checks DNS resolution for a domain.
💾 Disk & Storage
chkdsk C: /scanScans the drive for file-system problems.
diskpartOpens the Windows disk-management command-line utility.
Inside DiskPart, commonly used commands include:
list disk
list volume🔐 Remote Access & Network Shares
mstscOpens Remote Desktop Connection.
net use \\<pc>\C$Connects to an administrative network share when permissions allow.
net use * /deleteRemoves existing network-share connections.
Final Thoughts
You don't need dozens of commands to handle everyday Windows troubleshooting. Keeping these essential CMD commands handy can help IT technicians diagnose connectivity problems, check system health, manage services, and investigate storage issues much faster.
Tip: Use Administrator Command Prompt when a command requires elevated permissions, and replace placeholders such as <hostname>, <domain>, and <service> with the appropriate values.
