Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 399
  • Last Modified:

Schedule disk defragmenting

Ola,

How do I schedule all partitions on all disks to be fragmented every 01:00 AM ?

0
DaFou
Asked:
DaFou
3 Solutions
 
dlwyatt82Commented:
The Disk Defragmenter that ships with windows 2000 by default does not allow itself to be run as a Scheduled Task. This is a licensing issue (Microsoft licensed a dumbed down version of another company's defrag product to ship with the OS).

One way around this is to write a script utilizing AutoIt (http://www.hiddensoft.com) to launch the disk defragmenter and send a series of keystrokes and/or mouse clicks to defrag your drives. You can then add a scheduled task to windows to launch your AutoIt script at 1am each morning.
0
 
SamuraiCrowCommented:
This is something that can be done from the Task Scheduler.  Go to:

Start>Settings>Control Panel>Scheduled Tasks and double click on add scheduled task. From here you can select 'Disk Cleanup' and set it to run daily at 1AM.  You can also enter local credentials that the process can run under.
0
 
knollbertCommented:
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
dlwyatt82Commented:
Samurai, Disk Cleanup and Disk Defragmenter are two very different things.
0
 
SamuraiCrowCommented:
Doh!  Sorry gentlemen, I got ahead of myself.
0
 
dlwyatt82Commented:
knollbert's comment is even better, a script ready-made! (though it still needs to be modified to suit your needs in terms of how many logical drives / volumes to defrag, etc)
0
 
johncase142Commented:
Check out StartDefrag from http://kevin.gearhart.com.  It has a very nice GUI, and is very affordable.
0
 
glenn_1984Commented:
Also check out http:executivesoftware.com.
I have been using Disk Keeper for years.
It does defragmenting to an nTH degree.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now