Link to home
Start Free TrialLog in
Avatar of Chris Miller
Chris MillerFlag for United States of America

asked on

Exchange 5.5 ESEUTIL Defrag

I have a windows 2000 server with exchange 5.5.
Exchange is installed on C:\
The priv and pub edb files are stored on D:\

priv.edb - 8.5gig
pub.edb - 1gig

The C drive is a 8gig partition with 5gig free space

The D drive is a 16gig partition with 7gig free space

I have a E drive it has 100gig free space.

My question is what is the syntax to run the ESEUTIL command to defrag the priv and pub edb files.

I have looked it up and not sure how to do it.
Avatar of redseatechnologies
redseatechnologies
Flag of Australia image

Hi CMILLER,

http://support.microsoft.com/?kbid=192185

That has a lot of information on how to run ESEUTIL

eseutil /d /ispub
eseutil /d /ispriv

those commands will defrag the databases for you

Hope that helps,

-red
CMILLER,

also, running just "eseutil /?" will bring up a whole list of switches and explanations as to what they do

For instance, you have the space to add "/bD:\oldedb" to the command - this will store an untouched copy of the database (good idea)

-red
ASKER CERTIFIED SOLUTION
Avatar of Exchange_Admin
Exchange_Admin

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
Avatar of Exchange_Admin
Exchange_Admin

The /T switch above causes ESEUTIL to create the tempfile on the E drive.
To defrag the PUB substitute /ISPUB instead of ISPRIV
Avatar of Chris Miller

ASKER

Thanks, Exchange Admin

That is what I needed to know.

When I run the command what drive do I need to be in?

Ex:

E:\>ESEUTIL /D /ISPRIV /TE:\EXCHDEFRAG\TEMPDFG.EDB
It doesn't really matter but I usually change to the drive where the tempdfg file will be place provided this is a local drive and not a network drive.

But I really don't think it matters when using the /T switch.