Solved

Unsatisfactory Disk defragmentation (Windows XP)

Posted on 2004-04-17
7
1,896 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Tasks remote computer 12 150
Toshiba Satellite 5 161
Creating an XP virtual machine 38 177
Program tries to re-install when opening 6 77
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

830 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