Stop Chkdsk from running during start-up

Acesta este primul din o serie de articole care vor descrie cum se repara diferite probleme pe care le-am intampinat in procesul de utilizare a computerelor. Textul va fi in general in limba engleza si e un colaj cu text din diferitele locuri unde am gasit solutia.

Articolul original se gaseste aici.

Problema se aplica sistemului de operare Windows XP cu sistem de fisiere FAT32 sau NTFS.

Problema:

Recently I have noticed that each time I boot my system, the operating system (Windows XP Pro SP2) runs ScanDisk on my D: drive, stating that the computer did not shut down properly, which is not true. The system then runs a full ScanDisk on drive D: and gives an error-free report. Then after that, each time I boot, it runs ScanDisk on my D: drive all over again, finds no errors. Kindly suggest how to get rid of this annoyance.

Solutia:

Hello, what you’re experiencing is what Windows refers to as “setting the dirty bit” and what you have to do is unset that bit. Every time Windows XP starts, autochk.exe is called by the kernel to scan all volumes to check if the volume dirty bit is set. If the dirty bit is set, autochk performs an immediate chkdsk /f on that volume. Chkdsk /f verifies file system integrity and attempts to fix any problems with the volume. It is usually caused by a hard shut down or a power loss during a read-right operation on that particular drive.

How do I fix it, you ask?

Well, that’s easy. First click Start> Run> bring up a command prompt by typing in “CMD” and type ” fsutil dirty query d: “. This queries the drive, and more than likely it will tell you that it is dirty. Next, type “CHKNTFS /X D:”. The X tells Windows to NOT check that particular drive on the next reboot. At this time, manually reboot your computer, it should not do a Chkdsk and take you directly to Windows.

Once Windows has fully loaded, bring up another CMD prompt and type and now you want to do a Chkdsk manually by typing “Chkdsk /f /r d:”. This should take you through 5 stages of the scan and will unset that dirty bit. Finally, type “fsutil dirty query d:” and Windows will confirm that the dirty bit is not set on that drive. Good luck!

Advertisements

5 Responses to “Stop Chkdsk from running during start-up”


  1. 1 Customcadillac May 18, 2008 at 9:32 pm

    Worked like a charm. In my case (Win XP home Ed, SP2a) CHKNTFS.exe was in Windows\System32 rather than Windows\system. All I did was run the CHLNTFS /X C: command from system 32.

  2. 2 Customcadillac May 18, 2008 at 9:33 pm

    (in my case, CHKDSK was running on C: instead of D: as asked by the original question.)

  3. 3 Dan S. May 18, 2008 at 9:46 pm

    I’m glad that it worked for you 🙂

  4. 4 Alexwebmaster March 3, 2009 at 4:44 pm

    Hello webmaster
    I would like to share with you a link to your site
    write me here preonrelt@mail.ru

  5. 5 Tom July 14, 2012 at 1:30 pm

    Brilliant!! perfect solution even now in 2012


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s





%d bloggers like this: