Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

which chkdsk command is best?

5 Answer(s) Available
Answer # 1 #

Checks the file system and file system metadata of a volume for logical and physical errors. If used without parameters, chkdsk displays only the status of the volume and does not fix any errors. If used with the /f, /r, /x, or /b parameters, it fixes errors on the volume.

The following table lists the exit codes that chkdsk reports after it has finished.

To check the disk in drive D and have Windows fix errors, type:

If it encounters errors, chkdsk pauses and displays messages. Chkdsk finishes by displaying a report that lists the status of the disk. You cannot open any files on the specified drive until chkdsk finishes.

To check all files on a FAT disk in the current directory for noncontiguous blocks, type:

Chkdsk displays a status report, and then lists the files that match the file specifications that have noncontiguous blocks.

There are two methods that can be used to retrieve chkdsk log file(s) in Windows. View the methods described below:

[4]
Edit
Query
Report
ccjqlzxj Gerald
WEB PRESS OPERATOR APPRENTICE
Answer # 2 #
  • Open the Control Panel.
  • Open Administrative Tools.
  • Select Event Viewer.
  • In the Event Viewer expand the Windows Logs.
  • Select the Application log.
  • Right Click the Application log and select Find.
  • Type wininit in the box and click Find Next.
[4]
Edit
Query
Report
xyqnnmvl Deepak
PRINTER SLOTTER OPERATOR
Answer # 3 #

You want to see existing errors, use CHKDSK /f command, you want recover readable information from back sectors, use CHKDSK /R, and dismount problematic disk, use CHKDSK /X.

[4]
Edit
Query
Report
Milli jzmahk Pramod
PHARMACEUTICAL DETAILER
Answer # 4 #

Now that you know what a chkdsk command is, you must be wondering about the scenario where you would use this command. The chkdsk command is used to check and fix any errors on the targeted disk. For example, if you cannot access a certain disk or you suspect that a file maybe corrupted then you can use the chkdsk commands to check the drive for any errors and fix those errors.

There are basically two things that the chkdsk can be used for:

A lot of people are skeptical about using the chkdsk commands mainly because it isn’t the best disk checking tool and it takes a lot of time. Although this might be true but chkdsk can help prevent loss of data and it is very easy to use. It is already present on your operating system so you don’t have to download anything and it literally takes a few clicks to run the chkdsk on the targeted disk.

There are multiple options that can be used with the chkdsk command. The options available with the chkdsk have their specific functions.

Format

The format for using these commands is chkdsk [/?]. Where “?” will be replaced with the option that you want to use.

Example

For example, using the command chkdsk /r will locate the bad sectors on the targeted drive and will try to recover the readable information.

Note: These options are also known as Switches.

Chkdsk can be run on specific drives and folders. Once you specify a drive or a folder (by giving its path) the chkdsk will only check the targeted drive/file. This will save you a lot of time if you are suspecting problems with a specific drive or file/folder. You don’t have to run the chkdsk on the entire hard disk.

Format

The format for specifying a volume or file path is: CHKDSK [volume[[path]filename]]] [/Switch]

Example

For example, if you want to check the D drive on your system, you will write this command: chkdsk d: /r

One of the most common commands that are used today are chkdsk /f /r or chkdsk /r /f. Some people prefer to use the chkdsk /f /r command to fix the errors where as other people use chkdsk /r /f to fix corruption problems. You might have already seen the purposes of both /r and /f switches. The /r looks for bad sectors and recovers any readable information. The /f switch fix the errors on the drive. If you are doing research on fixing a corrupt drive or some other file, you will see that some people will advise you to use chkdsk /r /f where as some people will tell you to use chkdsk /f /r.

So, which command should you use? Are there any benefits of using one over the other? The thing is, both are pretty similar commands. Both of these commands do the same thing but just in a different order. The chkdsk /r /f locates bad sectors and recovers readable information and then fixes the errors. The chkdsk /f /r does the same thing but in the opposite order.

The main difference between the /r and /f command is that the /r is used to locate the physical errors on the disk whereas the /f is used to locate the disk errors.

The best option for you here is to use none of these commands. This is because using the /f switch whether before or after the /r switch is useless. The /r command locates the bad sectors and recovers any readable information which implies /f. This makes the /f option redundant when using with the /r. If you use chkdsk /r that means that you are automatically using chkdsk /r /f. The /r means that everything that /f does is done as well as anything extra that /r does

