Solved

Schedule disk defragmenting

Posted on 2004-08-10
8
391 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
8 Comments
 
LVL 14

Assisted Solution

by:dlwyatt82
dlwyatt82 earned 50 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 400 total points
ID: 11767022
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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 50 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

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…
If you are looking at this article, you have most likely been hit by some version of ransomware and are trying to find out if there is anything you can do, or what way you should react - READ ON!
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

829 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