Solved

defrag keeps restarting

Posted on 1998-10-13
6
183 Views
Last Modified: 2013-12-28
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
0
Comment
Question by:dogberry
6 Comments
 
LVL 14

Expert Comment

by:smeebud
ID: 1646198
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/
0
 
LVL 7

Expert Comment

by:MATTCEI
ID: 1646199
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.
0
 

Author Comment

by:dogberry
ID: 1646200
sorry but smeebud gave me the answer. Yours may work as well but his was simpler for a relative novice like me
0
Do email signature updates give you a headache?

Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 
LVL 14

Accepted Solution

by:
smeebud earned 50 total points
ID: 1646201
godberry, you said this worked so I'll repost it.
=============

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.

Regards
Bud
http://www.geocities.com/~budallen/
0
 

Author Comment

by:dogberry
ID: 1646202
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
0
 

Expert Comment

by:piyi
ID: 1646203
Stop task scheduler agent,no screen saver selected
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now