Problem solve Get help with specific problems with your technologies, process and projects.

Running ESEUTIL to compact an information store without installing Exchange Server

SearchExchange.com expert Bharat Suneja explains how you to run ESEUTIL to reclaim disk space for an offline defragmentation.

I read the SearchExchange.com article Is an offline defragmentation really worth it? The article refers to using ESEUTIL /D to compact an information store and reclaim disk space. However, I don't have enough room on my server to perform the defragmentation. I can't seem to find the right syntax to push the temporary files to an alternate file share during defragmentation. Is there any additional risk to the information store?

ESEUTIL can be run on a computer without installing Microsoft Exchange. You will need to copy the database files to another computer to do this. In addition, you will need to copy the files Eseutil.exe, Ese.dll, Jcb.dll, Exosal.dll, and Exchmem.dll from the Exchsrvrbin directory to the path from which you want to run it. You will also need to make sure the language locale of the computer you are running ESEUTIL on matches the one on your Exchange server.

You can then copy the defragmented database back to its original location. Please note -- you will need to unmount the database you are defragmenting to be able to copy it to another computer and then copy it back to the original location on your Exchange server.

Alternatively, you could specify a different name and path using ESEUTIL's /T switch. If you mapped a shared drive to run ESEUTIL, and the drive letter you assigned to the mapped drive is Z:, you'd use the following command:

Eseutil /d /ispriv /tz:NewDatabase.edb

Microsoft recommends you have free space equal to (at least) 110% of the size of the database being defragmented.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchExchange.com:

  • Tip: Exchange Admin 101: Downsizing databases
  • Tip: Using an external hard drive to defragment Exchange
  • Tip: Beware of the information store's outer limits
  • Expert Advice: Defragmenting an Exchange 2000 database
  • Learning: Exchange server memory and storage
  • Reference Center: Information store tips and resources
  • Reference Center: Defragmentation tips and resources

Dig Deeper on Exchange Server setup and troubleshooting