Windows 10 Command Prompt Commands List – Detecting an Internet connection in Windows can be a frustrating experience. To help with this, we’ve outlined six Windows 10 commands you can use to troubleshoot your Internet connection and determine why you can’t access a website.
All the commands we have listed below you need to run through the Windows 10 command prompt.
Windows 10 Command Prompt Commands List
To access Command Prompt, click the Start button, type cmd, and click the search result ‘Command Prompt’ when it appears.
How To Change Directories In Command Prompt: 8 Steps
Windows 10 will now open a command prompt and wait for the commands you type and then present them on your keyboard to execute.
The following commands are found in older versions of Windows and their instructions are almost identical, but our additional instructions focus on Windows 10.
When you connect to a website, you enter a text URL such as https://www.google.com. However, when your browser connects to the hostname www.google.com, it must first convert it to an IP address by querying your configured DNS servers.
A Quick Guide To Using Command Line (terminal)
If your DNS servers are not working or are returning incorrect information, your computer cannot connect to requested websites and network resources.
To overcome these problems, you can use the nslookup utility to convert a domain to an IP address.
For example, if you want to see the IP addresses associated with www.google.com, open a command prompt and enter
Flutter Doctor Doesn’t Work On Neither Command Prompt Or Powershell Window?
When using nslookup, the command returns both an IPv4 and an IPv6 address. We are only concerned with the IPv4 IP address.
If your existing DNS servers are not responding to websites or returning an IP address, your problems may be DNS-related.
To fix this, try different DNS servers like public Google and Cloudflare DNS servers and see if they solve your problems.
A Beginner’s Guide To The Windows Command Prompt
Thepingcommand allows you to provide a basic measurement of whether you can connect to a hostname or IP address and the latency or delay between your connection and the remote device.
To use the ping command, open a command prompt and type ping [hostname] or ping [IP address] followed by presenter. For example, to check if you can connect to www.google.com, type ping www.google.com and press Enter.
As you can see from the screenshot above, when we pinged www.google.com, we got four responses from its IP address 188.8.131.52.
Free Remote Command Prompt Tool
Each of those responses had a round trip time of 3ms to 9ms, which is very fast. If you start seeing hundreds of ping response times, this indicates a poor connection between you and the site.
Additionally, the ping commands show that we sent four packets and received four packets with 0% loss. If you start seeing packet loss, that’s a good indicator of a connection problem.
Finally, if you use the ping command, and it shows ‘destination host unreachable’ for every attempt, but other computers have no problem connecting to your network, then you have a network connectivity problem on your computer.
Basic Windows Command Prompt Commands (a Quick Guide)
It should be noted that some networks block ping requests, so even if you don’t get a response, it doesn’t mean the remote device is unreachable.
When you connect to a remote device, your requests travel through a series of different routers called hops before reaching their final destination.
If you find that your connection to a remote server is slow, you can use the tracert command to check which routers along the way are slow.
Ways To Create And Delete Files And Directories From Windows Command Prompt
If you use the Windows tracertcommand (or traceroute on Linux), you can see every connection your request goes through before reaching its final destination.
For example, you can use the tracert www.google.com command to see what connections your requests go through before reaching Google’s web server.
However, if there are routing issues or if you use a VPN, you may find multiple connections with high latency between your computer and the remote device, indicating that the connection is slow, as shown below.
Best Ways To Access The Run Tool On Windows 11
Unfortunately, routing congestion isn’t usually something you can fix, and you’ll have to wait until there’s less traffic or the routing issue is fixed by the ISP provider.
The PathPing command is an interesting utility because it combines the ping and tracert commands into one tool.
With this tool you can check the path your request takes when connecting to a remote device and perform pings on each router to check if the device is reachable and how slow its response is.
Tips To Know Your Command Prompt Better
You may wonder why you would use ping or tracert over PathpingCommand, as the latter takes longer to complete. Therefore, other tools are better suited for quick tasks.
If your Internet seems to be working fine, but you’re having trouble connecting to a particular website or service, you can use the telnet command to check if that service is running on a remote host.
Thetelnetcommand is a utility that allows two-way communication between your computer and a remote device. Initially designed for remote console access to a server, Telnet can also be used to determine whether you are connecting to a specific service running on a hostname.
Repair Windows 10 Or 11 Using Command Prompt (5 Ways)
When the server is running on the remote computer, it listens on some TCP port that you can telnet to and see if you can connect to the service.
For example, if you want to see if a web server is listening on www.google.com, you can use this
If the service is not running on TCP port 443, the Telnet program says, “Connecting to www.google.com … could not open connection to host, on port 443: connection failed”
Command Line Cheat Sheet
Another example that shows a bit more detail is to check if an FTP server is running on TCP port 21 on the remote host. For example, command
Telnet is not installed by default in Windows 10, but you can install it from the ‘Turn Windows features on and off’ settings screen found in the Start menu.
Once on the Windows Features screen, place a check mark next to the Telnet Client option and press OK to install the program.
How To Shutdown, Restart, Schedule Windows 10 With Cmd
After using these commands, if you find that your Internet connection is not working or is slow, it may be difficult to determine the cause.
You can try changing DNS servers as described above, disconnecting from a VPN, or running SpeedTest to make sure your ISP connection isn’t the problem.
After doing this troubleshooting, if you find that you still can’t connect to the Internet or the speed tests show low numbers, you should contact your ISP and help you resolve it.
Windows Command Line: Inside The Windows Console
Lawrence Abrams Lawrence Abrams is its owner and editor-in-chief. Lawrence’s areas of expertise include Windows, malware removal and computer forensics. Lawrence Abrams is the co-author of Winter’s Defragmentation, Recovery, and Administration Field Guide and technical editor of Rootkits for Dummies. It always picks up short throw away tweets. We are not sufferers. I did some work on the command line and typed “dotnet –version | clip” to copy the .NET Core version number to the clipboard. Then I tweeted “Hey, remember this great utility?” And then the plane took off. I landed after two hours and it has more than 500 RT. insanity
It’s funny how a 10-year-old command prompt utility (included in Vista) that everyone has forgotten about generates such an enthusiastic response.
Windows Folk: Did you know you can paste cmd-prompt commands to the clipboard? pic.twitter.com/fSE7ZHBBbB — Scott (@s) June 20, 2016
Windows 10 Command Prompt Commands List
Some of these range from DOS to Windows. Others are included in Windows 10. What did I miss? Sound off in the comments.
If you have already entered some commands, you can press F7 to get an ANSI popup with a list of the commands you entered. 4DOS anyone?
Pressing “ALT-ENTER” in a command prompt (any prompt, cmd, powershell or bash) will make it full screen. I like to put my command prompt in another virtual desktop and then use CTRL-WIN-ARROWS to move between them.
Cmd Commands All Windows Users Should Know
Cmd.exe (conhost on Windows 10 1511+, actually) now supports ANSI directly. That of course means BBS Unci Art.
Finally the new Microsoft has its priorities straight. Early builds of ANSI ART support are making their way to Windows 10! pic.twitter.com/UjWCrnrED2 — Scott (@s) February 5, 2016
Sponsor: Working with DOC, XLS, PDF or other business files in your applications? The Aspose.Total product family includes robust APIs that give you everything you need to create, manipulate, and convert business files, among many other formats, into your applications. Stop fighting with multiple vendors and get everything you need in one place with the Aspose.Total product family. Start a free trial today.
How To Open Control Panel Tools With Run Commands (command List)
Scott is a former professor, former chief architect of finance, now speaker, consultant, father, diabetic and Microsoft employee. He is a failed stand-up comic, cornrower and book author.
Disclaimer: The views expressed here are my own personal views and in no way represent the views of my employer. IT Pro is endorsed by its audience. If you make a purchase through links on our site, we may earn an affiliate commission. Learn more
Windows 10 Command Prompt: What is it and how does it work?