Link to home
Start Free TrialLog in
Avatar of DJMTEK
DJMTEKFlag for Canada

asked on

Chkdsk runs every reboot

Following a system restore, a computer I am working on runs a disk check on the Backup drive (drive D of a Dell) every boot.  Its not checked in the "scan for errors" box in the drive's properties.  Nothing in the boot.ini.  There are never errors found on the drive but windows believes the drive is dirty.  I can't remember where to change this?
ASKER CERTIFIED SOLUTION
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DJMTEK

ASKER

Thanks for the quick response and excellent answer.  This fixed it.  Very much appreciated!
Refer this article
http://www.pcreview.co.uk/forums/thread-72388.php
1. click on your start menu and open the run dialog.
2. type "cmd" and return (note: dont enter quotes)
3. Next type "fsutil dirty query D:"
4. If the return message indicates that the volume is dirty go to step 5
5. Next type "chkdsk D: /f /x"
6. After that finshes repeat step 3.
7. If it is no longer dirty then reboot and you should notice no more
ckdisk.

Other than that, to check the dirty bit on D:, you can use the following command:
chkntfs D:

If it reports as clean, check the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
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.

Another Option:  Go to Start/Run/Regedit and navigate to this key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
ook 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 performedf at startup, change the value to: autocheck autochk /f *
If you don't want any checks to be performed, delete all autocheck entries.