Exchange 5.5 ESEUTIL Defrag

Posted on 2006-05-08
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
    LVL 39

    Expert Comment


    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


    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

    1.Create a folder called EXCHDEFRAG in the root of the E: drive.
    2. Run the following:

    Hope this helps.
    LVL 27

    Expert Comment

    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

    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

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Want to promote your upcoming event?

    Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    794 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now