Solved

defrag keeps restarting

Posted on 1998-10-13
6
189 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

749 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