Technical Anshu
Tutorials Blog
⌨️ CMD and Run Commands

60 Windows Commands You Need to Know for PC Mastery

Most Windows problems can be checked in under a minute — if you know the right command. These are the 60 commands a working IT technician actually uses, grouped by job, so you never waste time hunting through menus again.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 6 minute video, lifetime cheat sheet
🎥 Watch the full video — all 60 commands in one toolkit script, step-by-step

Every technician has the same problem: the command is on the tip of your tongue, but the exact words will not come. The fix is not a better memory — it is a short, organised list. Below are the essential Windows commands grouped by the job they do: system information, system tools, network, disk, repair and speed. Two kinds of commands appear here: CMD commands, typed in Command Prompt, and Run commands, typed in the Run box (Windows + R). Open Command Prompt as Administrator for the repair and disk commands — without admin rights, several of them will simply refuse to run.

Command Prompt — the commands that answer most questions
C:\Users\Admin> ipconfig IPv4 Address . . . . . : 192.168.1.10 Default Gateway . . . : 192.168.1.1 C:\Users\Admin> systeminfo | findstr /C:"Total Physical Memory" Total Physical Memory: 16,384 MB C:\Users\Admin> sfc /scannow Beginning system scan. This process will take some time.

👆 Three commands, three instant answers — your IP address, your RAM size and a Windows file health scan. Values shown are from an example PC.

1

System Information Commands — Know the PC in Seconds

Before fixing anything, a technician first learns what machine he is standing in front of. These commands print the full picture without opening a single window:

  1. systeminfo — full report: Windows version and build, install date, RAM, processor, BIOS and network cards
  2. msinfo32 — System Information window with even deeper hardware detail (Run command)
  3. dxdiag — DirectX report: graphics card, display and sound details, perfect for gaming and driver questions
  4. hostname — the computer name, needed for network and office support work
  5. ver — the Windows version line, for a quick check
  6. whoami — which user account you are actually signed in as

Need only one line from a long report? Pipe it through findstr, for example systeminfo | findstr /C:"Total Physical Memory".

2

System Tools Through the Run Box — No Menu Hunting

Half of Windows troubleshooting lives inside tools that are buried three menus deep. The Run box opens every one of them directly:

  1. msconfig — System Configuration: startup control, boot options and Safe Mode
  2. services.msc — every Windows service: start, stop and restart the one that is stuck
  3. eventvwr — Event Viewer: the log where Windows records errors, crashes and warnings
  4. devmgmt.msc — Device Manager, for driver problems and unknown devices
  5. diskmgmt.msc — Disk Management: partitions, drive letters and new disks
  6. appwiz.cpl — Programs and Features, to uninstall software properly
  7. ncpa.cpl — Network Connections: adapters, disable and enable, IP settings
  8. control — the classic Control Panel, still faster for some jobs
  9. regedit — Registry Editor. Powerful and unforgiving — export a backup before changing anything
  10. taskmgr — Task Manager, now also available with Ctrl + Shift + Esc
3

Network Commands — ipconfig and Its Team

When the internet misbehaves, these commands tell you exactly where the chain breaks — PC, router or internet provider:

  1. ipconfig — your IP address, subnet mask and default gateway at a glance
  2. ipconfig /all — the complete picture: MAC address, DNS servers, DHCP status
  3. ping 192.168.1.1 — tests the router (replace with your gateway). Replies mean the local network is alive
  4. ping 8.8.8.8 — tests the raw internet, bypassing DNS completely
  5. tracert google.com — shows every hop to a website and where the journey stops
  6. nslookup google.com — asks the DNS server directly; failure here means a DNS problem, not a cable problem
  7. netstat -ano — every connection your PC is making, with the process ID behind it
  8. arp -a — devices your PC has seen on the local network, with their MAC addresses

The classic test order: ping the gateway, then ping 8.8.8.8, then nslookup a website. The first failure in that chain is your problem.

4

Disk and Repair Commands — The Heavy Tools

These are the commands technicians reach for when Windows itself is damaged. All of them need an Administrator Command Prompt:

  1. sfc /scannow — System File Checker: scans protected Windows files and repairs the corrupt ones from its cache
  2. DISM /Online /Cleanup-Image /RestoreHealth — repairs the Windows image itself; run this first when SFC reports it cannot fix some files
  3. chkdsk C: /f — checks the drive file system and fixes errors; on the C drive it schedules the check for the next restart
  4. cleanmgr — Disk Cleanup, the safe built-in junk remover
  5. rstrui — System Restore: roll Windows back to a date when it worked
  6. mdsched — Windows Memory Diagnostic: schedules a RAM test on the next boot

Honest order of work: DISM first, then SFC, then chkdsk if the disk itself is suspected. Running them in the wrong order wastes half an hour.

5

Speed, Cleanup and Power Commands

The last group keeps a PC fast and gives you control over shutdown behaviour:

  1. %temp% in the Run box — opens the temp folder; select all and delete (skip files Windows says are in use)
  2. temp and prefetch — the other two junk locations. Prefetch deletion is debated: it rebuilds itself, so the gain is small — the honest win is the temp folders
  3. shell:startup — the Startup folder; anything sitting here launches at every sign-in
  4. mrt — Microsoft Malicious Software Removal Tool, a free built-in scanner
  5. powercfg /batteryreport — a full battery health report on laptops, saved as an HTML file
  6. shutdown /s /t 3600 — shutdown in one hour; shutdown /a cancels it
  7. slmgr /xpr — shows whether Windows is permanently activated
  8. w32tm /resync — forces the clock to sync with the time server
6

The Shortcut That Beats Memory — A Toolkit Script

Here is the honest secret from the video: no technician memorises 60 commands. They keep them in one script or one text file. The video shows a ready-made toolkit script that collects these commands behind a simple menu — run it, pick a number, and the right tool opens or the right command runs, with no typing and nothing to forget.

  1. Keep the script or list on your pen drive and on every PC you maintain
  2. Right-click and open it in Notepad first — read what each line does before running anything
  3. Run it as Administrator so the repair commands work
  4. Add your own most-used commands over time — your list should grow with your work

Watch the video to see the script in action and how each section is organised.

🛑 One honest warning: commands are powerful. diskpart, regedit edits and chkdsk /f on a failing drive can all do harm in the wrong moment. Read what a command does before pressing Enter, and back up important data before disk and registry work — a command has no undo button.

🎥 Watch the Complete Video

All 60 commands organised in one toolkit script — the full walkthrough, live.

▶️ Watch Full Video
❓ Frequently Asked Questions

Do I need to memorise all 60 commands?

No — and professionals do not either. Learn the daily ten (ipconfig, ping, msconfig, services.msc, appwiz.cpl, ncpa.cpl, sfc, cleanmgr, taskmgr and the Run box itself) and keep the full list in a text file or toolkit script on your pen drive, exactly as shown in the video.

What is the difference between CMD commands and Run commands?

CMD commands run inside Command Prompt and usually print information or perform a repair, like ipconfig or sfc /scannow. Run commands are typed in the Run box (Windows key + R) and open a tool or window, like services.msc or msconfig. Many fix guides mix both, which is why one combined list is so useful.

Why do some commands say Access is denied?

Those commands change system files, disks or services, so Windows protects them. Right-click Command Prompt and choose Run as administrator, approve the prompt, and run the command again. If it still refuses on an office PC, an IT policy is blocking it — that is the organisation protecting its machines, not a fault.

This guide is based on the Technical Anshu 60 Windows Commands video • Stuck on any step? Ask in the video comments — you will get a reply there 🙏