Chkdsk keeps running every time I restart my computer
Thursday, November 19, 2009 at 11:16AM From a forum user;
Problem:
On XP pro 32 bit, I un-installed some programs, and now chkdsk runs every time I restart the computer.
Explanation:
Click below to see a long explanation
Solution:
First, you need to open a command prompt with Administrative privileges.
-In xp, simply click the start menu, then RUN, then type "cmd" and hit enter.
-In Vista and 7, click the start menu, then type “cmd”. Right-click the icon at the top of the search field, and click “Run as Administrator”, then accept the user account control prompt.
Once you’ve got command prompt open, just type one of these commands (in bold, below) depending on what you’d like to do. (Click "Read more" for more information.)
Chkntfs C:
This will tell you if the drive is dirty or not. If it's telling you it IS dirty, you should probably backup your data before doing anything else, since this means the system (erroneously, or not) has identified a “dirty bit”. (It's also possible the drive is being seen as dirty when it's not due to a bad SATA/IDE cable. That's a hardware issue, and I won't address that here since it's also fairly rare.)
Chkntfs /d
This will set the drives to their default status. At boot-up they'll be checked for dirty-ness, and will be scanned accordingly IF found to be dirty.
If it still tries to scan on the next reboot after using this command, you can manually mark a drive as clean with the following:
Chkntfs /x c:
This should return the message: "The type of file system is NTFS" if successful.
This excludes the drive from chkdsk.
Be careful when using this command as it won't call a chkdsk/autochk even if it needs one!
There’s one more thing you should know – If this chkdsk scan was initiated by the user with the command: “chkdsk c: /f /r”, in SOME cases the only way to stop this (assuming actually running the chkdsk at your next reboot doesn’t stop it, or isn't an option...) is to remove the addition created in the bootexecute value.
That value should look something like this:
autocheck autochk /r \??\C:
and it should exist in your registry, in the location above (HKLM\system\currentcontrolset\control\session manager).
To fix this, start by opening regedit.
-In XP, click the start menu, then run, and type in “regedit”, then hit enter.
-In Vista and 7, just click the start menu, type regedit, and hit enter.
!!IMPORTANT!! Back up your registry at this point, before making any changes. To do that, click FILE, then EXPORT. In the next window, at the bottom left, make sure “ALL” is selected, and save the file to your C: drive as “reg_backup” or something along those lines.
Once you have regedit open, navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager, and then double-click on “BootExecute”.
If you see the entry: “autocheck autochk /r \??\C:” in BootExecute, delete that entire line, but leave anything else in there, that’s in there.
That should do it!

Reader Comments