Download and install

MyDefrag

Download and install

MyDefrag is fully functional freeware, no cost, no time limit, no advertisements. The MyDefrag homepage is  *  http://www.MyDefrag.com/. If you have downloaded from another website then make sure your copy is not infected by scumware or a virus.

Release date: May 21, 2010
 *  MyDefrag-v4.3.1.exe Download for Windows 2000, 2003, XP, Vista, 2008, Win7, and for X64.
Included languages: Brazilian Portuguese, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Italian, Japanese, Polish, Portuguese, Russian, Simplified Chinese, Slovenian, Spanish, Swedish, Traditional Chinese, Turkish.
2,035 kilobytes

RSS      *  RSS feed to keep informed about new versions.     This RSS link lists the postings in the  *  Announcements area on the forum, which is a locked area where only I can post, and I only post there if a new version is released.

Tip: Visit the  *  MyDefrag forum if you want to ask a question, to see the latest news, and more.

The download is a standard setup program and using it should need no explanation. It will automatically detect if your computer is 32 bit or X64 and will place the appropriate files in the chosen folder (default is "c:\Program Files\MyDefrag v4.3.1\"). Setup will create an association between "*.MyD" files and the MyDefrag script interpreter ("c:\Program Files\MyDefrag v4.3.1\MyDefrag.exe"). It does not place files anywhere else (such as DLL's in the Windows folder).

Requirements

Windows 2000, 2003, XP, Vista, 2008, Win7
MyDefrag is based on the Microsoft defragmentation API, which is not available for DOS, Windows 3.*, Windows 95/98/ME, Windows NT, ReactOS, Wine, and not for other operating systems such as Linux. MyDefrag can be run from a bootable Windows CD-rom (such as  *  WinPE,  *  Barts Preinstalled Environment (BartPE), or  *  Ultimate Boot CD for Windows ).
Permissions
MyDefrag needs "full control" permissions to all files and disks that it must defragment and/or optimize. On a default Windows system the "administrator" userid has full permissions to all files and disks. Users can also run MyDefrag, but then it can only defragment/optimize the files and disks for which the user has "full control".
Memory
MyDefrag will load a complete list of all the files on a volume into memory. The amount of memory needed depends on the number of files on the volume.
Patience
MyDefrag can take a long time to complete, depending on the optimization that you have chosen. You will need some patience.

Version history

 *  MyDefrag v4.3.1 (May 20, 2010)
 *  MyDefrag v4.3.0 (May 20, 2010)
 *  MyDefrag v4.2.9 (March 7, 2010)
 *  MyDefrag v4.2.8 (February 13, 2010)
 *  MyDefrag v4.2.7 (December 16, 2009)
 *  MyDefrag v4.2.6 (November 14, 2009)
 *  MyDefrag v4.2.5 (October 31, 2009)
 *  MyDefrag v4.2.4 (October 27, 2009)
 *  MyDefrag v4.2.3 (October 12, 2009)
 *  MyDefrag v4.2.2 (October 11, 2009)
 *  MyDefrag v4.2.1 (October 2, 2009)
 *  MyDefrag v4.2.0.Beta (September 13, 2009)
 *  MyDefrag v4.1.2 (August 2, 2009)
 *  MyDefrag v4.1.1 (July 25, 2009)
 *  MyDefrag v4.1 (July 22, 2009)
 *  MyDefrag v4.0 (July 16, 2009)
 *  MyDefrag v4.0b12 (July 6, 2009)
 *  MyDefrag v4.0b11 (June 9, 2009)
 *  MyDefrag v4.0b10 (June 6, 2009)
 *  MyDefrag v4.0b9 (June 2, 2009)
 *  MyDefrag v4.0b8 (May 23, 2009)
 *  MyDefrag v4.0b7 (April 30, 2009)
 *  MyDefrag v4.0b6 (April 26, 2009)
 *  MyDefrag v4.0b5 (April 25, 2009)
 *  MyDefrag v4.0b4 (April 20, 2009)
 *  MyDefrag v4.0b3 (March 30, 2009)
 *  MyDefrag v4.0b2 (March 15, 2009)
 *  MyDefrag v4.0b1 (February 20, 2009)
 *  JkDefrag v3.36 (August 31, 2008)
 *  JkDefrag v3.35 (August 27, 2008)
 *  JkDefrag v3.34 (February 1, 2008)
 *  JkDefrag v3.33 (December 23, 2007)
 *  JkDefrag v3.32 (December 3, 2007)
 *  JkDefrag v3.31 (December 2, 2007)
 *  JkDefrag v3.30 (November 30, 2007)
 *  JkDefrag v3.29 (November 16, 2007)
 *  JkDefrag v3.28 (November 2, 2007)
 *  JkDefrag v3.27 (November 1, 2007)
 *  JkDefrag v3.26 (September 19, 2007)
 *  JkDefrag v3.25 (September 16, 2007)
 *  JkDefrag v3.24 (September 3, 2007)
 *  JkDefrag v3.23 (August 31, 2007)
 *  JkDefrag v3.22 (August 30, 2007)
 *  JkDefrag v3.21 (August 30, 2007)
 *  JkDefrag v3.20 (August 29, 2007)
 *  JkDefrag v3.19 (August 27, 2007)
 *  JkDefrag v3.18 (August 26, 2007)
 *  JkDefrag v3.17 (August 24, 2007)
 *  JkDefrag v3.16 (June 22, 2007)
 *  JkDefrag v3.15 (June 14, 2007)
 *  JkDefrag v3.14 (June 9, 2007)
 *  JkDefrag v3.13
 *  JkDefrag v3.12 (June 6, 2007)
 *  JkDefrag v3.11 (June 5, 2007)
 *  JkDefrag v3.10 (June 4, 2007)
 *  JkDefrag v3.9 (May 30, 2007)
 *  JkDefrag v3.8 (April 20, 2007)
 *  JkDefrag v3.7 (Feb 24, 2007)
 *  JkDefrag v3.6 (Jan 20, 2007)
 *  JkDefrag v3.5 (Jan 07, 2007)
 *  JkDefrag v3.4 (Dec 25, 2006)
 *  JkDefrag v3.3 (Dec 15, 2006)
 *  JkDefrag v3.2 (Dec 13, 2006)
 *  JkDefrag v3.1 (Dec 08, 2006)
 *  JkDefrag v3.1 (Dec 07, 2006)
 *  JkDefrag v3.0 (Dec 03, 2006)
 *  Defrag version 2.27 (Nov 16, 2006)
 *  Defrag version 2.27b (Nov 22, 2006)
 *  Defrag version 2.26 (Nov 07, 2006)
 *  Defrag version 2.25 (Oct 23, 2006)
 *  Defrag version 2.24 (Oct 13, 2006)
 *  Defrag pre-versions 2.24 (Pre Oct, 2006)

Installer commandline parameters

The MyDefrag distribution ("MyDefrag-v4.3.1.exe") accepts the following command line parameters. These can be useful to system administrators, and to other programs calling the setup program.
/SP-

Disables the This will install... Do you wish to continue? prompt at the beginning of Setup.

/SILENT, /VERYSILENT

Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed. Everything else is normal so for example error messages during installation are displayed and the startup prompt is (if you haven't disabled it with DisableStartupPrompt or the '/SP-' command line option explained above).

If a restart is necessary and the '/NORESTART' command isn't used (see below) and Setup is silent, it will display a Reboot now? message box. If it's very silent it will reboot without asking.

/SUPPRESSMSGBOXES

Instructs Setup to suppress message boxes. Only has an effect when combined with '/SILENT' and '/VERYSILENT'.

The default response in situations where there's a choice is:

  • Yes in a 'Keep newer file?' situation.
  • No in a 'File exists, confirm overwrite.' situation.
  • Abort in Abort/Retry situations.
  • Cancel in Retry/Cancel situations.
  • Yes (=continue) in a DiskSpaceWarning/DirExists/DirDoesntExist/NoUninstallWarning/ExitSetupMessage/ConfirmUninstall situation.
  • Yes (=restart) in a FinishedRestartMessage/UninstalledAndNeedsRestart situation.

5 message boxes are not suppressible:

  • The About Setup message box.
  • The Exit Setup? message box.
  • The FileNotInDir2 message box displayed when Setup requires a new disk to be inserted and the disk was not found.
  • Any (error) message box displayed before Setup (or Uninstall) could read the command line parameters.
  • Any message box displayed by [Code] support function MsgBox.

/LOG

Causes Setup to create a log file in the user's TEMP directory detailing file installation and [Run] actions taken during the installation process. This can be a helpful debugging aid. For example, if you suspect a file isn't being replaced when you believe it should be (or vice versa), the log file will tell you if the file was really skipped, and why.

The log file is created with a unique name based on the current date. (It will not overwrite or append to existing files.)

The information contained in the log file is technical in nature and therefore not intended to be understandable by end users. Nor is it designed to be machine-parseable; the format of the file is subject to change without notice.

/LOG="filename"

Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file. If a file with the specified name already exists it will be overwritten. If the file cannot be created, Setup will abort with an error message.

/NOCANCEL

Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. Useful along with '/SILENT' or '/VERYSILENT'.

/NORESTART

Instructs Setup not to reboot even if it's necessary.

/RESTARTEXITCODE=exit code

Specifies the custom exit code that Setup is to return when a restart is needed. Useful along with '/NORESTART'. Also see Setup Exit Codes.

/LOADINF="filename"

Instructs Setup to load the settings from the specified file after having checked the command line. This file can be prepared using the '/SAVEINF=' command as explained below.

Don't forget to use quotes if the filename contains spaces.

/SAVEINF="filename"

Instructs Setup to save installation settings to the specified file.

Don't forget to use quotes if the filename contains spaces.

/LANG=language

Specifies the language to use. language specifies the internal name of the language as specified in a [Languages] section entry.

When a valid /LANG parameter is used, the Select Language dialog will be suppressed.

/DIR="x:\dirname"

Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified.

/GROUP="folder name"

Overrides the default folder name displayed on the Select Start Menu Folder wizard page.

/NOICONS

Instructs Setup to initially check the Don't create a Start Menu folder check box on the Select Start Menu Folder wizard page.

/TASKS="comma separated list of task names"

Specifies a list of tasks that should be initially selected. The following tasks are available: "Associate", "CreateDesktopIcon", "SelectScreenSaver", and "CreateScheduledTask". Only the specified tasks will be selected; the rest will be deselected. Use the /MERGETASKS parameter instead if you want to keep the default set of tasks and only select/deselect some of them.
Example: /TASKS="Associate,CreateDesktopIcon"

/MERGETASKS="comma separated list of task names"

Same as the /TASKS parameter, except that the specified tasks will be merged with the default selected set of tasks.

Uninstaller commandline parameters

The MyDefrag distribution ("MyDefrag-v4.3.1.exe") creates a program called "unins000.exe" in the MyDefrag installation directory. This program accepts the following command line parameters. These can be useful to system administrators, and to other programs calling the uninstall program.
/SILENT, /VERYSILENT

When specified, the uninstaller will not ask the user for startup confirmation or display a message stating that uninstall is complete. Shared files that are no longer in use are deleted automatically without prompting. Any critical error messages will still be shown on the screen. When '/VERYSILENT' is specified, the uninstallation progress window is not displayed.

If a restart is necessary and the '/NORESTART' command isn't used (see below) and '/VERYSILENT' is specified, the uninstaller will reboot without asking.

/SUPPRESSMSGBOXES

Instructs the uninstaller to suppress message boxes. Only has an effect when combined with '/SILENT' and '/VERYSILENT'. See '/SUPPRESSMSGBOXES' in the "Installer commandline parameters" chapter for more details.

/LOG

Causes Uninstall to create a log file in the user's TEMP directory detailing file uninstallation and [UninstallRun] actions taken during the uninstallation process. This can be a helpful debugging aid.

The log file is created with a unique name based on the current date. (It will not overwrite or append to existing files.)

The information contained in the log file is technical in nature and therefore not intended to be understandable by end users. Nor is it designed to be machine-parseable; the format of the file is subject to change without notice.

/LOG="filename"

Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file. If a file with the specified name already exists it will be overwritten. If the file cannot be created, Uninstall will abort with an error message.

/NORESTART

Instructs the uninstaller not to reboot even if it's necessary.