Solved

defrag keeps restarting

Posted on 1998-10-13
6
190 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

752 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