Defrag on reboot

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Toddles18

Thread Starter
Joined
Jul 18, 2001
Messages
2,910
A while ago I read a post that told me how to do a one time deal to defrag windows before windows fully starts up to prevent programs running in memory from screwing with it. Problem is I forgot how to do this. So whats the secret?
 
Joined
Dec 2, 1999
Messages
12,041
DEFRAG.INF - DEFRAGMENT ALL DRIVES ON SUBSEQUENT WINDOWS STARTUP
The Disk Defragmenter for Windows 98 (DEFRAG.EXE) may start and not complete its task. If repeated attempts to defragment the drive are unsuccessful, it may be because an application is writing to the disk. The Disk Defragmenter cannot share access to a drive with other tasks.

An application loading automatically at startup may interfere with DEFRAG. Run DEFRAG before applications load at startup by adding a value for DEFRAG.EXE /ALL to the RunServicesOnce key in the registry.

To add a value for DEFRAG.EXE /ALL to the RunServicesOnce key:

Select DEFRAG.INF in the \Tools\MTSutil folder on the Windows 98 CD.

Right-click DEFRAG.INF
-or-
Hold down the SHIFT key and press F10.

Choose INSTALL to add the value for DEFRAG.EXE /ALL.
 
Joined
Aug 17, 2001
Messages
7,486
I am attaching an inf file to add defrag to your runonce key.
It will have a txt extension. Change that extension to .inf and right click, choose install.
 
Joined
Aug 17, 2001
Messages
7,486
Toddles18 PM'd me. I forgot to attach the file. I'm sorry. This is the same as following brianF's instructions. I have an HP and don't have all the extras founf on a normal Install CD. In the event that anyone else is in the same situation, here's the file.
Change the extension to >inf, right click and choose install.
 

Attachments

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top