Link to home
Start Free TrialLog in
Avatar of johnjans
johnjans

asked on

Windows checks drive at every startup

Hi,

I recently reformatted two partitions on my PC (C: and D:) since i reinstalled the OS. Now everytime when i startup XP it first runs a checkdisk on the D: drive ("windows needs to control diskspace on for consistancy...." etc). I let it run most of the time, it seems to do fine and the XP starts OK. The D drive is in use for programs and does not report any errors.

D drive was formatted using PartitioinMagic. C drive reformatted during reinstallation by the XP setup program.

But the chkdisk routine runs before every new start.

Why is this and how do i prevent it or fix it ?

If additional information is required, i will gladly supply it.

Thanks,
John
Avatar of CrazyOne
CrazyOne
Flag of United States of America image

Start > Run regedt32

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

and remove all lines and text in BootExecute




http://www.winguides.com/registry/display.php/907/

When Windows is not shutdown correctly it will perform an AutoCheck using CHKDSK on the next restart. This setting controls the time delay before running Autochk or whether it is run at all.

Open your registry and find or create the key below.

Create a new DWORD value, or modify the existing value, called "AutoChkTimeOut" and set it according to the value data below.

Exit your registry, you may need to restart or log out of Windows for the change to take effect.

Registry Settings
System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
Value Name: AutoChkTimeOut
Data Type: REG_DWORD (DWORD Value)
Value Data: Time in Seconds or 0 to disable (default = 10)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
Avatar of johnjans
johnjans

ASKER

CrazyOne..... you are FAST !!
I deleted the BootExecute variable and now XP starts like a charm. My only worry: have a disabled a valid service now ?
 I.o.w is the problem really fixed, or is it just masked  ?
When i try to do an analyses before defrag on the D: drive i get a warning:
"Defrag has found that a chkdsk is planned for Volume D: Run chkdsk /f."
What does that mean ?
ASKER CERTIFIED SOLUTION
Avatar of CrazyOne
CrazyOne
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
Thanks, that helped. Everything fine now !
You are welcome :)