Bytesofinformation.com

Top Windows  Commands

By

Scott Sekinger

12/30/16


Below is a list of the top Windows 10 commands. These tools should be ran from elevated command line prompt. These commands could be used in a batch file.

  1. sfc - This command checks Windows to see if there are any corrupted or missing files. Admin privileges a required. The /? will give a complete list of arguments. The most useful and commonly switch is /scannow.

  2. Shutdown - This command allows you to logoff, restart, shutdown, or place your or other people’s PCs in hibernation . The /? will give a complete list of arguments. Shutdown /i in my opinion is the most useful and the safest option.

  3. netstat – This display current TCPIP connections and protocols statics. The /? will give a complete list of arguments.

  4. Assoc -This displays or modifies file name extension associations. Used without parameters, assoc displays a list of all the current file name extension associations. The /? will give a complete list of arguments.

  5. Driverquery – This command displays information about the drivers on your PC. The /? will give a complete list of arguments.

  6. Ping – Ping test the capability of the a PC to reach its destination. he /? will give a complete list of arguments.

  7. pathping – Pathping provides detail information on the path between two hosts and Ping-like statistics for each node in the path based on samples taken over a time period, depending on how many nodes are between the start and end host. The /? will give a complete list of arguments.

  8. nslookup – Nslookup used to diagnose DNS problems The /? will give a complete list of arguments.

  9. Tracert – Tracert displays information on the path that a packet takes from the computer or device you're on to whatever destination you specify. The /? will give a complete list of arguments.

  10. cls – The cls command clears the screen.

  11. Ipconfig - Ipconfig display the network settings currently assigned and given by a network. This command can be utilized to verify a network connection as well as to verify your network settings. The /? will give a complete list of arguments.

  12. cls – The cls command clears the screen.

  13. cmd - Opens a command prompt. I suggest typing cmd in the search box, right clicking, and selecting Run as administrator. The /? will give a complete list of arguments.

  14. Tasklist - Taklist displays a list of applications and services with their Process ID (PID) for all tasks running on either a local or a remote computer.The /? will give a complete list of arguments.

  15. Taskkill - Taskkill ends one or more tasks or processes. Processes can be killed by process ID or image name The /? will give a complete list of arguments.

  16. FC – This allows to compare two files. The /? will give a complete list of arguments.

  17. Type - This displays the contents of a text file.

  18. & - This allows you to combine commands.

  19. > - This redirects the output. Useful to redirect screen output to a text(.txt) file.

  20. >> This redirects the output, but appends. Useful to redirect screen output to a text(.txt) file.

  21. |clip – This copies output to the clipboard.

  22. |more – allows you to pause a screen at a time so you can read it. displays, sets, or removes environment variables. Used without parameters, set displays the current environment settings.

  23. Dir – This list the files/folders in a folder or folders. The /? will give a complete list of arguments.

  24. Gpupdate - This updates the Group Policies on your PC if your PC is part of a Windows domain. The /? will give a complete list of arguments.

  25. Gpresult - This displays the Group Policies on your PC if your PC is part of a Windows domain. The /? will give a complete list of arguments. An administrator account will show settings that a standard user will not see that are applied to the PC. The /h is the most useful.

  26. tree – This program graphically displays the folder structure of a drive or path. The /? will give a complete list of arguments.

  27. Control – Brings up the Control Panel.

  28. Help – displays a list of all of the commands available

  29. Set - Set The /? will give a complete list of arguments.

  30. powercfg - Powercfg enables users to control power settings on a local system.The /? will give a complete list of arguments.

  31. doskey/history – display the recently commands typed.

  32. msinfo32 - This gives a lot of information about of your PC.

  33. systeminfo - This gives operating system configuration information for a local or remote machine, including service pack levels. The /? will give a complete list of arguments.

  34. robocopy - Robocopy is a very powerful copy utility that is very scriptable. The /? will give a complete list of arguments.

  35. chkdsk - Chkdsk attempt to detect and correct disk errors  This could take a while. The /? will give a complete list of arguments.

Back to Top