Title : How to prevent CHKDSK from starting upon bootup in Vista
Author : Alan McCloskey
Date : Monday, July 30, 2007


How Do I Prevent CHKDSK From Running Every Time My PC Starts?

Sometimes you need to check the health of your hard drives by running a diagnostic on them, but you cannot fix any problems because "the system cannot get exclusive access to the drive". This problem occurs more frequently on the drive in which Windows is installed.

So, you schedule CHKDSK to run before boot (or sometimes Windows will schedule it), and it either takes friggin' forever, or tries to run a CHKDSK every time you boot! The problem is that a flag has been set on your drive and isn't being cleared after a successful run. There is a simple procedure to correct this problem, but you have to go through a few screens in Vista or XP to do it.

  1. Click the Start Button. From the Start menu click Run
  2. In the Run dialogue box type: cmd. The command prompt window will now open
  3. In the command prompt window type: fsutil dirty query c: (If you have a dual boot system then replace the C: drive letter with the relevant drive letter you have been having problems with). Press Enter.
  4. The response from the file system utility will probably be that the disk is 'dirty'
  5. Now type: CHKNTFS /X C: into the command prompt windows and press Enter. (If you have a dual boot system then replace the C: drive letter with the relevant drive letter you have been having problems with). The X parameter, in this case, tells windows not to check the disk in question
  6. Re-boot your PC. You should now find that CHKDSK does not run on the selected drive
    The different commands to check your drive status and stop CHKDSK


  7. Once you have confirmed that CHKDSK does not run and your PC has fully booted click Start>Run again and type cmd.
  8. In the command window now type: chkdsk /f /r c: and press Enter. Again replace the C: (If you have a dual boot system then replace the C: drive letter with the relevant drive letter you have been having problems with)
  9. After the drive has been scanned type: fsutil dirty query c: and press Enter
  10. Windows should now confirm that the 'dirty bit' has been disabled

Back to the Articles.
 
Add Comments
Related Articles

  • Reviews : WindowBlinds 7 Review
  • Reviews : Resident Evil 5 for PC Preview
  • Articles : The OS Wars
  • Articles : File Systems Explained
  • Articles : Building a Media Center PC Part 2
  • Guides : Use Password Phrases for Better Security
  • Guides : Change Time format to Military or International
  • Guides : How to Clean Windows Registry
  • Guides : Create a Custom Boot Logo for Windows Vista
  • Comments

    By tony on Saturday, July 26, 2008 9:20:47 AM
    works fine now thank you
    By Pakistani Dragon on Wednesday, July 29, 2009 10:57:45 AM
    Aslam-Alaikum

    After I type chkdsk  f  r c: in step 8, I get the following:

    The type of the file system is NTFS.
    Cannot lock current drive.

    Chkdsk cannot run because the volume is in use by an another process. Would you like to schedule this volume to be checked the next time the system restarts

    Could you please advise the next course of action.
    By Alan on Thursday, July 30, 2009 1:09:30 AM
    You usually get a "drive is locked" message on the drive where Windows is installed (usually C:). You say "yes" to a scheduled disk check and the system will run CHKDSK on the next system boot.
    By Tawn on Friday, November 06, 2009 11:37:41 AM
    After I put in the command "fsuftil..." I get an error message saying I don't have administration authority. WTF?

    I'm the only person who uses this computer and it's a home version.
    Comment on this article!
    Name:
    Email:
    Comment:
     
    All entries are logged and must be approved before publication.
    Random Gallery Images
    GET FREE HARDWARE!
     
    Sign up for our free newsletter and enter exclusive contests with great hardware prizes.  In addition, you get access to exclusive tutorials not available anywhere else on the site.
    Name:
    Email:
    Join the Facebook Club

    Follow on Twitter

    Add RSS


    [ search OCMS ]
     

    REVIEWS TECH NEWS
    GAMING AUDIO/VIDEO GADGETS

     
    Blog Posts
    More Hard Drive Woes Windows 7 Programs not launching Making a tech site profitable OCModShop Full Time? Rock Band Unplugged: Legendary Status Batman Arkham Asylum Game of the Year? Sinuses: Shock and Awe Nintendo New Download Releases for the Week of 9/20 Mad Catz Gains Rights to Sonic the Hedgehog Videogame Accessories ‘Formal Protest’ for Jim Parsons

    Latest Hardware Rebates
    Shopping
    Core i7 965 Extreme
    Core i7 940
    Core i7 920
    Core 2 QX9770
    Core 2 Q9650
    Core 2 Quad Q6700
    Core 2 Quad Q6600
    Core 2 Duo E8400
    Core 2 Duo E6850


    Phenom 9850 Black
    Phenom 9750 Black
    Phenom 9600 Black
    Phenom 9600
    Phenom 9500
    Athlon 64 X2 6400+ Black
    Athlon 64 X2 6000+
    Athlon 64 X2 5600+
    Athlon 64 X2 5200+


    Intel DX58SO
    Gigabyte GA-EX58-UD5
    Asus Rampage Formula
    Gigabyte GA-EP45-DS3L
    Gigabyte GA-X38-DQ6
    Asus P5K Deluxe
    Shuttle SP35P2 Pro
    Shuttle SG33G5
    Antec Sonata III
    Cooler Master Cosmos
    PCP&C Silencer 750W
    Samsung 22" 226BW
    GeForce GTX 280
    GeForce GTX 260
    GeForce 9800 GTX
    GeForce 9800 GT
    GeForce 8800 Ultra


    Radeon HD 4870 X2
    Radeon HD 4870
    Radeon HD 4850 X2
    Radeon HD 4850


    Seagate 7200.11 1.5TB
    Seagate 7200.11 1TB
    WD Passport Elite 500GB
    1TB Hitachi 7K1000
    1TB Caviar GP
    750GB Caviar SE16
    750GB Barracuda


    Call of Duty World at War
    Grand Theft Auto IV
    Fallout 3
    Fable II
    Madden NFL 09
    Left 4 Dead
    Rock Band 2
    Guitar Hero World Tour

    site map | advertise | subscribe | privacy policy | RSS feeds

    Website design by Alan McCloskey. All content © OCModShop.com: 2001 - 2009, reproduction by permission only.