Command Prompt Basics: Simple Commands That Can Solve Everyday PC Problems
The Command Prompt is a text-based Windows tool that can fix internet problems, check your PC's health, and perform tasks no regular app can match.
Open Command Prompt
~17sCheck your internet connection with ping
~34sQuick Tip
Quick Tip: If ping google.com fails but ping 8.8.8.8 (Google's server address) works, the problem may be with how your PC resolves website names — a DNS issue. Try the ipconfig /flushdns command next.
View your network details with ipconfig
~18sReset your internet connection
~32sWarning
These commands reset your network configuration. If you have manually configured static IP settings for your computer, those settings will be cleared and you will need to re-enter them afterward.
Check the system file health with sfc /scannow
~29sQuick Tip
Quick Tip: Microsoft's official support article at support.microsoft.com explains how to interpret sfc /scannow results and what to do if it cannot repair all files.
You Did It!
You've completed: Command Prompt Basics: Simple Commands That Can Solve Everyday PC Problems
Need more help? Get Expert Help from a TekSure Tech
The Command Prompt — often shortened to CMD — is a text-based tool that has been part of Windows since the early days of personal computers. It lets you control your computer by typing commands instead of clicking icons and menus. While it looks old-fashioned, it remains one of the most useful troubleshooting tools built into Windows.
You do not need to know dozens of commands to find the Command Prompt useful. A handful of simple commands solve the most common everyday PC problems, especially internet and network issues.
The most frequently useful commands for everyday users are: ping (checks whether your computer can reach a website or server), ipconfig (shows your computer's network connection details), tracert (shows the path your internet connection takes to reach a website), and the netsh and ipconfig reset commands (which can fix internet connectivity problems by resetting your network settings).
These commands are safe to run and do not make permanent changes to your system. They are diagnostic tools — they gather information or perform small, reversible network resets that have been standard troubleshooting steps for decades.
The Command Prompt and PowerShell are both text-based tools in Windows. For the commands in this guide, either one works. Command Prompt is slightly simpler in appearance, while PowerShell is the more modern tool and handles a wider range of tasks.
As with PowerShell, always be cautious about where you get commands to run. Only use commands from trusted sources.
Was this guide helpful?
Your feedback helps us make TekSure better for everyone.
Want to rate with stars?
Still have questions?
Ask TekBrain a follow-up question about this guide. It’s free, no sign-up needed, and the answer will be in plain English.
Official Resources
Sources used to create and verify this guide. View all sources →
← Previous
PowerShell for Beginners: A Few Useful Commands Any Windows User Can Learn
Next →
Mac Mission Control: See All Open Windows and Switch Between Them at a Glance
Still stuck? No problem.
Sometimes a guide isn’t enough. Our technicians can walk you through it step by step, in plain English, on your schedule.
Related Guides
More from Windows Guides
How to Turn Your PC On and Off
Learn the proper way to start up and shut down your Windows PC to keep it running smoothly.
1 min read
How to Connect to Wi-Fi on Windows
Get your Windows PC online by connecting to a wireless network in just a few clicks.
1 min read
How to Open and Close Programs on Windows
Master the basics of launching and closing applications on your Windows PC.
1 min read