Download ArticleDownload Article

The chkdsk function is a tool that’s built into all computers that run on Windows operating systems. It allows you to check your hard disk for errors and repair them. You can also use it to check other disks, such as your D drive or an external hard drive. In this article, we’ll talk you through a few different ways to run chkdsk, including from File Explorer, using the Command Prompt, or from an installation disk. We’ll also cover how to check and repair your disks on a Mac.

Method 1
Method 1 of 4:

Running in File Explorer

Download Article
  1. How.com.vn English: Step 1 Open File Explorer...
    Open File Explorer. The Error Checking tool lets you run the chkdsk function from your computer’s visual interface. No matter what version of Windows you’re using, it works basically the same way. Start by opening File Explorer or, if you’re using Windows 7 or earlier, Windows Explorer. Do this by clicking the
    How.com.vn English: Windows File Explorer
    Explorer icon in the Quick Access taskbar at the bottom of your screen. If you don’t see that option:
    • In Windows 10 or 11, use the keyboard command Win+E to launch File Explorer, or open File Explorer from the Start menu.[1]
    • In Windows 8, you can open File Explorer by clicking the File Explorer app in the Apps Screen.
    • In Windows 7, right-click the
      How.com.vn English: Windows 7 Start
      Start Button and select Open Windows Explorer in the shortcut menu that pops up.[2]
  2. How.com.vn English: Step 2 Select This PC from the left-hand menu.
    In the File Explorer or Windows Explorer window, click on This PC in the menu bar on the left side of the window. In Windows 8 and earlier, click on My Computer or Computer instead.[3]
    • In older versions of Windows, you can also click the
      How.com.vn English: Windows 7 Start
      Start Button in the lower left corner of your screen, then select Computer or My Computer to see a list of your drives.[4]
    Advertisement
  3. How.com.vn English: Step 3 Right-click the disk you’d like to check.
    When you select This PC, Computer, or My Computer, a tab will open up in the File Explorer window showing all the disk drives associated with your computer. Select the one you want to check, usually called something like Local Disk (C:).[5]
    • You can also Ctrl+click the disk icon to open a pop-up menu.
  4. How.com.vn English: Step 4 Choose Properties from the popup menu.
    In the menu that opens, scroll down and select Properties. This will open a new pop-up window displaying the properties of the disk.[6]
  5. How.com.vn English: Step 5 Open the Tools tab.
    Find the Tools tab in the Properties window and click on it. You’ll see a heading called Error checking at the top of the Tools window with the option to check your disk.[7]
  6. How.com.vn English: Step 6 Click the Check button.
    Under Error checking, click the Check button to begin running a disk check. Depending on which version of Windows you’re running, you may see a dialog box with the text You don’t need to scan this drive. If you want to run the scan anyway, click Scan drive.
    • In some older versions of Windows, such as Windows 7, you will be able to select additional options, such as Automatically fix file system errors and Scan for and attempt recovery of bad sectors.[8]
    • Before you can successfully scan the disk, you’ll need to close any open programs and files. If any applications are still running, you may see an error message such as Windows can’t check the disk while it’s in use. If this happens, click Schedule disk check, close anything that’s open, and restart your computer to automatically run a check.
  7. How.com.vn English: Step 7 Select Show Details to see a detailed report.
    Once the scan is done, a window will pop up informing you that the scan is finished. If you want to see a list of any errors that showed up in the check, click Show Details. Otherwise, click Close to close the window.
  8. Advertisement
Method 2
Method 2 of 4:

Running in Command Prompt

Download Article
  1. How.com.vn English: Step 1 Open the Command...
    Open the Command Prompt app. The Command Prompt lets you run a disk check by entering a simple text command. To get started, type Command Prompt into the search bar in the bottom left corner of your screen, then select the Command Prompt app from the list of search results. Click Run as Administrator in the list of options under the app.[9]
    • You may see a prompt asking you to allow the app to make changes to your PC. If so, click Yes to continue.
  2. How.com.vn English: Step 2 Type in chkdsk and hit ↵ Enter.
    This is the most basic disk check command that you can enter in the Command Prompt. If you just type in chkdsk, the Command Prompt will scan your disk and give you a list of any errors it finds. However, it won’t fix any of them.
    • If the drive is currently in use, Command Prompt may prompt you to restart your computer. Type Y and press Enter to restart.
  3. How.com.vn English: Step 3 Enter additional commands to fix errors or do a detailed scan.
    There are several other commands you can add to the chkdsk function, depending on what you’re trying to accomplish. You can see a full list of chkdsk commands on the Microsoft website: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk. Some of the most important commands include:[10]
    • chkdsk <volume>:, which specifies which drive you want to scan. Replace <volume> with the letter that identifies the drive. For example, your local hard disk is usually c, while your CD-ROM or other external disk drive is typically d.
    • /f. Adding this command after chkdsk will cause the Command Prompt to fix any errors it finds.
    • /r, which both fixes errors and attempts to recover readable information from any bad sectors on the disk.
    • As an example, if you wanted to scan your C drive and fix any errors, you’d enter the command chkdsk c: /f.
  4. Advertisement
Method 3
Method 3 of 4:

Checking a Startup Disk

