Solved

Unsatisfactory Disk defragmentation (Windows XP)

Posted on 2004-04-17
7
1,891 Views
Last Modified: 2014-03-13
Windows system tool (Disk defragmenter), upon analysis of my 'C' drive tells me "I should defrag".

When defragmenter is about 20% completed, I receive the message "Some files could not be defragmented, Check report for list of files".

Body of defrag. report,  tells me '1 folder, 2 files fragmented'.    But the 'List of files box' below, does not list any files at all.

Can anyone tell me how to resolve this issue?

Help.
Bigarty
0
Comment
Question by:Bigarty
7 Comments
 
LVL 7

Expert Comment

by:IceRaven
ID: 10848819
Hi Bigarty,

I would check the disk for errors,

--Snip--

Scandisk is now Error-checking (chkdisk).
Open My Computer, double-click the My Computer icon on the desktop.
Right click your hard drive | Properties.
On the Tools tab, under Error-checking, click Check Now.
Under Check disk options, check both boxes.
You have to reboot for Error-checking to run.

--Snip--

Then try to do the defrag.

Olso you might want to try and do the defrag in safe mode to see if that makes any difference.

Cheers,
IceRaven
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 10848921
There are some files which are best not defragged...   These could be the ones it is referring to..:

http://support.microsoft.com/?kbid=227350

Moving the following files (if present) can cause desktop problems:
Safeboot.fs
Safeboot.csv
Safeboot.rsv
Bootsec.doc

The following files are unmoveable system files. They are always displayed in green in the defragment analysis display:
NTFS Master File Table (MFT) and Reserved MFT Zone: Usually contiguous at the very beginning of a NTFS volume but can become fragmented if many files and folders are added to a volume.
NTFS Master File table Mirror (MFTMirr): Usually located in the middle of a volume and is already contiguous.
Virtual Memory Paging file: Used for temporarily swapping pages of memory to disk.
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 10848936
BTW:  the first thing to do is run chkdsk on that drive as per IceRaven..!!  This may clear up your problem...  

FE
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 8

Accepted Solution

by:
nader alkahtani earned 500 total points
ID: 10850338
The Disk Defragmenter utility does not fully defragment the drive.
A volume must have at least 15 percent free space before the Disk Defragmenter will completely defragment the volume. If you have less free space available, the operation will run, but only partial defragmentation will result. Check the value at the right of the drive entry in the Defragmenter console to confirm current free space values for the selected drive. If necessary, delete or move files to make extra room.

You cannot defragment a volume that Windows has marked as possibly containing errors. To troubleshoot this possibility, enter chkdsk c:/f at any command prompt, substituting the letter of the drive in question.

The Disk Defragmenter does not defragment files in the Recycle Bin. Empty the Recycle Bin before defragmenting.

The Disk Defragmenter does not defragment the following files: Bootsect.dos, Safeboot.fs, Safeboot.csv, Safeboot.rsv, Hiberfil.sys, and Memory.dmp. In addition, the Windows page file is never defragmented. (See the text following this sidebar to learn how to work around this issue.)

With some large files, it takes several passes to fully defragment the files in question. If the View Report option shows one of these stubborn files, try moving it to another drive before running a full defragmentation pass. After defragmentation is complete, move the file back to its original location. You should be able to copy the file to the newly optimized drive without any problems.

Disk Defragmenter will pass over any files that are currently in use. For best results, shut down all running programs first. For even better results, log off and log back on (using an account in the Administrators group) before continuing.

0
 
LVL 8

Expert Comment

by:nader alkahtani
ID: 10850344
The command-line Disk Defragmenter does not provide any status indicator except for a blinking cursor. To interrupt the defragmentation process, click in the command window and press Ctrl+C.

Using Disk Defragmenter’s Analysis Report, you can determine whether your page file is fragmented. (For an explanation of how the page file works, see "Making the Most of Virtual Memory.") Although page file fragmentation is normally not a serious issue, a severely fragmented page file can reduce your system’s performance. Disk Defragmenter cannot consolidate your page file, because Windows holds it open while you work. However, if you have more than one volume available (even if the second volume is on the same physical hard disk as your system drive), you can work around the problem as follows:

Open Control Panel and double-click the System icon.
On the Advanced tab of the System Properties dialog box, click the Settings button under Performance.
On the Advanced tab of the Performance Options dialog box, click Change under Virtual Memory.
From the list of available drives, choose a volume other than the one that holds your current page file. This drive will hold your temporary page file.
Choose the Custom Size option, enter settings in the Initial Size and Maximum Size boxes to match your current page file, and click Set.
Select the drive that contains the fragmented page file, set the Initial Size and Maximum Size boxes to 0, and then click Set.
Reboot to allow your system to stop using the old page file and begin using the new one.
Defragment the drive that previously held your page file. This consolidates the free space on that volume so that your new page file will be stored in contiguous space.
Repeat steps 1 through 6, this time creating a page file on the original disk and eliminating the temporary page file you created.
Reboot to allow the new, defragmented page fil
0
 

Author Comment

by:Bigarty
ID: 10852115
Issue resolved.

My thanks to NADIR for a very very easy to follow detailed answer.

Thanks also to others who contributed.

Cheers
Bigarty
0
 
LVL 8

Expert Comment

by:nader alkahtani
ID: 39925936
You are welome
sorry this comment after 10 years
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now