Question Locked

Is there a way to schedule client disk defrag through Windows 2003 domain

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anyone know of a way to schedule client disk defrag through windows 2003 domain server? I would like to have all the client machines defragged Saturday evenings without setting up a schedule on each machine... 60+ PCs.

Thanks in advance for any advice.

3 replies

by rob miners

I haven't tested it but it looks promising. It could be scheduled from the File Server to run at the specified time.

PsExec v1.94
By Mark Russinovich
Published: January 4, 2008

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

And a batch file that can be copied to the workstations with the contents along these lines:

@echo off
set path=C:\;C:\WINDOWS\system32
c:
defrag c: /f /r
goto end

:end

This discussion is closed to new replies.