Link to home
Start Free TrialLog in
Avatar of dslivingston
dslivingstonFlag for United States of America

asked on

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.
Avatar of antimacos
antimacos

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

Avatar of dslivingston

ASKER

We are probably looking at around 10 computers.  Are those programs free?
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
Looks like it can only do one computer at a time....Is that correct?
ASKER CERTIFIED SOLUTION
Avatar of johnb6767
johnb6767
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Johnb6767 got me on the quick draw. Thats how I would set it up as well.
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