cannot analyze and defrag the disk

T

Tester

Have you tried to do it from the command prompt? To do this try this:

1) Start, run
2) Type cmd
3) in the black box type: defrag d: /a /f
4) Wait for a few minutes to tell you what is the status of your HD.

hth
 
M

MyNews

Mike fill free to Cut and Paste here for some will not click a link!

More options Dec 16, 10:38 pm
Newsgroups: microsoft.public.windowsxp.help_and_support
From: Mike <[email protected]>
Date: Thu, 16 Dec 2010 19:38:47 -0800 (PST)
Local: Thurs, Dec 16 2010 10:38 pm
Subject: Re: continous reboot when checking disk
Forward | Print | Individual message | Show original | Report this message |
Find messages by this author
Hi
When my PC with Windows XP reboots, it shows disk D: needs to be
checked. Then it fails to successfully check. It reboots again. Then
fail to successfully check D disk.
I skip the disk check, when it shows on blue screen. Then I use
"cmd". I type chkdsk d:. It reboots again.
How to fix it? It seems my data on D: disk are still there and
ok. But it feels very werid.
Thank you very much for help in advance.
Mike
When I reboot my pc with Windows XP in safe mode hitting F8, it
cannot reboot. If it runs on normal mode, and it fails on disk
checking D: disk.
Mike

Is C: and D: on the same HDD?
 
J

Jose

Hi

  I want to defrag d:.  First I analyze it, but there is no any
action.  However, when I analyze c disk, it will show I don't need to
defrag it.
This problem is a follow-on one in the following:http://groups.google.com/group/microsoft.public.windowsxp.help_and_su...

Please help me.  Thank you in advance.

Mike

When chkdsk runs automatically on a reboot, the results are shown in
the Event Viewer Application log. You need to look there after check
disk has run and XP has finished loading for the results and for any
problems.

To see the Event Viewer logs, click Start, Settings, Control Panel,
Administrative Tools, Event Viewer.

A shortcut to Event Viewer is to click Start, Run and in the box
enter:

%SystemRoot%\system32\eventvwr.msc

Click OK to launch the Event Viewer.

Look in the Application log for an event sourced by Winlogon,
something like:

Event Type: Information
Event Source: Winlogon
Event Category: None
Event ID: 1001
Description:

Checking file system on C:

The type of the file system is NTFS.

A disk check has been scheduled.

Windows will now check the disk.
39070048 KB total disk space.
25151976 KB in 78653 files.
48256 KB in 10264 indexes.
0 KB in bad sectors.
237080 KB in use by the system.
65536 KB occupied by the log file.
13632736 KB available on disk.

Windows has finished checking your disk.

If you see any errors - even errors that are corrected, run chkdsk /r
again until you see no errors. You should have no errors.

When XP boots, it will run chkdsk on a volume for two reasons.

1. If chkdsk has been scheduled to run by some human
2. If the volume has been marked "dirty" (usually from a power
failure)

You can check the dirty bit on your volumes from a command prompt.
Click Start, Run and in the box enter:

cmd

Click OK to open a Command Prompt window.

To query the dirty bit on drive C, type:

fsutil dirty query C:

Sample output:
Volume C: is dirty
Volume C: is not dirty

To set the dirty bit on drive C, type:

fsutil dirty set C:

You cannot clear the dirty bit on a volume using fsutil. Only
successfully running chkdsk /r can clear the dirty bit on a volume.

If you try to defrag a volume that where the dirty bit is set, you
will see a message like this:

Disk Defragmenter has detected that Chkdsk is scheduled to run on this
volume: (C:)

Please run Chkdsk /f.

You can remove any pending manually scheduled chkdsk operations (set
the registry back to the default) by using this command:

chkntfs /d

If the dirty bit is still set, chkdsk will run anyway on the next
reboot (that is what it is supposed to do).

Running chkntfs /d will not clear the dirty bi on a volume. Only
successfully running chkdsk /r will clear the dirty bit on a volume.

You can also tell XP to ignore the dirty bit on any volume during a
reboot, but if the dirty bit is set, it is set for a reason so it
would be better to do something about it like running cjkdsk /r on the
volume and see if that will straighten things out.

Sometimes it is more informative to run chkdsk from the XP Recovery
Console so you can watch it run and see what is happening or might be
complaining about right before your eyes.

Do you have a genuine bootable XP installation CD from which you can
boot Recovery Console or do you need to make a bootable XP Recovery
Console CD (no XP media required).
 
G

glee

Mike said:
Hi

I want to defrag d:. First I analyze it, but there is no any
action. However, when I analyze c disk, it will show I don't need to
defrag it.
This problem is a follow-on one in the following:
http://groups.google.com/group/micr...upport/browse_thread/thread/0871c6135ccdd69f#

Please help me. Thank you in advance.

Mike,

In the future, do not start two different threads in two different
groups about the same issue. You have a thread going in
help_and_support about the failure to complete chkdsk, and are at the
same time posting (but not replying) here about the defrag failure of
the same drive. They are related and you must resolve the chkdsk issue
first....the issue in the other thread. I've posted to you in that
thread, as well as others.
 

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