Anyone know how to clear the dirty bit so dfrag runs.

N

Nick Burns

Searched for days and know one seems to know how to clear this bit so defrag
runs and chkdsk don't run on every boot. All fix's just make chkdsk not run,
but don't address the real problem. How hard is it to clear one bit....?
What is the mystery with lack of info on this problem. Seen others with the
same problem and have found no fix, what gives...?
 
J

jeffrey

Hi,

have you tried third party programs to see if it can fix it? Windows
builtin programs aren`t always the best to use.

Jeff
 
K

Kelly

Hi Nick,

Info for you.

Disable Windows File Protection (Line 127)
http://www.kellys-korner-xp.com/xp_tweaks.htm

Prevent Check Disk Upon Boot (Line 294)
http://www.kellys-korner-xp.com/xp_tweaks.htm

Check Disk - Disk Checking Runs Upon Boot
http://www.kellys-korner-xp.com/xp_c.htm#cd

Check Disk runs on every boot: Note - I have seen this happen when Windows
File Protection has either been disabled or not allowed to run upon
cancelling the bootup Check Disk.

Suggestions and Checkpoints:

Go to Start/Run/CMD and type in: fsutil dirty query c:
(Modify the drive letter accordingly)

If it comes back as dirty, it hasn't cleared. For more information go to
Start/Run/CMD and type in: CHKNTFS /?

Option: From a command prompt type chkntfs /D and then reboot, a chkdsk
should run but not again on next boot.

This edit does not work for all users, circumstances depending:

Disable or Enable CheckDisk Upon Boot (Line 82)
http://www.kellys-korner-xp.com/xp_tweaks.htm

To use the Regedit: Save the REG File to your hard disk. Double click it
and answer yes to the import prompt. REG files can be viewed in Notepad by
right clicking on the file and selecting Edit.

Chkdsk Runs Each Time That You Start Computer
http://support.microsoft.com/support/kb/articles/q316/5/06.asp

Checkpoint:

Go to Start/Run/Regedit and navigate to this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Highlight the Winlogon file.

In the list look for "SFCScan", this should be set to (0) if it is set to
(1) the scan will happen at every boot.

Go to Start/Run/Regedit and navigate to this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

Look for the REG_MULTI_SZ value with the following name: BootExecute. This
value contains commands that will be executed at startup. The default value
is: autocheck autochk *

After scheduling one or more chkdsks, the entry will contain one or more
autochk lines. Delete each of these lines and put the default one in place.

If you always want a check to be performed at startup, change the value to:
autocheck autochk /f *

If you don't want any checks to be performed, delete all autocheck entries.

Last checkpoint: Modify as needed:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComp
uter\cleanuppath
Registry entry should read: %SystemRoot%\system32\cleanmgr.exe /D %c


--
All the Best,
Kelly (MS-MVP)

Troubleshooting Windows XP
http://www.kellys-korner-xp.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top