Whenever I start xp professional SP2, it tells me that D drive (partition) needs to be checked for integrity and runs fle checker, without finding any problems. I have recently had a bad virus, which has ben cleared. do I need to change a setting somewhere, please?
If you have tried both the above suggestions and are still in trouble then what you're experiencing is what Windows refers to as "setting the dirty bit" and what you have to do is unset that bit. Every time Windows XP starts, autochk.exe is called by the kernel to scan all volumes to 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.
Now how to fix it.
First click Start> Run> and bring up a command prompt by typing in "CMD" and then type "fsutil dirty query d:" but without the quotes. This queries the drive, and more than likely it will tell you that it is dirty. Next, type "CHKNTFS /X D:". The X tells Windows to NOT 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 fully loaded, bring up another CMD prompt and now you want to do a Chkdsk manually by typing "Chkdsk /f /r d:". This should take you through 5 stages of the scan and will unset that dirty bit. Finally, type "fsutil dirty query d:" and Windows will confirm that the dirty bit is not set on that drive. Good luck!
Very grateful for all assistance offered. Fruit Bat - what a brilliant site! Eric - just about to try your very detailed advice....after I have set a system restore point! Thanks to all - will let you know outcome
hi i have same problem but when i try to run chkdsk manuly i get this massage
chkdsk /f /r d: The type of the file system is NTFS.
Chkdsk cannot run because the volume is in use by another process. Chkdsk may run if this volume is dismounted first. ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID. Would you like to force a dismount on this volume? (Y/N) y
Chkdsk cannot dismount the volume because it is a system drive or there is an active paging file on it. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)
Hi herangi. That message is saying that checkdisk can't run while the drive is being used to run the computer. If you answer Yes (y), then it will run when you next run the computer, so simply type in y, and restart the computer.