Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Check Disk - chkdsk

Comment
 
LinkBack Tutorial Tools Display Modes
<!-- google_ad_section_start -->Check Disk - chkdsk<!-- google_ad_section_end -->
Check Disk - chkdsk
Published by Brink
05-02-2007

How to Run Check Disk at Startup in Vista
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
  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
  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
  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
RELATED LINKS:



METHOD ONE:
Run Check Disk from within Vista
NOTE
  This method does 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, or Method Four 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)
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: 85384
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.
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.
NOTE: For how, see: How to Start Vista in Safe Mode
B) Go to step 3.
2. To Run chkdsk from the Vista Installation DVD Recovery Console -
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.
NOTE: For how, see: How to Do a Startup Repair in Vista
C) Select Command prompt.

D) Go to step 4 below.
3. To Run chkdsk in a Elevated Command Prompt -
A) Open 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:
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).
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.
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.
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.
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.
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.
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.
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 from the Registry
Through a 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.


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).


The Manual Way:
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.
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.
Name:  Modify.jpg
Views: 77663
Size:  37.4 KB
9. The registry will now look like this. (See screenshot below)
bootexecute_reg2.jpg
10. Close regedit.


11. Restart the computer to run chkdsk at startup.
That's it,
Shawn
Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 23,763
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Page copy protected against web site content infringement by Copyscape

Old 01-24-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Checkdisk

Updated 1-24-2008 to include Method Three.

Shawn
My System SpecsSystem Spec
Old 02-06-2008  
aftermath
Member


Join Date: Feb 2008
Vista Home Premium 32bit
 
Rep Power: 11
aftermath is on a distinguished road
  aftermath is offline

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
Old 02-06-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

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
Old 02-13-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Check Disk - chkdsk

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

Shawn
My System SpecsSystem Spec
Old 02-13-2008  
aftermath
Member


Join Date: Feb 2008
Vista Home Premium 32bit
 
Rep Power: 11
aftermath is on a distinguished road
  aftermath is offline

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
Old 02-13-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Check Disk - chkdsk

aftermath,

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

Shawn
My System SpecsSystem Spec
Old 06-04-2008  
lothia
Newbie


Join Date: Jun 2008
Vista Home Premium 32bit
 
Rep Power: 8
lothia is on a distinguished road
  lothia is offline

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; 06-04-2008 at 09:38 PM..
My System SpecsSystem Spec
Old 06-04-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

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
Old 06-18-2008  
amphibia
Newbie


Join Date: Jun 2008
Vista Business
 
Rep Power: 8
amphibia is on a distinguished road
  amphibia is offline

Re: Checkdisk

Quote:
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
Comment

Tags
check disk, chkdsk, chkntfs, fsutil, performance & maintenance

Tutorial Tools
Display Modes


Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
chkdsk does not check drive on re-boot zorzal Vista performance & maintenance 12 01-11-2009 06:55 PM
Chkdsk Hangs every time. Disk reports OK? Adam Vista General 8 06-08-2008 06:47 AM
Chkdsk Freeze at 3% - Missing 31GB hard disk space Jetaimebelgium Vista General 2 11-22-2007 11:57 AM
Protokollproblem with Check Disk (chkdsk) Hansi57 Vista account administration 0 06-24-2006 04:19 AM
The output to Monitor of Check Disk (chkdsk) is disordered? Hansi57 Vista account administration 0 06-24-2006 04:16 AM


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006