Skip to main content

Technical information

The following technical information will be helpful when applying O&O Defrag:

Conflicts with shadow copies during defragmentation​

The operating systems Windows 8, Windows 7, Windows Server 2008 and Windows Server 2012 offer users the ability to create "Shadow Copies" for protecting their data. This new feature automatically creates copies of files currently in use at regular time intervals. Since Windows only captures changes in the files, additional space is normally not needed. Accidentally deleted files and folders or previous versions of documents can be easily restored using a convenient command accessible through the right-click menu. Simply right-click the object you want to restore and click "Restore Previous Versions".

At the moment of installation, Windows 7 and Windows 8 the shadow copy mechanism is set by default. With Windows Server 2008/2012 systems it is disabled by default.

Dur"Conflicts with shadow copies during defragmentation"ing defragmentation, files on a volume get moved. Windows classifies these operations as a deletion and therefore creates a complete new shadow copy of the moved file. Since a lot of files are moved during a defragmentation, a lot of new entries are created in the shadow copies and they take up more space on your data volume than before the defragmentation. This behavior may overwrite older shadow copies with newer ones. Unfortunately, this can also lead to the deletion of the system recovery points! These consequences are most frequent when using the COMPLETE method.

Shadow copies are filed in the folder “System Volume Information” and cannot be defragmented. This can end up having a negative influence on the results of the defragmentation. There is, on the other hand, almost hardly any loss in performance caused by fragmented shadow copies. Although these files will be displayed as fragmented, they still have only a minimal influence on the operating speed of your system.

You could disable the shadow copies to achieve improved defragmentation results but you would then wind up losing the operating system’s built-in backup functionality. That’s why we recommend your leaving the shadow copies enabled.

Microsoft is already aware of this problem, as this issue also occurs in the Windows native defragmentation software. More details may be found in this article from Microsoft: http://support.microsoft.com/default.aspx?kbid=312067

In Windows Windows Server 2008/2012, this problem will not occur as long as storage volumes have been formatted with a cluster size of 16KB or larger.

Notes concerning the default enabled automatic optimization:
Please bear in mind that under Windows 8, Windows 7, Windows Server 2008 and Windows Server 2012 a complete defragmentation of drives that are imaged by shadow copies may lead to losses of old image sets. This is a problem known to Microsoft, and these drives are marked accordingly in the O&O Defrag user interface. We therefore recommend running an OPTIMIZE/Complete-defragmentation on large installations only and otherwise leaving automatic optimization of O&O Defrag enabled.

Status notices and program output​

Results logging of the defragmentation​

O&O Defrag logs the start and stop times of defragmentation runs as well as any errors encountered. These are recorded according to the systems’ own settings for application logging.

How to start the event viewer when running Windows:

  • To open the Event Viewer, please go to the Control Panel of your computer and select Administrative Tools/Event Viewer.

Notifications of boot time defragmentation​

The chart below contains a list of all notifications possible during boot time defragmentation and their corresponding explanations.

OutputTypeExplanation
Drive could not be openedERRORThe given drive could not be found by the system, or the file system is not supported.
File could not be openedERRORThe given file could not be found, is encrypted or has been exclusively locked by the system.
Not enough space to moveERRORContiguous free space is required to move a file somewhere else on the disk, and this amount of space must be at least as large as the file. Defragmentation cannot take place because there is not enough free space available.
Could not be movedERRORThe defragmentation failed because of problems with the file system. The file is fragmented.
MFT could not be defragmentedERRORThe defragmentation of the MFT failed because of problems with the file system. It is still fragmented.
Not enough space to move the MFTERRORIn order to defragment the MFT, contiguous free space at least as large as the MFT must be available. The defragmentation cannot take place because there is not enough free space available.
Could not write to partitionERRORDuring the MFT defragmentation a file system error occurred which blocked writing on the disk. The MFT has not been changed. The drive should be checked for errors.
Attribute error in the MFT. Please start chkdsk.ERRORErroneous entries in the MFT were found during the defragmentation. The drive should be checked for errors.

Data security and integrity​

O&O Defrag guarantees you complete data integrity and security. Only functions that are implemented in Windows by the operating system itself are used for defragmentation and synchronization of all file accesses.

File attributes (Date, Time, System, Archive etc.) and the security settings for NTFS drives will not be changed. Access rights also remain unchanged. In addition, only one file per drive will be processed at any one time. This ensures that even in a worst case scenario, only one file will be lost (e.g. if there is a power cut). If you have more questions concerning data security, we can provide you with more information. Do not hesitate to contact us at: support@oo-software.com