Cannot defragment drive Win XP
Started by
ruffruff
, May 09 2006 07:39 PM
#1
Posted 09 May 2006 - 07:39 PM
#2
Posted 09 May 2006 - 10:38 PM
Hi ruffruff...
Query the drive again...is it still dirty?
Click Start, then Run, type cmd, and click "Ok". In the command window that opens, type fsutil dirty query y: at the prompt and press "Enter".
wannabe1
Query the drive again...is it still dirty?
Click Start, then Run, type cmd, and click "Ok". In the command window that opens, type fsutil dirty query y: at the prompt and press "Enter".
wannabe1
#3
Posted 10 May 2006 - 05:00 AM
This is the message I see after restarting , "Warning! 1 parameter specified. Your drive may still be corrupt even after running CHKDSK. The volume is dirty. " I let the computer go through the 5 steps but the volume is still dirty and will not defrag.
#4
Posted 10 May 2006 - 07:05 AM
ruffruff...
This next step is important as this is where the Dirty Bit will be unset.
Click Start, then Run, type cmd in the Open box and click "Ok". At the command prompt, type the following, pressing "Enter" after each one: (Again, note the spaces.)
Finally, when the chkdsk operation has completed, type fsutil dirty query y:, press "Enter", and Windows will confirm that the Dirty Bit is not set on that drive.
Now reboot again and see if you can defrag the drive.
wannabe1
Note: The commands in this reply are specifically for this member and will not be valid commands on other computers.
- If you have Spyware Doctor installed, uninstall it.
- If you have ZoneAlarm installed, open it, click the "Overview" tab, then select "Preferences", and UNcheck the "Protect ZA Client" check box.
- chkntfs /d ..... (This will reset autocheck options to default)
- chkntfs /y Y: ..... (This will allow checking drive Y:)
- fsutil dirty query y: ..... (This queries the drive and will most likely tell you that it is dirty)
- chkntfs /x y: ..... (The x switch tells Windows to NOT check the specified drive on the next boot)
This next step is important as this is where the Dirty Bit will be unset.
Click Start, then Run, type cmd in the Open box and click "Ok". At the command prompt, type the following, pressing "Enter" after each one: (Again, note the spaces.)
- chkdsk /f /r y: ..... (To manually run a full chkdsk operation)
- Y ..... (To accept having it run on the next boot)
Finally, when the chkdsk operation has completed, type fsutil dirty query y:, press "Enter", and Windows will confirm that the Dirty Bit is not set on that drive.
Now reboot again and see if you can defrag the drive.
wannabe1
Note: The commands in this reply are specifically for this member and will not be valid commands on other computers.
Edited by wannabe1, 10 May 2006 - 07:06 AM.
#5
Posted 10 May 2006 - 03:02 PM
Thanks for trying to help...I tried typing the commmands but when I tried "chkntfs /y Y:" I got an "invalid parameter" message. Any idea?
#6
Posted 10 May 2006 - 03:19 PM
y: refers to a y: volume, which I do not think you have, do you?
I think that was a typo or he means substitute your drive letter (c:) for y:
I think that was a typo or he means substitute your drive letter (c:) for y:
#7
Posted 10 May 2006 - 03:45 PM
The partition in question is named "Y"...I have a large hd that is partitioned into 3 parts. The y: volume is the one I cannot defrag
#8
Posted 10 May 2006 - 03:52 PM
Is it the "Y" partition that is coming back as "dirty" or is it the root drive (C:) that is flagged as dirty?
Have you queried the drive as I suggested in my first reply to the topic? If not, query the C: drive:
Click Start, then Run, type cmd, and click "Ok". In the command window that opens, type fsutil dirty query c: at the prompt and press "Enter".
Does this drive come back flagged as "dirty"?
Have you queried the drive as I suggested in my first reply to the topic? If not, query the C: drive:
Click Start, then Run, type cmd, and click "Ok". In the command window that opens, type fsutil dirty query c: at the prompt and press "Enter".
Does this drive come back flagged as "dirty"?
Edited by wannabe1, 10 May 2006 - 03:53 PM.
#9
Posted 10 May 2006 - 03:57 PM
ahh, read too quickly
valid parameters for chkntfs are
volume: [...] : Required. Specifies the drive letter (followed by a colon), mount point, or volume name.
/d : Restores all chkntfs default settings, except the countdown time for automatic file checking.
/t[:time] : Changes the Autochk.exe initiation countdown time to the specified amount of time entered in seconds.
/x volume: [...] : Excludes the specified volume from being checked when the computer starts, even if the volume is marked as requiring chkdsk.
/c volume: [...] : Schedules the specified volume to be checked when the computer starts.
There is no /y parameter
chkntfs y: will set it to check that volume
valid parameters for chkntfs are
volume: [...] : Required. Specifies the drive letter (followed by a colon), mount point, or volume name.
/d : Restores all chkntfs default settings, except the countdown time for automatic file checking.
/t[:time] : Changes the Autochk.exe initiation countdown time to the specified amount of time entered in seconds.
/x volume: [...] : Excludes the specified volume from being checked when the computer starts, even if the volume is marked as requiring chkdsk.
/c volume: [...] : Schedules the specified volume to be checked when the computer starts.
There is no /y parameter
chkntfs y: will set it to check that volume
#10
Posted 10 May 2006 - 04:02 PM
I queried the "c" drive and it is not "dirty"
#11
Posted 10 May 2006 - 04:55 PM
It would appear gerryf is correct about the typo...and I only had to read the whole thing three times to spot it... I had included a y switch when there is no y switch it should have been a c switch to enable checking a specified volume...nice catch gerry, and sorry for the confusion. Modified instructions follow...
Click Start, then Run, type cmd in the Open box and click "Ok". At the prompt in the Command window, type the following commands, pressing "Enter" after each one: (Please note the spaces in the following commands.)
This next step is important as this is where the Dirty Bit will be unset.
Click Start, then Run, type cmd in the Open box and click "Ok". At the command prompt, type the following, pressing "Enter" after each one: (Again, note the spaces.)
Finally, when the chkdsk operation has completed, type fsutil dirty query y:, press "Enter", and Windows will confirm that the Dirty Bit is not set on that drive.
Now reboot again and see if you can defrag the drive.
Click Start, then Run, type cmd in the Open box and click "Ok". At the prompt in the Command window, type the following commands, pressing "Enter" after each one: (Please note the spaces in the following commands.)
- chkntfs /d ..... (This will reset autocheck options to default)
- chkntfs /c Y: ..... (This will allow checking drive Y:)
- fsutil dirty query y: ..... (This queries the drive and will most likely tell you that it is dirty)
- chkntfs /x y: ..... (The x switch tells Windows to NOT check the specified drive on the next boot)
This next step is important as this is where the Dirty Bit will be unset.
Click Start, then Run, type cmd in the Open box and click "Ok". At the command prompt, type the following, pressing "Enter" after each one: (Again, note the spaces.)
- chkdsk /f /r y: ..... (To manually run a full chkdsk operation)
- Y ..... (To accept having it run on the next boot)
Finally, when the chkdsk operation has completed, type fsutil dirty query y:, press "Enter", and Windows will confirm that the Dirty Bit is not set on that drive.
Now reboot again and see if you can defrag the drive.
Edited by wannabe1, 10 May 2006 - 05:10 PM.
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users