?
Solved

Schedule disk defragmenting

Posted on 2004-08-10
8
Medium Priority
?
395 Views
Last Modified: 2010-04-14
Ola,

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

0
Comment
Question by:DaFou
[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
8 Comments
 
LVL 14

Assisted Solution

by:dlwyatt82
dlwyatt82 earned 200 total points
ID: 11766947
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
 
LVL 9

Expert Comment

by:SamuraiCrow
ID: 11766980
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
 
LVL 6

Accepted Solution

by:
knollbert earned 1600 total points
ID: 11767022
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 14

Expert Comment

by:dlwyatt82
ID: 11767023
Samurai, Disk Cleanup and Disk Defragmenter are two very different things.
0
 
LVL 9

Expert Comment

by:SamuraiCrow
ID: 11767051
Doh!  Sorry gentlemen, I got ahead of myself.
0
 
LVL 14

Expert Comment

by:dlwyatt82
ID: 11767054
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
 
LVL 1

Expert Comment

by:johncase142
ID: 11767536
Check out StartDefrag from http://kevin.gearhart.com.  It has a very nice GUI, and is very affordable.
0
 
LVL 16

Assisted Solution

by:glenn_1984
glenn_1984 earned 200 total points
ID: 11768489
Also check out http:executivesoftware.com.
I have been using Disk Keeper for years.
It does defragmenting to an nTH degree.
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 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