Is it possible to defrag on reboot?

Hi Experts,

 I'm looking for a clean way to run defrag (or contig + defrag script) on reboot, before services loads. Any advice will be appeciated, thanks in advance.

-kaddict
LVL 4
KaddictAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark DamenERP System ManagerCommented:
I guess it is possible.  Lots of simple adware programs (Spybot for example) has the functionality to run before anything else has started, so that it is able to remove hard-seated spyware.

I haven't seen a tool for utilising the same process with defrag, but technically it should be possible.
0
originalbiffmalibuCommented:
Is your reasoning that "services" is hogging the CPU and taking too long to load?  If that is the case, you have something else wrong.  I am currently working on that type of problem.
0
KaddictAuthor Commented:
Hi back,

 No I'm just looking for something better than RunOnce or something like that. Looking for something that will run a command-line defrag.exe or contig.exe&defrag.exe after a reboot, before anything else starts so every file can get defragmented. On SBS servers, I've heard fragmentation is not "that" bad, but it's fragmented alot, and a defrag while server is normally booted does about nothing.

Thanks,

-kaddict
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Mark DamenERP System ManagerCommented:
Other thing to do is trial a 3rd party defrag tool, which has many more options than windows built-in defrag.

http://www.oo-software.com/smb/en/products/oodefragserver/index.html

Very powerful, can even fragment a single file/directory.  Has 5 modes of defrag to choose from, and seems to work well.

Last time I looked, there was a free trial available.  No I don't work for this company!
0
KaddictAuthor Commented:
Thanks markus,

 Didn't know that OO did a Windows Server version of that software, will be trying it if possible, thanks alot.

Also get a look at Contig + Power Defragmenter GUI which is a very good free solution too.

I'm looking for a way to start a script at each reboot on my SBS 2003 server (not a client script that runs when a client logs on, but a script that runs when Windows is opening, as soon as possible in the load.

Thanks again,

-kaddict
0
Michael WorshamInfrastructure / Solutions ArchitectCommented:
I recommend the Diskeeper 2008 Server product for both Server 2003 and SBS 2003 environments. It has an option to not only defrag drives on reboot, but it can also defrag your MFT (Master File Table) and Pagefile as well. It also has a real-time defragmentation which allows full-time monitoring to keep up maximum performance.

The latest version of Diskeeper 2008 also has a VSS compatibility mode (a must for those running SBS) which helps leverage the data protection of VSS and the performance and reliability of automatic defragmentation.

Diskeeper 2008 Server (Trial software is also available!)
http://www.diskeeper.com/diskeeper/standard/standard.asp

Diskeeper 2008 Comparison Chart - Business Editions
http://www.diskeeper.com/diskeeper/dk2008comparisonchart-business.asp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KaddictAuthor Commented:
Thank you very much mwecomputers, will get the trial and a look at the pricing.

Will be waiting for any free idea for a day or two and I will assign points.

Thanks again,

-kaddict
0
KaddictAuthor Commented:
Thanks. Great value and so configurable
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SBS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.