Here are top rated useful efficient CMD Commands for Windows XP, 7, 8, 8.1, 10 Desktops, Laptops to increase productivity and save time while performing many scripting tasks.
10 Basic CMD Commands Windows 7, 8.1 To Overcome Common Issues
Ipconfig Commands – Find Your IP Address Quickly
Ipconfig is the fast way to find your IP address and other network information your computer is using like default gateway address – for instance, so as to know the IP address of your router’s web interface. To use the command, just enter ipconfig at the command prompt. You’ll see a list of all the network connections on your Windows computer. Check the Wifi adapter if you are using WI-FI and Ethernet adapter if you are connected to a Local Area Network.
Ipconfig /flushdns – Flush your DNS resolver cache
Windows does not update DNS settings immediately after changing your DNS server. It remembers DNS settings received using cache to save time when you use the same addresses in further future. To make windows use the new DNS servers instead of old cached entries, run “ipconfig /flushdns” command after making changes in your DNS server.
Ping, tracert – Troubleshoot network connection issues
This command assists in addressing network connection issues. First, the ping command – try “ping google.com” and windows will send packets to google.com. The response from Google.com allows to you to know if there is packet loss and the time it took to get responses back from the destination. The tracert command tracks the route a packet takes from source to destination.
Netstat command provides you with a list of real-time open ports and prospective IP addresses. It also gives the state of port such as listening, closed or established. This is useful while troubleshooting the devices connected to PC or if you suspect your Windows device has a Trojan horse and want to find out the bad connection.
Also Read: How to Fix Wi-Fi problems On Android
System file checker
System file checker is an automatic scan and repair tool that works on windows system files. You need administrator rights to run this on command prompt. Enter the command sfc/scannow’. If it finds corrupt or missing files, it replaces them with cached copies that are retained by windows.
Net user administrator * /active: yes
This allows you to enable the local administrator account. You should run this command from an administrative command prompt. It will ask you to set a password.
Route print Commands
To see the routing table run this command and even you can use netstat –r’ for the same purpose.
Powercfg is a very potent tool for tracking and managing Windows OS Desktop, Laptop power usage. To manage hibernation, you can use powercfg/hibernate on’ , powercfg/hibernate off’ and powercfg/a’ to see power saving states that are available on your computer.
Tasklist cmd line is used to view the list of all currently running programs. Although, largely replaced by task manager, the command can sometimes pick out tasks that cannot be viewed with that utility.
Tasks that are listed by the tasklist command have an executable and process id (a number with four digits) that relates to them. You may force stop a program using “taskkill –I’m” and then the executable name, or “taskkill –PID” then followed by process id. This is useful in killing programs that are hidden or unresponsive.
Hope we have helped you to find the right windows commands for you. Apart from these we have more Windows Commands like batch file, powershell, change directory, shutdown,, safe mode, reboot, system restore to work on issues. Commands are most useful on every OS like Windows, DOS, linux, unix etc.