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

0
dslivingstonAuthor Commented:
We are probably looking at around 10 computers.  Are those programs free?
0
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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

dslivingstonAuthor Commented:
Looks like it can only do one computer at a time....Is that correct?
0
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......
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
antimacosCommented:
Johnb6767 got me on the quick draw. Thats how I would set it up as well.
0
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
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
Windows Server 2003

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.