So, the answer here is that you should use the command chkdsk /r. This command is enough and there is no need to include the /f.

Note: If you only want to locate and fix the disk errors then you should only use the /f command.

You can use chkdsk in 2 ways. The first way is via the command prompt or, in other words, the hard way. This is because you will have to type the commands and it might be a bit technical for you. The second option is to use the graphical interface. This option is suited for the majority of users especially for people who aren’t so tech-savvy. Steps for using chkdsk via both of these options are given below.

Follow the steps given below to run chkdsk commands on Command Prompt

You can use chkdsk utility without the command prompt or power shell as well. Here are the steps for using the chkdsk utility

Note: Once you start the scan, you might see the dialog saying that the disk is in use and the scan will be performed on the next startup. Click the Schedule disk check button to confirm or click cancel if you don’t want to scan on the next startup.

There will be cases when you will see an error message when trying to run the chkdsk command. Here are a couple of very common error messages and steps on how to solve these issues.

If chkdsk gives an “An unspecified error occurred” error then you won’t be able to check your disk for errors. The error will look like this

Note: If the steps in the article don’t solve the issue and you are using a low-frequency AMD CPU then click here and download the Hotfix from Microsoft’s official website. Once downloaded, run the Hotfix and check if it resolves the issue.

You might see the “Cannot continue in read-only mode” error if you run the chkdsk /f command (most of the time). The error will look like this

If you see this error then you should run the chkdsk /r command or chkdsk [drive letter] /r command. You might see a message

“Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)”

If you see this message, simply type Y and press Enter to schedule the scan. Once done, reboot and the scan will run on the startup.

If chkdsk gives a “Cannot lock current drive” error then you won’t be able to check your disk for errors. The error will look like this

[2]
Edit
Query
Report
Andris Speakman
Aviator
Answer # 5 #

CHKDSK, also known as Microsoft Check Disk, is a utility that can be used in almost all Windows versions. The CHKDSK command is used to scan through your entire hard drive to find and fix any errors. For example, when your computer freezes, you cannot access a certain disk due to a corrupted file system, then you can use the CHKDSK commands to check and fix the drive errors.

What is CHKDSK /F /R /X? The primary function of CHKDSK /F /R /X is to scan the integrity of the file system and file system metadata on a disk volume and fix any logical file system errors that it finds. Besides, CHKDSK also can be used for detecting bad sectors on the target disk that occur because of physical damage. Then, it automatically fixes these errors as well.

CHKDSK can fix two types of disk errors: logical errors and physical errors. Based on the disk error types, you can use the different CHKDSK commands and switches to fix hard drive errors. CHKDSK /F, CHKDSK /R, and CHKDSK /X are the most commonly used CHKDSK commands. What is the difference between CHKDSK /F /R and /X?

When to use chkdsk /f, chkdsk /r, and chkdsk/x? You want to see existing errors, use CHKDSK /f command, you want recover readable information from back sectors, use CHKDSK /R, and dismount problematic disk, use CHKDSK /X.

If you feel like the provided information about CHKDSK, and it did help you have a better undersanding CHKDSK command lines, please share this guide to help more people around you!

The syntax of the CHKDSK command is:

chkdsk volume /f /v /r /x /i /c

If used without parameters, CHKDSK displays only the volume's status and does not fix any errors. If used with the /f, /r, /x, or /b parameters, it fixes errors on the volume. What do the parameters ( /f /r /x... ) mean? Here are some common CHKDSK parameters and their meanings:

If you are not so tech-savvy and know little about computers, we highly recommend you try a professional CHKDSK /f /r /x alternative tool - EaseUS Partition Master to fix hard drive errors efficiently. It perfectly replaces CMD as reliable disk management tool and releases you from typing the commands manually.

EaseUS partition tool makes it effortless to repair disk errors. Follow the steps to check and repair your file system error:

Step 1. Open EaseUS Partition Master on your computer. Then, locate the disk, right-click the partition you want to check, and choose "Advanced" > "Check File System".

Step 2. In the Check File System window, keep the "Try to fix errors if found" option selected and click "Start".

Step 3. The software will begin checking your partition file system on your disk. When it completes, click "Finish".

