Windows Vista Forums

Check Disk - chkdsk

  1. #1
    <!-- google_ad_section_start -->Check Disk - chkdsk<!-- google_ad_section_end -->

    Check Disk - chkdsk
    How to Run Check Disk at Startup in Vista or Windows 7
    Published by Brink is offline
    02 May 2007
    Check Disk - chkdsk

    How to Run Check Disk at Startup in Vista or Windows 7

    information   Information
    This will show you how to use and run Check Disk or chkdsk at startup from within Vista, the command prompt, and the registry to check for corruption and possibly repair errors and bad sectors on the hard drive.
    Note   Note
    If you had changed your default boot screen, then you will need to temporarily uncheck the No GUI boot to be able to see what is happening when chkdsk is running at boot up. See: How to Enable the Hidden Aurora Boot Screen in Vista or How to Change the Default Boot Screen in Vista SP1
    warning   Warning
    This will take about 20 minutes or so to finish, depending on how big your hard drive is. Do not stop chkdsk once it has started, let it finish. It could cause errors on your hard drive. When you restart to chkdsk, you will only have 10 seconds to press a key to cancel chkdsk. Check for a sticky keyboard key stuck down. It will cancel the chkdsk at startup.
    Tip   Tip
    CHECK DISK WILL NOT RUN AT STARTUP PROBLEM:


    If chkdsk will not run at startup after trying the methods below, then see: How to Fix Chkdsk will Not Run at Startup in Vista





    METHOD ONE

    Run Check Disk from within the Drive's Properties Page

    NOTE: This method may not always run chkdsk when the computer restarts on some computers. I'm not sure why, but if this is your case, then you can do Method Two, Method Three, Method Four, or Method Five below.
    1. Open the Start Menu.

    2. Click on the Computer button.

    3. Right click on your hard drive and click on Properties.

    4. Click on the Tools tab.

    5. Click on Check Now under the Error checking section. (See circled in red below)
    Check Disk - chkdsk-properties.jpg
    6. Click on Continue in the UAC prompt.

    7. Make sure both options are checked. (See screenshot below)
    NOTE: The Automatically fix file system errors box will be checked by default.

    8. Click on the Start button.
    Name:  Check Now.jpg
