UltraDefrag also includes a new mode that allows you to run it at boot time in a manner similar to chkdsk. This is known as a native application. It provides the ability to defragment any system file. Including page file, registry hives, hiberfil.sys file and any other files locked by the system or applications. Native UltraDefrag runs before any file locking, therefore it can process them as ordinary files. View screenshots...
If the boot time defragmenter is enabled, it will run at every boot. Note that you will have a chance to exit immediately, just press any key when the appropriate prompt is displayed. If no key is pressed during this delay, the boot time script will be executed.
You can always stop the volume analysis/defragmentation by pressing the Pause/Break key on the keyboard.
The following restrictions exist for the boot time scans:
The boot time defragmenter can be enabled/disabled either from the main GUI window or by typing boot-on/boot-off commands in the command prompt.
The boot time defragmenter can be executed in two modes:
The boot time script consists of the disk defragmentation commands, ancillary commands and comments. It is located at %windir%\system32\ud-boot-time.cmd. To edit this file execute boot-config at the command prompt or simply click the Script button of the UltraDefrag Configuration dialog.
The boot time script simplifies also the use of UltraDefrag on computers running Windows 98. After installing Windows XP as a second operating system, UltraDefrag may be installed too. After adding the shutdown command to the boot time script you may simply boot the XP system (which requires much less resources at boot time!) and safely leave your computer. It will be shut down automatically after the job is completed.
To abort the script execution and enter the interactive mode immediately hit ESC at any time during boot time script processing.
When the exit command is missing in the boot time script UltraDefrag runs in interactive mode after the last script command is executed. UltraDefrag displays the following command prompt and waits for the users input:
Interactive mode: Type 'help' for list of supported commands. #
All commands displaying long lists (help, hexview, history, man, set, type) are splitting them into pages in interactive mode.
Display the contents of the specified file in a HEX viewer layout.
000000C0: 0a 00 3b 00 20 00 46 00 | ; F 000000C8: 72 00 61 00 67 00 6d 00 | r a g m 000000D0: 65 00 6e 00 74 00 65 00 | e n t e
When UltraDefrag encounters the wrong syntax it shows an appropriate message on the screen and continues the script execution.
For further information about the command switches and variables consult the Console Interface page.
The following script is used by default:
;-------------------------------------------------------------------- ; UltraDefrag Boot Time Shell Script ;-------------------------------------------------------------------- ; !!! NOTE: THIS FILE MUST BE SAVED IN UNICODE (UTF-16) ENCODING !!! ;-------------------------------------------------------------------- set UD_IN_FILTER=windows;winnt;ntuser;pagefile;hiberfil set UD_EX_FILTER=temp;recycle;system volume information udefrag c: exit
Previous: Graphical Interface | Next: File Fragmentation Reports |