Defrag

S

Sirius

Hello,

How do you make defrag a scheduled task? It is not listed
as a scheduled task. If I add : %SystemRoot%\system32\dfrg.msc, it opens the
window but does not start automatic
If I do:
C:\WINDOWS\system32\defrag.exe C: /nonprompt /q
nothing happens.
Q179306 and Q178706 and Q283080 is very blurry on this.

Thank you.
 
V

Vanguard

Sirius said:
Hello,

How do you make defrag a scheduled task? It is not listed
as a scheduled task. If I add : %SystemRoot%\system32\dfrg.msc, it
opens the window but does not start automatic
If I do:
C:\WINDOWS\system32\defrag.exe C: /nonprompt /q
nothing happens.
Q179306 and Q178706 and Q283080 is very blurry on this.


C:\WINDOWS\system32\defrag.exe <drive>

There is no /nonprompt or /q parameters for the defrag.exe program. Run
"defrag.exe /?" if you want to see what parameters it supports. I don't
use any other than the drive specifier.

You can specify only one drive. If you have multiple drives, say C: and
D:, add an event for C: and another for D: (but schedule them at
different times or even on different days).

The job must be defined under an admin-level account. That is, admins
can defrag drives, not normal or restricted users. If you are defining
the job while logged in under a non-admin account, you will need to
enter the admin login credentials (account and password) in the RunAs
field.
 
K

kenchi

there is no /nonprompt or /q parameter for defrag tool. For schedulin
you might have to use it with Windows Task Scheduling and schedule i
when you require. I prefer third party tool as its easier to schedul
and can run in the background
 
S

Sirius

Is there a way to schedule to defrag from the msc console?
I mean not from the prompt but from the gui.
The one that happens when you go programs, accessories, system tools, disk
defragmenter?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top