Views: 722431
Size:  11.8 KB
    9. You will get a pop-up window saying, "Windows can't check this disk while it's use". (See screenshot below)

    10. Click on the Schedule disk check button for chkdsk to run the next time you restart your computer.
    Check Disk - chkdsk-schedule.jpg




    METHOD TWO

    Using chkdsk in a Command Prompt

    1. To Run chkdsk in Safe Mode
    A) Restart the computer and boot into Safe Mode.
    B) Go to step 3.
    2. To Run chkdsk in a Command Prompt at Boot
    A) Place the Vista installation DVD into the DVD drive and restart the computer.
    B) Boot from the DVD into the System Recovery Options screen.
    C) Select Command prompt.

    D) Go to step 4 below.
    3. To Run chkdsk in a Elevated Command Prompt
    4. In the command prompt, type chkdsk or chkdsk C: followed by one or a combination of switches listed in steps 4A to 4D below and press Enter. See the screenshot below for all switch combinations.
    NOTE: If you want check disk to scan a drive other than the C: drive, then substitute the drive letter C: after chkdsk to the drive letter that you want.
    EX: chkdsk E:
    Check Disk - chkdsk-chkdsk_help.jpg
    Type One of these Commands to Run Chkdsk:
    NOTE: The most common command is chkdsk /f or chkdsk C: /f
    A) /f = The /f switch is the most common of the chkdsk switches. It tells chkdsk to try and fix any errors it finds. EX Type: chkdsk /f or chkdsk C: /f
    NOTE: Answer Y when chkdsk asks you if you want to check the drive next time Vista boots (restarts).
    Check Disk - chkdsk-chkdsk_f.jpg
    B) /r = The /r switch tells chkdsk to attempt to recover any bad sectors of the hard drive if any are found. A bad sector is a spot on the hard drive that cannot hold saved data anymore. (See screenshot below)
    EX Type: chkdsk /r or chkdsk C: /r
    NOTE: Answer Y when chkdsk asks you if you want to check the drive next time Windows Vista boots.
    Check Disk - chkdsk-chkdsk_r.jpg
    C) /i = The /i switch tells chkdsk to perform a less detailed but faster disk check. (See screenshot below)
    EX Type: chkdsk /i or chkdsk C: /i
    NOTE: This will run immediately.
    Check Disk - chkdsk-chkdsk_i.jpg
    D) /c = The /c switch tells chkdsk to skip the checking of cycles within a folder structure which reduces the scan time.
    EX Type: chkdsk /c or chkdsk C: /c
    NOTE: This will run immediately.
    Check Disk - chkdsk-chkdsk_c.jpg
    5. Close the command prompt.

    6. Restart the computer to run chkdsk at startup.




    METHOD THREE

    Using chkntfs and fsutil in a Command Prompt

    NOTE: This will reset all drives to be checked at startup and mark a drive as dirty so chkdsk will run at startup for it. Chkdsk will mark the drive clean again after it runs. If chkdsk does not run at startup, then do step 5 only to mark the drive clean again.
    1. Open a elevated command prompt.

    2. To Reset and Check All Drives and Run CHKDSK if a Drive is Dirty
    A) In the command prompt, type chkntfs /d and press Enter. (See screenshot below)
    NOTE: Restores the computer to the default behavior; all drives are checked at boot time and chkdsk is run on those that are marked dirty.

    B) Go to step 4.
    Check Disk - chkdsk-chkntfs_cmd.jpg
    3. To Check a Specific Drive and Run CHKDSK if the Drive is Dirty
    A) In the command prompt, type chkntfs /c C: and press Enter. (See screenshot below)
    NOTE: This will schedule the C: drive to be checked at boot time. If the drive is marked dirty, then chkdsk will run. If you want to schedule another drive letter to be checked, then substitute C: with the drive letter you want checked instead.
    Check Disk - chkdsk-chkntfs_c.jpg
    4. To Mark a Drive Dirty
    A) In the command prompt, type fsutil dirty set c: and press Enter. (See screenshot below)
    NOTE: This marks the c: drive as dirty so chkdsk will run at startup. If you want to run chkdsk on another drive letter, then substitute c: for the drive letter you want instead.
    B) You will now get a Volume - c: is now marked dirty message.
    Check Disk - chkdsk-mark_dirty.jpg
    5. Close the elevated command prompt.

    6. Restart the computer.
    NOTE: Chkdsk will now run at startup. If chkdsk does not run at startup, then run chkntfs /d in step 5A again and see: How to Fix Chkdsk will Not Run at Startup in Vista




    METHOD FOUR

    Run Check Disk Using a REG File Download

    1. Click on the download button below to download the Run_chkdsk.reg file.
    NOTE: If the hard drive you want to run chkdsk on has a different driver letter than C: , then do the Manual Way below to substitute C: with your drive letter instead.
    download
    2. Click on Save, and save the .reg file to the Desktop.

    3. Right click the .reg (On Desktop) file and click Merge.

    4. Click on the Run button in the Security Warning pop-up.

    5. Click on Continue (UAC), Yes, and then OK when prompted.

    6. When done, you can delete the .reg file (On Desktop).





    METHOD FIVE

    Run Check Disk from the Registry Editor

    1. Open the Start Menu.

    2. In the white line (Start Search) area, type regedit and press Enter.

    3. Click on the Continue button in the UAC prompt.

    4. In regedit, go to: (See screenshot below step 5)

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

    5. In the right pane, right click on BootExecute and click on Modify.
    Check Disk - chkdsk-bootexecute_reg.jpg
    6. Highlight the code below, then right click on it and click on Copy.
    NOTE: If the hard drive you want to run chkdsk on has a different driver letter than C: , then substitute C: with your drive letter instead.
    Code:
    autocheck autochk /p \??\C:
    autocheck autochk *
    7. Clear the box, then right click on a empty area in the box and click on Paste to copy the code above into it. (See screenshot below)

    8. Click on OK.
    Check Disk - chkdsk-modify.jpg
    9. The registry will now look like this. (See screenshot below)
    Check Disk - chkdsk-bootexecute_reg2.jpg
    10. Close regedit.

    11. Restart the computer to run chkdsk at startup.
    That's it,
    Shawn





    Related Tutorials


    Published by


    Brink's Avatar
    Administrator

    Join Date: Apr 2007
    Location: Texas, USA
    Posts: 31,280
    Array

    Tutorial Tools


    Applies to

    All Vista Versions
    64 Bit & 32 Bit


  2.   


  3. #1
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,280
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 11:48 AM
    usa us texas

    Re: Checkdisk

    Updated 1-24-2008 to include Method Three.

    Shawn

      My System SpecsSystem Spec

  4.   


  5. #2



    Member
    Join Date : Feb 2008
    Posts : 40
    Vista Home Premium 32bit
    Local Time: 11:48 AM


     

    Re: Checkdisk

    I tried Method 3, and that didn't work. I also tried chkdsk C: /f and chkntfs /c C: with no avail. When I tried sfc /scannow, the scan began and got to the point: Verification 66% complete. Windows Resorces Protection could not perform the requested operation. I also tried chkdsk /i. The scan began the verification. During the verification 117,504 file records were processed, 6 segments were indicated to be corrupt. 93 large files were processed. It then stated: Errors found. CHKDSK cannot continue in read-only mode.

      My System SpecsSystem Spec

  6. #3
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,280
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 11:48 AM
    usa us texas

      Thread Starter

    Re: Checkdisk

    aftermath,

    It sounds like you got some bad corruption problems there. If you do not only have a recovery Vista DVD or partition, then I would recommend doing a Repair install. This will allow you to repair your Vista installation and keep your user account files, settings, and programs.

    How To Perform a Repair Installation For Vista

    Shawn

      My System SpecsSystem Spec

  7. #4
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,280
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 11:48 AM
    usa us texas

      Thread Starter

    Re: Check Disk - chkdsk

    Updated 2-13-2008 to include METHOD FOUR to run chkdsk from registry.

    Shawn

      My System SpecsSystem Spec

  8. #5



    Member
    Join Date : Feb 2008
    Posts : 40
    Vista Home Premium 32bit
    Local Time: 11:48 AM


     

    Re: Check Disk - chkdsk

    Thanks for all your suggestions. My computer locked up in Safe Mode and I was not able to get back to Normal Mode. The only recourse I had was to reimage the hard drive. Everything is now back to normal. Fortunately I had a back-up of all my files. Thanks to all that offered suggestions.

      My System SpecsSystem Spec

  9. #6
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,280
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 11:48 AM
    usa us texas

      Thread Starter

    Re: Check Disk - chkdsk

    aftermath,

    I'm glad to hear everything is back to normal again.

    Shawn

      My System SpecsSystem Spec

  10. #7



    Newbie
    Join Date : Jun 2008
    Posts : 5
    Vista Home Premium 32bit
    Local Time: 11:48 AM


     

    Re: Check Disk - chkdsk

    I have tried all of these methods, and none of them have worked. The one that I thought would be best was the last one, it found a lot of errors but then I couldn't use the program. I found however it I attempt to uninstall it the company offers me a trial 30 day activation key. It might be nice to add that, however right now I still have not fixed my corrupt file which happens to be my C: Users / my_name
    I have tried doing all methods, and when I tried to do it with my Vista DVD it gave me an error saying the files were unwritable or something and would not allow me to run the chkdsk. Any suggestions?

    EDIT: The final method actually worked thanks =). I would suggest adding how to get the activation code, because some of us are kinda stupid and don't notice the obvious.

    Last edited by lothia; 04 Jun 2008 at 09:38 PM.
      My System SpecsSystem Spec

  11. #8
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,280
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 11:48 AM
    usa us texas

      Thread Starter

    Re: Check Disk - chkdsk

    Hi Lothia,

    Welcome to Vista Forums.

    I'm glad to hear that you resolved your problem.

    What program are your referring to when you mention uninstall and a 30 day activation key?

    Shawn

      My System SpecsSystem Spec

  12. #9



    Newbie
    Join Date : Jun 2008
    Posts : 4
    Vista Business
    Local Time: 09:48 AM


     

    Re: Checkdisk

    Quote Originally Posted by aftermath View Post
    I tried Method 3, and that didn't work. I also tried chkdsk C: /f and chkntfs /c C: with no avail. When I tried sfc /scannow, the scan began and got to the point: Verification 66% complete. Windows Resorces Protection could not perform the requested operation. I also tried chkdsk /i. The scan began the verification. During the verification 117,504 file records were processed, 6 segments were indicated to be corrupt. 93 large files were processed. It then stated: Errors found. CHKDSK cannot continue in read-only mode.
    the same story is about me... i can't run chkdsk anyway, and can't create backup because of that, and... what did you tell about restore?
    I've done that (after Vista was crashed all my user folders, and then when it was almost killed my laptop by automated update), no result...

    what can i do?
    sometimes vista says on startup, that one more folder is corrupt and unreadable, the only way to repair is to copy that folder from previously saved backup copy, but yesterday i've lost email database - with all passwords etc....
    how can i repair the disk?

      My System SpecsSystem Spec

Page 1 of 10 123 ... LastLast

Check Disk - chkdsk
Similar Threads
Tutorial Category
Check Disk -chkdsk - problems General Discussion
Windows Vista Check Disk & Disk Defragmenter Vista performance & maintenance
chkdsk does not check drive on re-boot Vista performance & maintenance
Protokollproblem with Check Disk (chkdsk) Vista account administration
The output to Monitor of Check Disk (chkdsk) is disordered? Vista account administration