Exchange Server 2003 offline defrag

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
Who is Participating?
NJComputerNetworksConnect With a Mentor Commented:
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.