Ask the Expert

Windows ME defrag isn't working

Windows ME defrag isn't working. When I turn it on the meter tries to move but is still trying four or five hours later. It used to work fine. I have a 40g hard drive with 640 Ram, 128 just installed.

Requires Free Membership to View

This is a common problem with Windows's built-in defragmenter, especially in Windows 9x and Me. Because it's sensitive to any changes in the system state, it often winds up getting stuck in an infinite loop. One way to get around this is to have Defrag run at the next reboot before the user interface finishes loading.

To do this, copy the following into a text file and save it with the filename DEFRAG.REG (make sure you have file extension display turned on in Explorer to do this correctly). Double-click on it to enter it into the Registry, then reboot. The next time your system loads, it should run a full defrag pass without stopping.

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx]

"Flags"=dword:00000003

"Title"="Noninteractive Defrag"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\Defrag]

"Cmd"="||DEFRAG.EXE /ALL"

This was first published in May 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: