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

WINDOWS SYSTEMS AND NETWORK 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 SearchWindowsServer.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
Perfmon made easy with PAL utility
Troubleshooting Windows application crashes or hangs
Free Windows security tools every admin must have
Top five Server Core management tips for Windows 2008
Top free tools for Windows server administration
A first look at Internet Information Services 7.0
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

Windows File Management
Using DFSR for SYSVOL replication in Windows Server 2008
Key DFS improvements in Windows Server 2008 R2
Quick tips for troubleshooting NTFS permissions
Using NTFS on a non-Windows OS with NTFS-3G
File classification the automated way with Windows Server 2008 R2
Using DFS to create file system virtualization in Windows Server 2008
File server migration tips for Windows Server 2008
Windows Distributed File System (DFS) Tutorial
Planning a file server migration to Windows 2008
Windows Distributed File System (DFS) Namespace primer
Windows File Management Research

Windows Systems and Network Administration
Troubleshooting Windows application crashes or hangs
Converting VMware ESX machines to Hyper-V format
Using DFSR for SYSVOL replication in Windows Server 2008
Top 25 Windows PowerShell commands for administrators
Key DFS improvements in Windows Server 2008 R2
Free Windows security tools every admin must have
Group Policy makes strides in Windows Server 2008 R2
Quick tips for troubleshooting NTFS permissions
Common causes of Windows server security vulnerabilities
Cutting the cost of Windows identity and access management

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
NTFS  (SearchWindowsServer.com)

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.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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