ESEUTIL /d ends in error 1032


Exchange 2003 Sp2, part of SBS 2003 Sp2. Database limit 75 GB. Priv1.edb 20.7 GB, Priv1.STM, 32 GB. Using /t over a USB drive with 198 GB free.

DB dismounted via System Manager; all Exchange Services stopped, IIS stopped, DNS stopped, all Symantec Endpoit stopped.

Got error 1032 every single time.

Any ideas?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alan HardistyCo-OwnerCommented:
>> ALL Exchange Services Stopped <<

You need the Information Store Service running to run eseutil
phermiAuthor Commented:
Well, I dimounted first, anf got the error.THen Istopped verything, same results
Alan HardistyCo-OwnerCommented:
What is the EXACT command you are typing and what is the exact error please?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

phermiAuthor Commented:
C:\Program Files\Exchsrvr\bin>eseutil /d "d:\program files\exchsrvr\mdbdata\priv
1.edb" /t "z:\defrag\defrag.edb"

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Error: Access to source database 'd:\program files\exchsrvr\mdbdata\priv1.edb' f
ailed with Jet error -1032.

Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot access fi
le, the file is locked or in use) after 32.78 seconds.
Alan HardistyCo-OwnerCommented:
Sounds like the store is still mounted according to the error, or your anti-virus software is scanning the Exchange directory and shouldn't be, thus holding the file open.

Please check the store is dismounted and the information store service is running and disable anti-virus software.
phermiAuthor Commented:
alanhardisty: will try again in few min .. I mounted teh stored after the error and now is on-line. I need to dismount and back up.

Will report shortly.
Alan HardistyCo-OwnerCommented:
No problems.  I'm not going anywhere.
phermiAuthor Commented:
BTW, Symantec Endpoint Prtection 12, ha a general exception created by us to exclude Exchange folders and the error was present after we stopped all Symantec Services any was.

Will try later. Thanks fro your SPEEDY replies, almost better than chat :)
Alan HardistyCo-OwnerCommented:
Ah - ok. Yes SEP is Exchange aware and should automatically exclude the Exchange structure.

No problems. I'm about for about 2 hours more then bed!   Midnight for me now.
phermiAuthor Commented:
The backup tipically takes about 2 hours, so I will post my results and we will be in touch when you can. Thanks for your help.

I am @ EST so it is just 7:00 PM ere.
phermiAuthor Commented:
Everyone is trying to help me ... no judgment.
phermiAuthor Commented:

I can oly say "Thanks". The backup is being perfomed.
Alan HardistyCo-OwnerCommented:
You are welcome.
phermiAuthor Commented:
ok, backup is done.  Store is dismounted an the servic is runing.
Anyhting else before I try it agan? is the command correct?
phermiAuthor Commented:
is running .... wow, what a novice mistake.

It has to be that the store was stopped.

I will let it run .. will post inal reslts.

Thanks Alan.
Alan HardistyCo-OwnerCommented:
The command is correct although you don't need the quotes around the final part.

I would run the following command:

eseutil /d "d:\program files\exchsrvr\mdbdata\priv1.edb" /tz:\defrag\defrag.edb

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alan HardistyCo-OwnerCommented:
Oops - you beat me to it - but not to worry.  Sounds good.

Bear in mind that the defrag will only remove the amount of whitespace in the database identified in event is 1221 in the Application Event Log unless you change the mailstore / mailbox retention period to 0.
Glen KnightCommented:
Check out my offline defrag guide here:

Also, I am not convinced that you can run an offline defrag with the temporary location being located on removable storage.  I'm not 100% sure so I will test it later.
phermiAuthor Commented:
alanhardisty: Yes, retention was set to 0. Now the EDB file is about 20 GB but the STM is 32 GB. Is thre anything that an be done or User must d to reduce the STM?

demazter:THanks. Good article.
Alan HardistyCo-OwnerCommented:
If retention is set to 0 for mailbox and mailstore then the only way to reduce the size further is to delete mail, then defrag again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.