Fixing disk error and repair internal file system error with EaseUS Partitoin Master is so easy. Share this tip to help more of your friends to rescue their problematic storage devices now:

If you don't like to use the simple third-party CHKDSK tool, you can run CHKDSK in a harder way via 3 methods: using Command prompt, Windows PowerShell, and disk check tool.

Whenever you find your hard drive performs poorly or Windows asks you to repair drive errors, you can try to run CHKDSK to do the job. Here's how to run CHKDSK /f on Windows 10/8.1/8/7.

Use CHKDSK /F /R on Windows 10

Note: If you can't boot into Windows 10 to run CHKDSK, fix the UEFI boot issue in Windows 10 with 5+ solutions.

Step 1. Press the Windows key and type cmd.

Step 2. Right-click "Command Prompt" and choose "Run as administrator".

Step 3. Enter the following command and press Enter: chkdsk C: /f /r /x. Replace "C" with the drive letter of the partition you want to repair.

Do not interrupt CHKDSK and wait patiently for the process to end.

Aside from applying CHKDSK to fix disk errors, here are some tutorials that you may follow to learn more details about this command:

Run CHKDSK on Windows 8.1/8

To run the utility from Command Prompt for Windows 8.1/8 users, here are the instructions:

Step 1. Press the Windows and C key to open the Charm bar.

Step 2. Select "Search" and type cmd.

Step 3. Right-click on "Command Prompt" and click "Run as administrator."

Step 4. When Command Prompt launches, type the command below and press "Enter": chkdsk E: /f /r /x.

Run CHKDSK on Windows 7 CMD

If you are a Windows 7 user, you can run the CHKDSK command by the following steps:

Step 1. Click "Start". Type cmd at the search box.

Step 2. Right-click on cmd.exe and click "Run as Administrator". Enter your Administrator password if necessary.

Step 3. When cmd.exe opens, type the command below and press "Enter": chkdsk c /f /r.

If you receive the "Chkdsk cannot run because the volume is in use by another process." message, type Y to restart the computer and let the utility to run a scan at the next boot of your PC.

Extended Reading:

If you are looking for a guide to run CHKDSK to check and fix disk errors on Wnidows 11, try this recommended guide page and you'll learn how to do so.

If the Command Prompt not working in Windows 10, you can also run the CHKDSK /F or /R command in Windows PowerShell to fix hard drive errors.

Step 1. Click the Search button and type PowerShell.

Step 2. Right-click the PowerShell and choose Run as administrator.

Step 3. Type chkdsk c /f /r to start fixing disk error. Replace C with the drive letter of the target disk.

Running the Check Disk tool from the Windows desktop is easy. Follow the steps below to run CHKDSK in Windows 10. It works the same way on Windows 8 and Windows 7.

Step 1. Open This PC in File Explorer > right-click the HDD/SSD you want to scan > choose "Properties".

Step 2. Under the Tools tab > click the "Check" button under the Error-checking section.

Step 3. Next, you can choose to Scan drive if wanted or Repair drive if errors were found.

Step 4. When the scanning finishes, click on the Show Details link to see the CHKDSK log in Event Viewer.

Any time you have hard drive errors or corrupted files, the CHKDSK can be a lifesaver. You can use the disk error checker that comes with every Windows version with the full guide above.

Or you can use the ultimate disk management tool - EaseUS Partition Master to repair organize your hard drive to enhance system performance easily.

You may encounter CHKDSK related problems; what to do then? Here are the common issues of CHKDSK errors; read on to figure out the solutions.

1. Is CHKDSK R safe?

It's safe to run the CHKDSK /R command under normal circumstances as long as you're using the syntax properly. There are different parameters with CHKDSK; you can check the CHKDSK parameters and choose the one that suits your problem to fix disk errors.

2. How long does chkdsk /f /r take?

It depends.

You can interrupt the scan, but not recommended. Canceling or interrupting CHKDSK should not leave the volume any more corrupt than it was before CHKDSK was run. You can start it again, and it will check and repair any remaining corruption on the volume.

3. What to do when CHKDSK is stuck or frozen?

The scan should be able to run to completion this time.

4. CHKDSK /F /R VS CHKDSK /R /F on Windows

What's the difference between CHKDSK /F /R and CHKDSK /R /F commands on Windows computer?

[1]
Edit
Query
Report
Jeramie Lauren
Urban Planner