Home > Windows Systems Management Tips > Windows Systems Management and Administration > Use PageDefrag to defragment immovable system files
WinComputing Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS MANAGEMENT AND ADMINISTRATION

Use PageDefrag to defragment immovable system files


Serdar Yegulalp, Contributor
07.31.2007
Rating: -4.50- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


More on defragmentation

Weigh the pros and cons of disk defragmentation.
Usually, when we're concerned about the effects of fragmentation, we worry about how fragmentation affects a system's data or its applications. But fragmentation also affects system files that typically can't be defragmented, either by Windows' own built-in Defrag tool or by third-party defragmenters. (Some third-party defrag tools, such as Diskeeper, have the ability to move system files, but this is a premium feature that comes at a cost.)

The Sysinternals utility PageDefrag (now at version 2.32) is one of the few freeware programs that lets you defragment immovable system files. It won't let you do a defrag while the system is actually running—you'll need to reboot to do that. But the PageDefrag tool defragments the page file, the event logs, the Registry hives and the hibernation files, all of which normally cannot be defragmented.

When first run, PageDefrag generates a report that describes the location of those files, how many clusters they occupy and how many fragments they're in. You're then given three options:

  1. Defragment once at the next reboot,
  2. Defragment at each boot time with a countdown delay, or
  3. Disable defragmentation.

If you choose either of the first two options, defragmentation will occur at the next reboot before the Windows GUI loads, and the PageDefrag program will provide real-time feedback on its progress. PageDefrag can also be invoked from the command line or in a script; you don't need to use the GUI to trigger it.

Although the fragment count for any given file can be quite high, this is not always indicative of how scattered the fragments are—just that the file is in a number of different fragments. (Generally the more fragments there are, the greater the impact on performance.) Another factor is the amount of contiguous free space available on the drive. Simply put, the more, the better (as is the case with any defrag operation).

Note: PageDefrag does not currently seem to work in Windows Vista, even when run as Administrator. This may be due to newly-imposed restrictions on how system files can be accessed.

About the author: Serdar Yegulalp is editor of the Windows Insight, (formerly the Windows Power Users Newsletter), a blog site devoted to hints, tips, tricks and news for users and administrators of Windows NT, Windows 2000, Windows XP, Windows Server 2003 and Vista. He has more than 12 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.


Rate this Tip
To rate tips, you must be a member of SearchWinComputing.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Windows Systems and Network Management Tools and Techniques
Windows registry hack improves offline file access for mobile users
Reducing the size of network backups in Windows
Monitor network bandwidth with CyberGauge
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Archiving information with New-Item in Windows PowerShell
More tips for preventing system startup issues in Windows XP
The new Microsoft System Center: What happened to SMS and MOM?
Application lifecycle management made simple with app virtualization
New Russinovich tool scans for open file references from command line

Windows File Management
Windows registry hack improves offline file access for mobile users
How to format NTFS: More tricks to improve file system performance
Windows scripting secrets for disk quota management
Optimizing NTFS file system performance
TeraCopy beefs up Windows file copy operations
How to receive automatic notification of file changes
Identify file extension types with TrID
Windows System File Checker helps stop system failures
How to reverse NTFS object ownership from administrators to object's creator -- and why
Five Windows desktop tasks you should automate
Windows File Management Research

Windows Systems Management and Administration
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Windows scripting secrets for disk quota management
Optimizing NTFS file system performance
The new Microsoft System Center: What happened to SMS and MOM?
TeraCopy beefs up Windows file copy operations
New Russinovich tool scans for open file references from command line

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts