MIKE'S Computer Support

www.mgmcc.org.uk
 
HomeHome  ­FAQFAQ  ­RegisterRegister  ­Log inLog in  
Post new topic   Reply to topicShare | 
 

 Chkdsk runs whenever PC boots

View previous topic View next topic Go down 
AuthorMessage
mgmcc
Admin


Number of posts: 435
Registration date: 2008-10-13
Location: Dundee, Scotland

PostSubject: Chkdsk runs whenever PC boots   Tue Oct 14, 2008 8:30 pm

What you're experiencing is what Windows refers to as "setting the dirty bit" and you have to unset that bit. Each time Windows XP starts, autochk.exe is called by the kernel to scan all volumes and 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-write operation on that particular drive.

Open a Command Prompt window ("Start > Run" type cmd and click OK). At the prompt, type FSUTIL DIRTY QUERY C: and press Enter. This queries the drive and more than likely it will tell you that it is dirty. Next, type CHKNTFS /X C: The X tells Windows NOT to 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 loaded, open a Command Prompt window again and perform a Chkdsk manually by typing CHKDSK /F /R C: This should take you through 5 stages of the scan and will unset that dirty bit. Finally, type FSUTIL DIRTY QUERY C: and Windows should confirm that the dirty bit is not set on that drive.

_________________
Mike
Back to top Go down
Online
oldfogy



Number of posts: 376
Registration date: 2008-10-14
Location: Birmingham UK

PostSubject: Re: Chkdsk runs whenever PC boots   Sun Oct 18, 2009 3:53 pm

Would this not be more appropriate in the tutorials section?

_________________
If it ain't broke.
Don't fix it.
Back to top Go down
 

Chkdsk runs whenever PC boots

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
MIKE'S Computer Support :: Operating Systems :: Windows XP :: XP Tips & Tutorials-
Post new topic   Reply to topic