ultradefrag.sourceforge.net
The UltraDefrag Handbook  5.0.0
Graphical Interface

The UltraDefrag GUI consists of a single re-sizable window. View screenshots...

The Menus

Action
Analyze (F5)
This analysis the currently selected volume(s), constantly updates the cluster map and status bar, and generates a report.
Defragment (F6)
This defragments the currently selected volume(s), constantly updates the cluster map and status bar, and generates a report.
Quick optimization (F7)
This optimizes the currently selected volume(s), constantly updates the cluster map and status bar, and generates a report.
Full optimization (Ctrl+F7)
This is similar to the quick optimization, but moves all files from the beginning to the end of the volume first.
Stop (Ctrl+C)
This aborts the currently running process at any stage, currently pending move operations will be completed to avoid corruption.
Skip removable media (Ctrl+M)
If this is checked, volumes located on removable drives are not included in the volume list.
Rescan drives (Ctrl+D)
This updates the volume list to include volumes located on removable drives, which have been plugged in after starting UltraDefrag.
When done
This allows one to select an action that will be executed after all operations have been performed.
The default is None, available actions are: Exit, Standby, Hibernate, Logoff, Reboot and Shutdown.
Exit (Alt+F4)
This terminates UltraDefrag.
Report
Show report (F8)
This displays the report generated for the selected volume.
Settings
Language
This allows selecting the displayed language and to open the Translations folder, which contains the translation.template and all language files.
Graphical interface
This allows selecting the Font (F9) and changing the Options (F10).
Usually the font must be changed only, if the contents of the volume list are not displayed correctly.
Boot time scan (Disabled for portable editions)
This allows to enable boot time scan by checking Enable (F11) and to edit the boot time script by selecting Script (F12).
Reports (Ctrl+R)
This allows changing the look of the reports.
Help
Contents (F1)
This launches the handbook you are currently reading.
Best practice (F2)
This launches the Tips and Tricks section of this handbook.
FAQ (F3)
This launches the Frequently Asked Questions section of this handbook.
About (F4)
This opens the about window.
Preview
(available only in testing releases)
Repeat action until nothing left to move
Processes the selected volume(s) in a loop till all movable files are processed.
Find largest free space
Always fill the largest free space region first.
Find matching free space
Always fill a free space region which is similar to the size of the file.
Skip partial defragmenting
On regular defragmentation skip the final partial defragmentation, which consolidates small parts of files.

The Tool-Bar

It consists of the most frequently used commands for easy access.

List of Volumes

The top part of the window contains a full list of volumes available for defragmentation. Each line of the list contains volume name, type of filesystem, total amount of space, amount of free space and, finally, percent of free space on the volume.

Fixed drives are marked by , removable drives - by .

Multiple volumes can be selected in the list. In this case UltraDefrag will process them one after the other. The rules for the selection are the same as in Windows Explorer.

Cluster Map

It represents the volume clusters by little colored squares. Colors have the following meaning:

Fragmented Not Fragmented Compressed
Directory System (Locked) MFT
Temporary Free Space

When there are two different colors assigned to the same item, the darker one marks objects above the size threshold, if one is set. Dark magenta represents the master file table (MFT), light magenta - space reserved for the MFT expansion. The cyan color represents space temporarily allocated by Windows. Gray is indicating unused map blocks, because the map is bigger than the number of available clusters.

Note that files excluded from the defragmentation process are never treated as fragmented. Because trash should not get our attention.

When done

If any of the actions except None is checked, UltraDefrag will automatically perform that action after the job completes.

Note that your system and hardware configuration must support shutdown and power off, otherwise Windows may reboot your PC or even do nothing. Therefore test this mode before using it at a regular basis.

Note that your system must support the selected suspend mode and it must be turned on. Otherwise Windows will display a message box containing a brief error description and the system will not be switched into any suspend mode.

Configuring

The default font is Courier New, 9.

GUI options have the same meaning as the environment variables accepted by the UltraDefrag command line tool.

Note that you must specify paths in filters with double back slashes instead of a single one. For example:

ex_filter = "MyDocs\\Music\\mp3\\Red_Hot_Chili_Peppers"

The following script is used by default:

-- UltraDefrag GUI options

-- Note that you must specify paths in filters
-- with double back slashes instead of the single ones.
-- For example:
-- ex_filter = "MyDocs\\Music\\mp3\\Red_Hot_Chili_Peppers"

in_filter = ""
ex_filter = "system volume information;temp;recycle"
sizelimit = ""
fragments_threshold = 0
refresh_interval = 100
time_limit = ""

disable_reports = 0

-- set dbgprint_level to DETAILED for reporting a bug,
-- for normal operation set it to NORMAL or an empty string

dbgprint_level = "NORMAL"

-- set log_file_path to the path and file name of the log file to be created,
-- for normal operation set it to an empty string
-- For example:
-- log_file_path = "C:\\Windows\\UltraDefrag\\Logs\\ultradefrag.log"

log_file_path = ""

-- set dry_run parameter to 1 for defragmentation algorithm testing,
-- no actual data moves will be performed on disk in this case

dry_run = 0

-- seconds_for_shutdown_rejection sets the delay for the user to cancel
-- the hibernate, logoff, reboot or shutdown execution, default is 60 seconds

seconds_for_shutdown_rejection = 60

-- cluster map options (restart required to take effect):
-- the size of the block, in pixels; default value is 4

map_block_size = 4

-- the grid line width, in pixels; default value is 1

grid_line_width = 1

-- grid line color, in RGB format; default value is (0;0;0)
-- all color components should be in range 0-255
-- (0;0;0) means black; (255;255;255) - white

grid_color_r = 0
grid_color_g = 0
grid_color_b = 0

-- set disable_latest_version_check parameter to 1
-- to disable the automatic check for the latest available
-- version of the program during startup

disable_latest_version_check = 0

-- window coordinates etc.

-- set scale_by_dpi parameter to 0
-- to not scale the buttons and text according to the
-- screens DPI settings

scale_by_dpi = 1

-- set restore_default_window_size parameter to 1
-- to restore default window size on the next startup

restore_default_window_size = 0

It does make sense to set grid_line_width = 0, if you set map_block_size = 1 to be able to use the whole size of the cluster map.
This is especially useful, if you have drives of sizes of 500GB and more.


Previous: Scheduled Defragmentation Next: Boot Time Defragmentation