Exchange Server 2003 offline defrag

Posted on 2006-05-18
Last Modified: 2008-02-01
I am trying to run an offline defrag on my priv1.edb file. My HDD capacity is very limited so I have to run the defrag on another drive.
I have been using the following script from c:\program files\exchsrvr\bin after having dismounted the store.

eseutil /d /p c:\program-files\exchsrvr\mdbdata\priv1.edb /td:\temp.edb

D:\ refers to a second hdd on the server. I keep recieving the following error message:

Error: Access to source database c:\program-files\exchsrvr\mdbdata\priv1.edb failed with jet error -1811.
Operation terminated with error -1811 <JET_errFileNotFound, File not found)

I have made sure that I have full access to the Bin folder in exchange, and tried this command on another one
of my servers and it failed with the exact message so I assume I am doing something wrong. Can some one please help
Question by:Charlie_Chehade
    1 Comment
    LVL 33

    Accepted Solution

    More information of defrag:

    I think this error is happening because you don't have access to the files needed to perform the defrag:

    Follow this article for instructions of running defrag on non-exchange machine:;en-us;244525&Pro

    Exchange Server 2003
    1. Create a scratch folder on the computer that does not have Exchange Server 2003 installed.
    2. Copy the Eseutil.exe, Ese.dll, Jcb.dll, Exosal.dll, and Exchmem.dll files from the Exchange Server 2003 computer's Drive:\Exchsrvr\Bin folder to the scratch folder.
    3. At a command prompt, change directory to the scratch folder.
    4. Run the eseutil command from this folder against any databases that were copied from the Exchange Server 2003 computer.


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    754 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

    24 Experts available now in Live!

    Get 1:1 Help Now