Best CMD  Commands in Windows

Best CMD Commands in Windows

1.  FC: File Compare

Different versions of Microsoft use FC command for the comparison of various files. It is just like the Unix commands i.e cmm, Diff. In operating systems, files tend to alternate and change. It can be difficult to remember what the differences between versions were when files are modified over time. The users might not realise it, but a CMD command can compare files and show all differences. The FC command compares different files, evaluates them, and displays all differences. It helps the users to organize the files.


2.      PING: Generate Test Packets

PING command is an outstanding command for the analysis of connection of different servers. When PING command is run, it generates the test packets through the network system to the target server. PING is used to verify and check the access of user’s computer to another server, network or computer system. It can identify the unexpected termination of connectivity and evaluates the network connections. PING is very important for IT Analysts to discover online disruptions.

 

3.      POWERCFG: Power Configuration

POWERCFG is a user-friendly command for power issues of the system. Most IT experts and users face power issues of their laptop which means that the battery is drained frequently. To optimize the power settings for maximum efficiency,. POWERCFG (power configuration) is a Windows CMD command that can help. To acquire a complete power efficiency report, open a command prompt as an administrator and execute powercfg – energy. This procedure is a few minutes long but when this command is applied, the users are able to discover warnings or mistakes which aid in improving the power efficiency of the computer system.

 

4.     SFC: System File Checker

It is a potential threat that sometimes, a virus, malware or any other external cyber attack may damage the system files. The users may use SFC Windows command to scan them and confirm their integrity. The users must run CMD as an administrator (for this, click right and select Run as Administrator). SFC /SCANNOW is a command program that determines the integrity of all protected system files. If a problem is discovered, the files will be fixed using system files that have been backed up. SFC command may also be used to repair an offline boot directory, offline windows directory and identify the location where the scanned data is saved.

The scan takes 10-15 minutes.

5.  BITSADMIN

Bitsadmin is a command  for developing, downloading, and publishing tasks, as well as tracking their progress. Switches are used by the bitsadmin programme to identify the task to be done. To get a list of switches, use bitsadmin /? or bitsadmin /help. Switches also require the task purpose which the users assign to the task’s display name . This display name can be simple. The easier, the better.The GUID of a job is returned by the /create and /list options. Users can also see the data of their tasks by default. However, they need administrator credentials to see the data of other users’ tasks.


6. ROBOCOPY  

It's a built-in command line for Windows operating systems that lets the users to move files quickly from one location to another. Furthermore, users  may move whole directories or discs.

7.      CHKDSK: Check Disk

The CHKDSK command may scan a whole disc, but the SFC command only examines the integrity of key system files.

CHKDSK command looks for items such as: fragmentation of files, Errors on disc, Sectors with poor performance

Any disc issues can be fixed using this command (if possible). When the command is complete, you'll be able to check the outcomes of the scan as well as the actions that were done.

7.      SHUTDOWN command

The SHUTDOWN command is a powerful tool for shutting down a computer while also controlling how it shuts down. After fixes have been deployed to a computer system, it's typically employed as a scheduled task or as part of an IT batch job.Typing shutdown /i at the command prompt will start a shutdown, but it will rely on a GUI to let the user choose whether to restart or shutdown completely. If you don't want the GUI to appear, simply use the shutdown /s command.

Users may apply a lengthy number of additional options to log off, hibernate, resume, and so on. To view them all, shutdown is typed without any arguments.

To view or add a comment, sign in

More articles by Adam Joron

  • 10 useful Linux Commands

    10 useful Linux Commands

    Fortunately, Linux provides an array of useful commands. A list of useful Linux commands can make work easier for Linux…

    2 Comments
  • Soft Link and Hard Link in Linux

    Soft Link and Hard Link in Linux

    A soft link is a genuine link to the actual file. The user cannot utilize a soft link in case if the original file has…

    2 Comments
  • 5 Best Linux Distributions

    5 Best Linux Distributions

    What are Linux Distributions? When it comes to Linux distributions, the term "distro" refers to an operating system…

    2 Comments
  • What is LDAP?

    What is LDAP?

    LDAP or Lightweight Directory Access Protocol, is used by email and other applications to get data from a server or…

  • What is a DHCP?

    What is a DHCP?

    DHCP stands for Dynamic Host Configuration Protocol. When employed in a client–server structure, the Dynamic Host…

    2 Comments
  • What is GPO (Group Policy)?

    What is GPO (Group Policy)?

    To control how the system appears and behaves for certain users, there are some sort of settings which are included in…

  • What is DC (Domain Controller)?

    What is DC (Domain Controller)?

    What is DC (Domain Controller)? A domain is a set of accounts, systems, apps, protocols, database systems, and any…

  • What is DNS?

    What is DNS?

    This article will give you an informative insight about what is a DNS? How does the DNS work? The structural and…

Insights from the community

Others also viewed

Explore topics