![]()
© J.C. Kessels 2009 |
How to use MyDefrag from a bootable CD-ROM or memory stick?The MyDefrag script interpreter is a single program called "MyDefrag.exe". The interpreter is relatively small and completely standalone (it only uses standard Windows DLL's). If you want to place MyDefrag on a CD-ROM or a memory stick then all you need is the interpreter and the script that you want to run. All the other files in the MyDefrag distribution are extra's and are not essential for running MyDefrag.Tip: Is MyDefrag installed on your harddisk? Then you can boot from a standard bootable CD-ROM, navigate to MyDefrag on the harddisk and just run it. No need to construct a special CD-ROM.
Boot optimization does not workMyDefrag optimizes your disk(s) for the currently booted Windows, which in this case is the CD-ROM (or memory stick or whatever). Not your harddisk. MyDefrag uses the "%SystemRoot%\Prefetch\Layout.ini" file for the boot optimization. If all the volumes are mounted on the exact same drive letter as when you have booted normally, and the CD-ROM method uses a ramdisk, then perhaps you can copy the layout.ini file from the harddisk to the place where MyDefrag expects to find it:
WarningDo not hibernate your computer, boot with something else (such as BartPE), and then change the hibernated disk in any way. This will corrupt the disk, a known hibernation problem. MyDefrag contains a test and will refuse to process hibernated disks.See also:
|