Working with Defragglers INI file

Defraggler uses internally-stored settings to determine how it appears and operates. You can modify these settings by setting Defraggler to create an external INI file and editing it. INI files are in plain text, so you can edit them with Notepad or manipulate them with other programs.

The Defraggler INI file must be located in the application installation folder (typically, C:\Program Files\Defraggler). By default, the INI file does not exist when you first install the application. To have Defraggler generate it automatically, set the option for Defraggler to save its settings to an INI file.

To modify Defraggler's behavior using an INI file:

  1. Create or open the INI file in Notepad.
  2. Use the following entries as a reference.
Entry Description Notes
[Software\Piriform\Defraggler] INI file header. Do not modify.
MainWindowTopSplitterProportionalPos Vertical proportion of Drive section of Defraggler to the entire program window. Determines how tall the Drive section is compared to the entire Defraggler window. This number plus the next number must add up to 5693.
Example: setting this number to 500 means that the Drive section would be 500/5693 * 100 = 8.8% of the vertical height of the program window. The next number would have to be set to (5693 - 500) = 5193.
MainWindowBottomSplitterProportionalPos Vertical proportion of Drive Map section of Defraggler to the entire program window. Determines how tall the Drive Map section is compared to the entire Defraggler window. This number plus the previous number must add up to 5693.
WasRunManualSilentUpdate TBA TBA
DisplaySSDVolumes Binary flag.

0 = Defraggler will not display drives detected as SSDs.

1 = Defraggler will display SSDs.

DisplayRemovableVolumes Binary flag.

0 = Defraggler will not display removable drives.

1 = Defraggler will display removable drives.

DisplayUnmountedVolumes Binary flag.

0 = Defraggler will not display unmounted drives.

1 = Defraggler will display unmounted drives.

DisplayEjectedVolumes Binary flag.

0 = Defraggler will not display ejected, but physically connected drives.

1 = Defraggler will display ejected drives. 

UpdateCheck Binary flag for Defraggler's auto-check. 0 = Defraggler does not automatically check for an update when it starts.
1 = Defraggler checks for an update on start (Internet connection required).
NewVersion Latest version of Defraggler If Defraggler has checked for updates, and found that a new version is available, but the update has not been installed, that version number will be saved.
UpdateKey The date and time Defraggler last checked for an update. In this format YYYYMMDD
UpdateFrequency How often the Defraggler main window will be updated during the defrag procedure. This number is in milliseconds, and by default is 10 ms.
UpdateBackground Silent background updates. Paid feature.

0 = Defraggler will not attempt to update in the background.

1 = Defraggler will attempt to perform silent background updates.

InstallPath Path Shows the path where Defraggler has been installed. The default path is: C:\Program Files\Defraggler.
Executable Name of executable file. Do not modify.
CleanupDriveBeforeDefrag Binary flag.

1 = Defraggler automatically empties Recycle Bin before defragging

0 = Recycle bin is not being automatically emptied before defragging

ShowCleanupPrompt Binary flag.

1 = Defraggler displays dialog box to clean up Recycle bin before defragging

0 = Defraggler starts defragging without asking about empting recycle bin

Priority Priority level Priority of this process. Priority can be modified in Settings > Priority
CacheFileCollectionAfterDriveSwitch Binary flag.

1 = Defraggler caches data obtained from analysis during drive change

0 = During drive change defraggler loses information from previous drive analysis

DisableShellExtension Binary flag.

1 = Special Defraggler menu will be seen when you right-click on any file or folder.

0 = Special Defraggler menu won't be seen when you right-click on any file or folder.

 

For more info about Shell Extension, go here.

ReplaceWindowsDefrag Binary flag.

1 = Defraggler will open instead of original one disk defragmenter.

0 = Windows Disk Defragmenter will be opened.

 

For more info about replacement of Windows Disk Defragmenter, go here.

StopVssWhenDefrag Binary flag.

0 = Temporarily disable Volume Shadow Service while defragmenting drive.

1 = Allow Volume Shadow Service to continue running while defragmenting.

PreviousDefragPath Path Shows the path of previous defragmentation process.
ShowFragmentedFolderEntries Binary flag.

1 = Displays fragmented folder entries (indices)

0 = Does not show fragmented folder entries

MinimizeToTray Binary flag.

0 = Defraggler will minimize to the Start bar as normal.

1 = Defraggler will minimize to the Notification Area instead.

