Group Policy Defrag Scheduling

I have a client that wants to be able to schedule a defrag on several computers at the same time.  Is there a way to configure this in the Group Policy somewhere so we dont have to go to each computer and set it up.  The server is Server 2003 and the workstations are Windows XP Professional and they are all on the domain.
dslivingstonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

antimacosCommented:
Do you have a desktop Management software installed? ZEN, Altiris, Land Desk? You could setup Jobs in these programs to run at anytime you want.  How many machines are we talking about?

Run a
Defrag C: /f

dslivingstonAuthor Commented:
We are probably looking at around 10 computers.  Are those programs free?
antimacosCommented:
An app I have used in the past. PsExec
Download here:

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

Instructions on how to use with defrag
http://www.winhelponline.com/blog/how-to-run-disk-defragmenter-on-a-remote-computer/

Run as windows task
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

dslivingstonAuthor Commented:
Looks like it can only do one computer at a time....Is that correct?
johnb6767Commented:
PSEXEC - To deploy to 10 pcs
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

Schtasks - To create the job at a command line....
http://technet.microsoft.com/en-us/library/bb490996.aspx

At - Another method to create the task
http://technet.microsoft.com/en-us/library/bb490866.aspx

10 PCs really isnt that hard to create the task on 1, copy the .job file from C:\Windows\Tasks to the others, open it, and enter credentials......

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
antimacosCommented:
Johnb6767 got me on the quick draw. Thats how I would set it up as well.
johnb6767Commented:
My bad, didnt refresh.....

psexec works with a name of PC's as well.

psexec @C:\PCNames.txt blah blah

would be the syntax of your command, instead of.....

psexec \\remotepc blah blah
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
Windows Server 2003

From novice to tech pro — start learning today.