This article was co-authored by wikiHow 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.
There are 10 references cited in this article, which can be found at the bottom of the page.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 365,930 times.
Learn more...
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.
Steps
-
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 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 Start Button and select Open Windows Explorer in the shortcut menu that pops up.[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 Start Button in the lower left corner of your screen, then select Computer or My Computer to see a list of your drives.
Advertisement -
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:).[4]
- You can also Ctrl+click the disk icon to open a pop-up menu.
-
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.[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.[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.[7]
- 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.
-
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.
-
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.[8]
- You may see a prompt asking you to allow the app to make changes to your PC. If so, click Yes to continue.
-
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.[9]
- If the drive is currently in use, Command Prompt may prompt you to restart your computer. Type Y and press ↵ Enter to restart.
-
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://learn.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.
-
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.
-
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]
-
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.
-
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]
-
Click Troubleshoot. In the Repair your computer menu, select Troubleshoot. This will open a new window with a variety of system recovery options.[14]
-
Open Advanced options. When the Troubleshoot menu opens, click on Advanced options.[15]
-
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.
-
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.
-
1Launch 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.
-
2Reboot 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.
-
3Select 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]
-
4Choose 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.
-
5Click 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]
-
6Select 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.
Community Q&A
-
QuestionWhy do I receive a "file not found" error when I run CHKDSK?Skooter1504Community AnswerYou are likely missing a file that's important for the program to function. Make sure you have all required files for it.
Video
Tips
References
- ↑ https://support.microsoft.com/en-us/windows/find-and-open-file-explorer-ef370130-1cca-9dc5-e0df-2f7416fe1cb1
- ↑ https://support.microsoft.com/en-us/topic/check-your-hard-disk-for-errors-in-windows-7-ddeb9e4b-6777-b2bd-4507-9259dba1a495
- ↑ https://support.microsoft.com/en-us/windows/my-computer-is-now-this-pc-ddb34f0e-85f2-1cdd-6327-02879f2360f5
- ↑ https://support.microsoft.com/en-us/topic/check-your-hard-disk-for-errors-in-windows-7-ddeb9e4b-6777-b2bd-4507-9259dba1a495
- ↑ https://support.microsoft.com/en-us/topic/check-your-hard-disk-for-errors-in-windows-7-ddeb9e4b-6777-b2bd-4507-9259dba1a495
- ↑ https://support.microsoft.com/en-us/topic/check-your-hard-disk-for-errors-in-windows-7-ddeb9e4b-6777-b2bd-4507-9259dba1a495
- ↑ https://support.microsoft.com/en-us/topic/check-your-hard-disk-for-errors-in-windows-7-ddeb9e4b-6777-b2bd-4507-9259dba1a495
- ↑ https://grok.lsu.edu/article.aspx?articleid=18026&printable=y
- ↑ https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk
- ↑ https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk
- ↑ https://www.microsoft.com/en-us/software-download/windows10ISO
- ↑ https://support.microsoft.com/en-us/windows/recovery-options-in-windows-31ce2444-7de3-818c-d626-e3b5a3024da5#bkmk_win11_startup_repair
- ↑ https://support.microsoft.com/en-us/windows/recovery-options-in-windows-31ce2444-7de3-818c-d626-e3b5a3024da5#bkmk_win11_startup_repair
- ↑ https://support.microsoft.com/en-us/windows/recovery-options-in-windows-31ce2444-7de3-818c-d626-e3b5a3024da5#bkmk_win11_startup_repair
- ↑ https://support.microsoft.com/en-us/windows/recovery-options-in-windows-31ce2444-7de3-818c-d626-e3b5a3024da5#bkmk_win11_startup_repair
- ↑ https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk?tabs=event-viewer
- ↑ https://support.apple.com/en-us/guide/disk-utility/dskutl1029/mac
- ↑ https://support.apple.com/en-us/102611
- ↑ https://support.apple.com/en-us/102611
- ↑ https://support.apple.com/en-us/102611
- ↑ https://support.apple.com/en-us/102611
- ↑ https://support.apple.com/en-us/102611