I'm trying to defrag a large drive partition, but first ran CheckDisk.
When
I click on Analyse or Defragment I now get a message <Disk Defragmenter
has
detected that CheckDisk is scheduled to run on the volume (E
. Please run
Chksdk /f>.
I attempt that, and get a message <Chkdsk cannot run because the volume is
in use by another process [NB Nothing else is running as far as I can
see].
Would you like to reschedule this volume to be checked the next time the
system restarts? (Y/N)>. I say Y [I've also tried N]. I restart, and allow
Chkdsk to run. But after that my attempt to defrag still gives me that
original message.
I'm using XP SP3. Suggestions appreciated as to how I get it to defrag.
That means as far as Windows is concerned, there is an outstanding
chkdsk command that needs to complete, so it does not make sense to
ask it to set up another one.. If you have one set up to run on the
next reboot, the result will not stay on the screen, but will end up
in the Event Log instead.
I would NOT follow the advice in the link about the /SAFEBOOT
thing... It may have been sound advice 5 years ago, but there is
malware afoot nowadays that if you happen to have it and add the /
SAFEBOOT option in msconfig, your system will never boot again
(without some help). /SAFEBOOT is very risky if you are
troubleshooting and don't know how to fix the issue when you add it
and your system will now longer boot at all. It is not hard to fix
though - and there is of course no need to reinstall Windows for that
silly problem.
You need to determine what happens when your chkdsk runs on reboot:
When chkdsk runs automatically on a reboot, the results are shown in
the Event Viewer Application
log.
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.
CHKDSK is verifying Usn Journal...
Usn Journal verification completed.
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.
4096 bytes in each allocation unit.
9767512 total allocation units on disk.
3408184 allocation units available on disk.
Windows has finished checking your disk.
Please wait while your computer restarts.
---
Thanks Jose. So I've found the latest Winlogon event:
Checking file system on E:
The type of the file system is NTFS.
Volume label is Media.
One of your disks needs to be checked for consistency. You
may cancel the disk check, but it is strongly recommended
that you continue.
Windows will now check the disk.
CHKDSK is verifying Usn Journal...
Usn Journal verification completed.
Windows has checked the file system and found no problems.
195358400 KB total disk space.
163283912 KB in 18766 files.
8488 KB in 971 indexes.
4 KB in bad sectors.
232884 KB in use by the system.
65536 KB occupied by the log file.
31833112 KB available on disk.
4096 bytes in each allocation unit.
48839600 total allocation units on disk.
7958278 allocation units available on disk.
Internal Info:
90 50 02 00 25 4d 00 00 9e 78 00 00 00 00 00 00 .P..%M...x......
cb 1d 00 00 00 00 00 00 19 00 00 00 00 00 00 00 ................
9c 11 d8 01 00 00 00 00 f0 90 bd 0c 00 00 00 00 ................
e0 9d a3 01 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 7e e3 17 18 00 00 00 00 ........~.......
99 9e 36 00 00 00 00 00 00 3f 07 00 4e 49 00 00 ..6......?..NI..
00 00 00 00 00 20 0f ee 26 00 00 00 cb 03 00 00 ..... ..&.......
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Where do I go from here? (Was a further instruction lost in your post?)