Useful Windows Commands to Troubleshoot System and Networks

Useful Windows Commands to troubleshoot System and Networking

CHUONG K. NGUYEN – BSc., MCSEx2, MCSAx2, MCP, MCTS, MCITP, CCNA

Below is a short list of commands used to troubleshoot system and networking in Windows environment.

ping -t google.com (continuously pinging a host)

pathping gogole.com (ping and show traffic path)

shutdown -m \\host -r -f -t 0 (immediately shutdown the computer host)

arp –a (list arp table)

arp -a 192.168.1.1 (show arp for host 192.168.1.1)

tracert google.com (trace route to google.com)

ncpa.cpl (show Network connections)

ipconfig (show TCP/IP information)

ipconfig /all (show detailed TCP/IP information)

ipconfig /flushdns (flush the DNS cache)

dnscmd /clearcache (clear DNS cache on the Server)

set (check user/environment settings)

gpupdate /force (apply group policy settings)

netstat (check connection states)

route print (print routing table)

route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2

services.msc (open services)

secpol.msc (launches Local Security Policy)

dsa.msc (open ADUC)

taskmgr (Open task Manager)

regedit.exe (launch the Registry Editor)

diskmgmt.msc (launch the Disk Management Console)