Question Locked

Workgroup Defrag using Batch File

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

Hi,

Could anyone tell me how to defrag multiple PCs on a peer-to-peer network using a batch file.

Many thanks

Lee

2 replies

by sgt_shultz

from each computer, make a scheduled task.
Start/Programs/Accessories/System Tools/Scheduled Tasks
new task
browse to your system32 folder probably
c:\winnt\system32
select the dfrg.msc file there
schedule the time and give it an account to use that has local administrator rights (maybe power user is enough, i am not sure)
The commercial product from Executive Software (diskeeper) is worth the money imho. it can resize and defrag the mft as well as the paging file. i recommend it over this kind of batch file but i know how it is to have zero budget...

This discussion is closed to new replies.