Exchange 5.5 ESEUTIL Defrag

Posted on 2006-05-08
Medium Priority
Last Modified: 2010-08-05
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.
Question by:CMILLER
  • 3
  • 2
LVL 39

Expert Comment

ID: 16635377


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,

LVL 39

Expert Comment

ID: 16635530

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)

LVL 27

Accepted Solution

Exchange_Admin earned 2000 total points
ID: 16636119
1.Create a folder called EXCHDEFRAG in the root of the E: drive.
2. Run the following:

Hope this helps.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 27

Expert Comment

ID: 16636123
The /T switch above causes ESEUTIL to create the tempfile on the E drive.
To defrag the PUB substitute /ISPUB instead of ISPRIV

Author Comment

ID: 16639050
Thanks, Exchange Admin

That is what I needed to know.

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


LVL 27

Expert Comment

ID: 16639586
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.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question