Download Article
  1. How.com.vn English: Step 1 Use this option if you can’t boot up your computer.
    If your disk is having serious problems and can’t boot up properly, you can run chkdsk from a bootable external disk with Windows on it. The best way to do this depends on what version of Windows you’re running.
  2. How.com.vn English: Step 2 Insert the media you used to install your operating system.
    This could be a CD or DVD, a USB drive, or an external hard drive.
    • If you don’t have the original disk or media you used to install Windows, you can make one using a digital download of the operating system. You’ll need a blank USB flash drive with at least 5GB of space.[11]
  3. How.com.vn English: Step 3 Start your PC from the installation disk.
    The way to do this may vary depending on what kind of computer you have. If you’re not sure how to reboot from a disk, check the manual that came with your computer and follow the instructions there.[12]
    • For example, some PCs require you to press F8 repeatedly while booting up. Others need a different key combination, such as Del+F12.
    • If your PC is already set to boot up from an install disk, you may automatically be prompted to restart from the disk once you insert it into the drive and reboot your computer.
  4. How.com.vn English: Step 4 Select Repair your computer.
    Once your computer reboots from the disk, you’ll see a screen with several options. To run a disk check, first click on Repair your computer.[13]
  5. How.com.vn English: Step 5 Click Troubleshoot.
    In the Repair your computer menu, select Troubleshoot. This will open a new window with a variety of system recovery options.[14]
  6. How.com.vn English: Step 6 Open Advanced options.
    When the Troubleshoot menu opens, click on Advanced options.[15]
  7. How.com.vn English: Step 7 Select Command Prompt.
    In the Advanced options menu, you will see an option to launch Command Prompt. Click the Command Prompt button to open the Command Prompt app.
  8. How.com.vn English: Step 8 Enter the chkdsk command in Command Prompt.
    When Command Prompt opens, type in chkdsk to run a simple check and find any problems with your disk drive. You can also use more specific commands, such as:[16]
    • chkdsk c: /f, which will check your C drive (local hard disk) for any errors and fix them, if possible.
    • chkdsk c: /r, which will both fix errors and attempt to recover any readable data from bad sectors on your hard drive.
  9. Advertisement
Method 4
Method 4 of 4:

Using Disk Utility (Mac)

Download Article
  1. 1
    Launch Disk Utility from your Applications folder. If you’re able to boot up your Mac without any trouble, you can run the Disk Utility app from your Apps folder. Disk Utility performs many of the same functions as the chkdsk command on a PC. To open Disk Utility:[17]
    • Open a Finder window and click Applications in the sidebar menu on the left.
    • Scroll down in the Applications list and click the Utilities folder.
    • Double-click Disk Utility.
  2. 2
    Reboot your Mac in recovery mode if you can’t start up normally. Depending on whether your Mac has Apple Silicon or an Intel processor, there are two different ways to do this:[18]
    • For Apple Silicon, turn on your computer, but keep holding the power button until you see a menu screen with startup options. Click Options, then click Continue.
    • If you have an Intel processor, turn on your computer, then press and hold Command+R until the Apple logo appears.
    • Once you enter recovery mode, your computer may ask you to select a user and enter the password. If this happens, select the user, then hit Next. Enter the correct password for the selected user on the next screen.
    • Select Disk Utility from the Utilities window.
  3. 3
    Select Show All Devices to view your disks. In the Disk Utility app, click the View button in the top left corner of the app window. From there, select Show All Devices. Select the disk you want to check from the left-hand sidebar.[19]
  4. 4
    Choose the last volume on any disk you want to repair. If your disks are divided up into separate volumes, start by running a disk check on the lowest volume in the nested list.[20]
    • For instance, if you’re checking Macintosh HD, you might start by selecting Macintosh HD – Data.
    • As you check each volume, move up the list from volumes to containers to disks.
  5. 5
    Click First Aid. Once you’ve selected the volume, container, or disk you want to check, click on the First Aid button or tab at the top of the Disk Utility window. This button looks like a stethoscope.[21]
  6. 6
    Select Run. In some versions of the app, you may see a Repair Disk button instead. Click the button to begin running a disk check.[22]
    • You may be prompted to enter your administrator password to unlock the disk.
    • Once the disk check is done, click the Done button, then move on to checking the next volume, container, or disk. Quit the app and restart your computer when you’re finished.
    • The disk utility should repair any errors it finds. If finds an error that it can’t repair, you may need to reformat your disk.
  7. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Why do I receive a "file not found" error when I run CHKDSK?
    How.com.vn English: Skooter1504
    Skooter1504
    Community Answer
    You are likely missing a file that's important for the program to function. Make sure you have all required files for it.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Megaera Lorenz, PhD
      Written by:
      How.com.vn Staff Writer
      This article was co-authored by How.com.vn staff writer, Megaera Lorenz, PhD. Megaera Lorenz is an Egyptologist and Writer with over 20 years of experience in public education. In 2017, she graduated with her PhD in Egyptology from The University of Chicago, where she served for several years as a content advisor and program facilitator for the Oriental Institute Museum’s Public Education office. She has also developed and taught Egyptology courses at The University of Chicago and Loyola University Chicago. This article has been viewed 343,162 times.
      How helpful is this?
      Co-authors: 18
      Updated: August 11, 2022
      Views: 343,162
      Thanks to all authors for creating a page that has been read 343,162 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement