Microsoft Drive Optimizer
This article needs additional citations for verification. (September 2011) |
Other names | Disk Defragmenter |
---|---|
Developer(s) | Microsoft |
Operating system | Microsoft Windows |
Type | Defragmentation software |
License | Proprietary commercial software |
Microsoft Drive Optimizer (formerly Disk Defragmenter) is a
Defragmenting a disk minimizes head travel, which reduces the time it takes to read files from and write files to the disk.
From Windows 8 onwards, the program was renamed to Microsoft Drive Optimizer, with some references changed to say Defragment and Optimize Drives or simply Optimize Drives.
Early history
As early as the end of 1982, the
Initial releases of Windows NT lacked a defragmentation tool. Versions through
which shipped with a customized version of the NT kernel and file system drivers that could move clusters.Microsoft included file system control (FSCTL) commands to move clusters in the Windows NT 4.0 kernel,[4] which worked for both NTFS and FAT partitions. However, Windows NT 4.0 did not provide a graphical or command-line user interface.[4]
Debut and early versions
Disk Defragmenter first shipped as part of Windows 95 and later shipped with Windows 98 and Windows Me, licensed from Symantec Corporation. It could be scheduled using a Maintenance Wizard and supported command line switches.[5] In the version of Disk Defragmenter included with Windows 95 and 98, if the contents of the drive changed during defragmentation, the program paused, rescanned the entire drive, and then resumed the process from where it had left off.[6] This quirk was removed in the Windows Me version of Disk Defragmenter.
Disk Defragmenter in Windows 2000 was a stripped-down version of Diskeeper, licensed from Diskeeper Corporation. It uses the following techniques:[4]
- Moving all the index or directory information to one spot. Moving this spot into the center of the data, i.e. one third of the way in, so that average head travel to data is halved compared to having directory information at the front.
- Moving infrequently used files further from the directory area.
- Obeying a user-provided table of file descriptions to emphasize or ignore.
- Making files contiguous so that they can be read without unnecessary seeking.
In Windows 2000 and later operating systems, Microsoft Drive Optimizer has the following limitations:
- It does not defragment files residing in the Recycle Bin or files that are in use.[7] In particular, this includes the registry, page file and hibernation file.
- Prior to the Windows Vista release, only one volume could be analyzed or defragmented at a time and only one instance could run.[8]
- Only local volumes can be defragmented; network volumes are not supported.[8]
- The GUI version prior to Windows Vista cannot be scheduled. However, the command line utility since Windows XP and later can be scheduled.[citation needed]
- Unlike previous versions, the GUI version in Windows Vista does not display a map of disk fragmentation, nor does it display progress during defragmentation.[citation needed]
In addition, the Windows 2000 version has the following limitations which were removed in Windows XP:[8]
- Defragmenting NTFS volumes with cluster sizes larger than 4 kilobytes (KB) is not possible.
- It is not possible to perform fine-grained movement of uncompressed NTFS file data in Windows 2000. Moving a single file cluster also moves the 4 KB part of the file that contains the cluster.
- EFS encrypted files are not defragmented.
Windows XP and Server 2003
Windows Disk Defragmenter was updated to alleviate some restrictions.
Windows Vista and Server 2008
In Windows Vista, Disk Defragmenter includes an option to automatically run at scheduled times using Task Scheduler and uses low CPU priority and the newly introduced low priority I/O algorithm so that it can continue to defrag using reduced resources (less CPU and disk read/write activity) when the computer is in use. The user interface has been simplified, with the color graph, progress indicator, disk analysis and fragmentation information being removed entirely.
If the fragments of a file are over 64 MB in size, the file is not defragmented if using the GUI; Microsoft has stated that this is because there is no discernible performance benefit since the time seeking such large chunks of data is negligible compared to the time required to read them.[13] The result, however, is that Disk Defragmenter does not require a certain amount of free space in order to successfully defrag a volume, unlike performing a full defragmentation which requires at least 15% of free space on the volume. The command line utility, Defrag.exe, offers more control over the defragmentation process, such as performing a full defragmentation by consolidating all file fragments regardless of size.[14] This utility can be used to defragment specific volumes or to just analyze volumes as the defragmenter would in Windows XP.
Disk Defragmenter is maintained by Microsoft's Core File Services. The Windows Vista version has been updated in Windows Vista SP1 to include the improvements made in Windows Server 2008. The most notable of these improvements is that the ability to select which volumes are to be defragmented has been added back.[15] Notably, the Windows Vista defragmenter is much more effective than the version included with XP.[16]
Windows 7 and later
Windows 7 reintroduces the analyze function and showing percent complete of the defragmentation, both of which were removed in Windows Vista. It can also defragment multiple volumes simultaneously.
According to Scott Hanselman of
See also
References
- ^ "How to make a computer faster: 6 ways to speed up your PC". Microsoft at work. Microsoft. Retrieved November 7, 2011.
- ISBN 0-7356-1812-7.
- ^ "How do I run Microsoft Defrag?". Computer Help. Computer Hope. Retrieved November 7, 2011.
- ^ a b c d e Russinovich, Mark (March 20, 2007). "Inside Windows NT Disk Defragmenting". TechNet. Microsoft. Retrieved December 9, 2008.
- ^ Windows 95 Defrag.exe Command-Line Parameters
- ^ Description of the Disk Defragmenter Tool in Windows 98/Me
- ^ "Disk Fragmentation and System Performance". Archived from the original on February 13, 2009. Retrieved March 17, 2008.
- ^ a b c Disk Defragmenter Limitations in Windows 2000, Windows XP, and Windows Server 2003
- ISBN 0-7356-1917-4.
- ^ "Description of the new command line Defrag.exe included with Windows XP (MSKB283080)". Microsoft. Retrieved December 9, 2008.
- ^ How NTFS reserves space for its Master File Table (MFT)
- ^ "Enable or disable boot defrag".
- ^ "Disk Defragmenter FAQs". Archived from the original on April 28, 2010. Retrieved April 21, 2007.
- ^ "Disk Defragmenter". User Guide. Windows Vista User Guide. January 27, 2007. Archived from the original on February 13, 2007. Retrieved January 27, 2007.
- ^ "Disk Defragmenter in Windows Vista and Windows Server 2008". Archived from the original on April 28, 2010. Retrieved April 21, 2007.
- ^ "21 Essential Steps to Make Your PC Better/Faster/Stronger – Page 4". Pcgamer. Future. May 28, 2009. Archived from the original on June 22, 2011.
- Sef-published. Retrieved December 22, 2014.