Menu

#3 Autodefrag does not exit once run

open
nobody
None
5
2002-06-06
2002-06-06
Anonymous
No

I have copied autodefrag.exe into the system32
directory, & used the 'AT' command to schedule
autodefrag.exe.
The first time autodefrag.exe runs, it stays in memory
& does not terminate.
So when autodefrag runs again, I get the following
message 'This version of Disk Defragmenter does not
support running more than one instance'.
When I try to 'end task' autodefrag, I get an access
denied error & it will not terminate.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I have the same issue in my enviroment running
    AUTODEFRAG as a AT command on Windows 2000
    Terminal and File Servers SP2

     
  • Nobody/Anonymous

    Logged In: NO

    I also have been trying AutoDefrag, run from W2k's Task
    Scheduler, and have found that it leaves mmc.exe running,
    which blocks new invocations of the defrag utility (until
    mmc.exe
    has been killed from the Task Manager). And I'm not even
    convinced that any defragmentation takes place under the first
    invocation. Once I've killed mmc and started a manual session
    with the defrag utility, an Analysis shows a not inconsiderable
    amount of fragmentation remaining, which clears when I run it.

     
  • Nobody/Anonymous

    Logged In: NO

    If you are attempting to run this as a "scheduled task", the
    machine must be logged on as the user that you are running
    the "scheduled task" as. The reason for this is that the
    application needs access to a "window" in order to navigate.

    Try running manually (from a CMD prompt) to verify this.

     
  • Nobody/Anonymous

    Logged In: NO

    I was able to resolve it in my environment by using
    the "/interactive" switch in the AT command that runs
    autodefrag, has worked like a charm since.

     
  • Nobody/Anonymous

    Logged In: NO

    I attempted the same task with a vb script and reduced its
    function to only open defrag and close it. The same failure to
    release the mmc.exe resource is encountered.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.