MoveLargeFilesToEndOfDrive Binary flag. 1 = Moves large files as set in the Options to the end of the hard drive being defragmented.
0 = Defragments drive without moving large files.
MinLargeFileSize The minimum file size for Defraggler to use when selecting files to move to the end of the drive. This number is in MB. For example, setting it to 250 would mean Defraggler would only move files larger than 250MB.
MoveOnlySelectedLargeFilesCategories Binary flag. 1 = Moves only large files that belong to categories specified in the Options.
0 = Moves all files.
LargeFilesCategories   Lists the categories of large files for Defraggler to move, all on one line. To add a new category, use the following syntax:
<Name>;[selection flag]|

Example 1: Test;1| This would create a new category called Test that would have a check box by default.
Example 1: New;2| This would create a new category called New that would not be selected by default.

If you create a new category, you must add extensions to it in the next entry.
LargeFilesExtensions   Lists the file extensions for the large file categories for Defraggler, all on one line. To add a new set of file extensions, use the following syntax:
<*.[ext1]|*.[ext2]|etc.

Example: <*.tst|*.ts2 This would include files with the extensions .TST and .TS2.

Note: The order of the set of file extensions corresponds to the order of the categories in the entry above. For example, if your new category is fifth in the category list, its extensions must be fifth in the extension list.

Note #2: Do not precede the first set of extensions with a left-angled bracket ( < ).
DefragFreeSpaceMoveLargeFiles Binary flag.

1 = Moves large files while defragmenting your free space.

0 = Leaves large files alone while defragmenting your free space.

NativeMode Numbers from 0-2

Boot Time defrag run mode:

0 = disable

1 = run once

2 = run every time

EnableNativeDefrag Binary flag.

1 = enable native defrag

0 = disable native defrag

DontApplyMinimumFileSizeToFileFolders Binary flag.

0 = The minimum file size rule will be respected even for custom folders

1= This option would allow you to override the minimum file size you've sent to move all files in the custom folders

ShowOptimizeZeroFillingWarning Binary flag.

0 = Do not advise about zero fill when optimizing

1 = Advise the user that a zero fill process will be performed during optimization.

QDUseCustomParameters Binary flag.

1 = custom rules for Quick Defrag are set

0 = default rules for Quick Defrag are set

QDMinFragmentSize Number in range: 1-2147483646 The minimum number of fragments for Defraggler to make a quick defrag.
QDMaxFragmentCount Number in range: 1-2147483646 Defraggler quick-defrags only the files which have more fragments than set number.
QDMinFileSize Number in range: 1-2147483646 Defraggler-quick defrags only the files that are larger than set value.
QDMaxFileSize Number in range: 1-2147483646 Defraggler quick-defrags the only files that are smaller than set value.
FFPolicy0 Fragmented Files Policy

Rule which can be set, to exclude restore point files from defragmentation

WC:1 = restore point files are excluded from defragmentation

WC:0 = restore point files are included in defragmentation

FFPolicy1 Fragmented Files Policy

Rule which can be set, to exclude hibernation file from defragmentation

WC:1 = hibernation file is excluded from defragmentation

WC:0 = hibernation file is included in defragmentation

Language The locale ID for Defraggler's current display language. For a list of locale IDs, see this article. For a list of Defraggler's supported languages, see this topic.
CelsiusTemperatureFormat Binary flag.

0 = Temperatures in the Health tab will be displayed in Fahrenheit.

1 = Temperatures in the Health tab will be displayed in Celsius.

DriveMapColors Decimal colors. Decimal representation of colors of the drive map.  
ColorsMode No longer used by Defraggler,.  
DriveMapSettingsMode Binary flag.

Shows view of drive map

0 = Modern View

1 = Original View

2 = Custom View

DriveMapMinBlockWidth Number in range: 1-19 Block width on drive map.
DriveMapMinBlockHeight Number in range: 1-19 Block height on drive map.
DriveMapMode Binary flag.

Drive map will be displayed according to Custom View.

0 = Blocks

1 = Bars

DriveMapDrawingMode Binary flag.

Drive map will be displayed according to Custom View.

0 = Plain

1 = Gradient

DefragContextString Name of string in context menu. Do not modify.
AnalyzeContextString Name of string in context menu. Do not modify.
window_left The position of the left edge of the Defraggler window, in pixels.  
window_top The position of the top edge of the Defraggler window, in pixels.  
window_width The width of the Defraggler window, in pixels.  
window_height The height of the Defraggler window, in pixels.  
window_max Binary flag. 1 = Defraggler window is maximized.
0 = Defraggler window is not maximized.
filelist_columns The width of the file list columns in pixels.  
UpdateKey The date and time Defraggler last checked for an update. Do not modify.

 

Was this article helpful?

Need to find your product license key?

Go to our license lookup page and enter your registered email address to retrieve info about your products, including product download links, license key(s), and expiry dates.

Send me my license details

Articles in this section