Link to home
Start Free TrialLog in
Avatar of dogberry
dogberry

asked on

defrag keeps restarting

See above title.
What more can  I say. Every time I use defrag it restarts about twenty times before I get fed up and give up
Avatar of smeebud
smeebud

Try one of these stitches;
You can use the following command-line parameters with Defrag.exe, either on the Open line in the Run dialog box or within
System Agent:

/ALL               Defragment all local, non-removable drives.

/F                   Defragment files and free space.

/U                   Defragment files only.

/Q                   Defragment free space only.

/P                    System and hidden files will be optimized.

/CONCISE       Display the Hide Details view (Default).

/DETAILED     Display the Show Details view.

/NOPROMPT   Unattended mode; do not stop and display confirmation messages.

/PMIOCTL      Turns off use of the protected-mode IOCTL from Drvspacx.vxd.

/SAGESET:n     Display the System Agent-Aware Setting dialog box and store the settings in the SETn registry key.

/SAGERUN:n    Runs in unattended mode using the System Agent-aware settings in the SETn registry key.

Note, If this answer does not work, either reject it or comment back.
We're here to solve your problem and will gladly work with you until you are satisfied.
It's your page.
Please don't accept or grade until you problem is solved as that will lock out other techs.
You're under no time limit or restrictions.

Regards
Bud
http://www.geocities.com/~budallen/
It will do this if it senses that the contents of the hard drive have changed while it's running,usually caused by another program running at the same time as Defrag.Before starting it,bring up the Task List (CTL-ALT-DEL once) and 'END' all but Explorer.
Avatar of dogberry

ASKER

sorry but smeebud gave me the answer. Yours may work as well but his was simpler for a relative novice like me
ASKER CERTIFIED SOLUTION
Avatar of smeebud
smeebud

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Smeebud, which one of your suggested parameters will stop it restarting all the time. I have tried the other suggestion of shutting all but explorer and that doesn't work. Any other ideas
Stop task scheduler agent,no screen saver selected