This standard operating procedure is part of the practical *Windows & IT Support Quick Fix* series published by Toan Nguyen (Toan Nguyen IT OZ). Connect with over 20+ years of banking and enterprise systems administration experience on LinkedIn.

1. Scenario Overview & Problem Context
The Command Prompt (CMD) is still one of the most powerful troubleshooting tools in Windows.
The Command Prompt (CMD) is still one of the most powerful troubleshooting tools in Windows.
While many tasks can be completed through the graphical interface, experienced IT professionals often rely on CMD because its faster, more consistent, and works even when the GUI doesnt.
Whether youre working in Desktop Support, Systems Administration, Network Engineering, or Cybersecurity, mastering a handful of CMD commands can dramatically reduce troubleshooting time.
2. Step-by-Step Diagnostic & Remediation SOP
Execute this procedure using an elevated console (Run as Administrator) to ensure necessary system access:
-
Diagnose network issues within seconds
-
Verify DNS, DHCP and routing problems
-
Check running processes and active network connections
-
Repair corrupted Windows system files
-
Collect system information for incident investigations
-
Manage mapped drives and user sessions
-
Troubleshoot connectivity before escalating incidents
-
Is DNS resolving correctly?
-
Is the computer receiving the correct IP address?
-
Which process is using this port?
-
Is Windows missing system files?
-
Is the problem caused by routing or firewall?
-
Is the machine communicating with the server?
-
Which CMD command do you use the most in your daily work?
3. Production Command Scripts
1
Get-Service
4. Technical Breakdown & Parameter Deep Dive
Understanding how native Windows administrative tools operate helps prevent unintended side effects across domain environments:
<span class="cmd-tag">Elevated PowerShell</span>: Operates within the elevated administrative security context to interact directly with core OS services.- Silent Background Execution: Minimizes end-user disruption by querying or modifying configuration parameters without requiring an intrusive remote desktop takeover.
5. Enterprise Troubleshooting & Verification Checklist
| Checkpoint | Verification Step | Common Remediation |
|---|---|---|
| Administrative Privilege | Run whoami /priv or check elevated terminal badge |
Ensure PowerShell is launched via Run as Administrator |
| Firewall & Ports | Verify local Windows Defender Firewall state | Permit WinRM (TCP 5985/5986) or ICMP/RPC rules if remote |
| Service Dependencies | Query associated Windows Service state | Check Event Viewer (eventvwr.msc) Application/System logs for error codes |
💡 20+ Years Banking & Enterprise IT Pro-Tip
In high-availability enterprise environments, resolving endpoint anomalies at the command line without requiring a full system reboot or user session interruption significantly lowers Mean Time to Resolution (MTTR). Always verify event logs and confirm service availability before closing user tickets.
🔗 Join the Live Community Discussion: Have questions or additional variations for this command? 👉 View and join the original LinkedIn post discussion
Authored by Toan Nguyen (Toan Nguyen IT OZ) — 20+ Years Enterprise & Banking IT Experience in Adelaide, South Australia.