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.
EntryDescriptionNotes
[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.
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).
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.
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 empties Recycle Bin before defragging

0 = Recycle bin is not being 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.

PreviousDefragPath Path Shows the path of previous used defragemnter.
ShowFragmentedFolderEntries Binary flag.

1 = Displays fragmented folder entries (indices)

0 = Does not show fragmented folder entries

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 everytime

EnableNativeDefrag Binary flag.

1 = enable native defrag

0 = disable native defrag

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=1033 The locale ID for Defraggler's current display language. For a list of locale IDs, see http://support.microsoft.com/kb/221435. For a list of Defraggler's supported languages, see this topic.
DriveMapColors Decimal colors. Decimal representation of colors of the drive map.
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.

Looking to clean up your business? Learn More

×