Bypass Windows 98's never-ending defrag operation

By Greg Shultz, Special to ZDNet Asia
Friday, October 22, 2004 01:46 PM

You’ll notice that this confirmation dialog box carries a stern warning about completely disabling virtual memory. In addition to the warning that computer performance may decrease significantly, the message also warns that you may be unable to restart your computer.

As far as the performance warning is concerned, yes, your system will not be performing optimally. However, since for this technique it's only a temporary change, that isn’t a big concern. As to the warning about not being able to restart your computer, I can tell you that I’ve never encountered this situation. However, that’s not to say that it won’t happen. Just in case, you should be prepared to work through this scenario. Having a Windows 98 Startup Disk on hand should be all you need to get the system back up and running.

Once you click Yes to confirm that you do indeed want to continue, you’ll return to the System Properties dialog box. To continue, click Close. You’ll then be prompted to restart your computer. However, you need to click No.

Installing the hidden tool
In order to install the hidden tool, you’ll need to have on hand a Windows 98 CD. Once you insert the CD in the drive, you’ll see the Windows 98 CD-ROM menu. Select the Browse This CD option. When you see Windows Explorer, drill down to the Tools\Mtsutil folder. At this point, locate and right-click the Defrag.inf file. Then, select the Install command from the shortcut menu. When you do, you won’t notice anything happening. However, in the background, the install operation adds the special command, Defrag/All, to the RunServicesOnce key in the Registry.


It’s a one-time deal
Keep in mind that, as the name implies, the change to the registry implemented by the Defrag.inf tool will only be effective once. It will be automatically removed after the command is launched.


To continue, close Windows Explorer, the Windows 98 CD-ROM menu, and any other open windows. Then, restart Windows 98. When you do, Windows 98 will begin to start normally, but then before the operating system is completely initialized, Disk Defragmenter will launch before anything else loads from the registry, the StartUp folder, or the Win.ini file. It will then be able to complete the defragmentation operation uninterrupted. Once Disk Defragmenter completes its job, close it down and let the system start normally. You’ll then need to reenable virtual memory.

Reenabling virtual memory
To reenable virtual memory, return to the Virtual Memory dialog box, as described earlier. Then, select the Let Me Specify My Own Virtual Memory Settings option and click OK. When you do, you’ll see the Confirm Virtual Memory Settings dialog box and will want to click Yes. To complete the operation, close the System Properties dialog box, and click Yes when you’re prompted to restart your system.


Copy the shortcut
If you’d like to be able to defragment your hard drive regularly using this technique, you can copy the Defrag.inf file to a folder on your hard drive. That way you can access it quickly and easily the next time you want to perform a defragmentation operation.



 Previous 1 2 3 

WORTHWHILE?

0

0 votes
Save to my library  Save to My Library  
Blog

Talkback 3 comments

Any suggestions on where I can go to download defrag.inf? I am unable to locate the CD that you speck of...and I have been unable to find a downloadable version. Regardless, thanks for your article.
Posted by anonymous on Monday, April 11 2005 03:30 AM

When I set up to run the disk defrag the pause button is on and the system is frozen and will not activate. Any suggestions how to fix?
thanks.
Posted by joe pare on Wednesday, May 04 2005 04:10 AM

You don't need the defrag.inf file. You can use the defrag.exe file in the windows driectory, and create the registry key yourself. In the registry editor, go to the LOCALMACHINE/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/RUNSERVICEONCE folder. Then enter your own string by right clicking in the right hand window, selecting new - string. Double click on the string you just created and enter C:WINDOWS/DEFRAG.EXE as the value for that string. Then exit the registry and restart your computer. The defragmentation software will come up before you log in. Don't forget to do the vitual memory shut down outlined in this article. It all worked for me.
Posted by Corrie Block on Thursday, December 22 2005 08:51 PM

Windows Server 2008 iSCSI multiple connected session modes

Enterprise Servers & Storage

For administrators using Windows Server 2008's iSCSI initiator, selecting the right connection policy is critical. Rick Vanover explains the options for the ease-of-entry storage protocol.


Read more »


NUS Enterprise: An 'incubator without walls'

Blog thumbnail

Almost everyone has had dreams of owning their own shop, but most of us know also that it takes a fair amount of resources to open a new business, and..... by Eileen Yu

Read more »

Tech Jobs Now!

 
Virtualize your way to cost savings
Build an infrastructure that is flexible, scalable, and economical, as you strive to become a truly agile business.

Red Hat Outlines Its Virtualization Strategy and Roadmap for 2009
» Watch the video




Tags

  1. antivirus
  2. apple ipod
  3. cnet networks inc.
  4. desktop
  5. e - mail
  6. hard drive
  7. intuit inc.
  8. mcafee inc.
  9. microsoft corp.
  10. microsoft windows
  11. microsoft windows vista
  12. microsoft windows xp
  13. norton co.
  14. pc
  15. performance
  16. security
  17. software
  18. tool
  19. web
  20. web site