Resolve Exchange Private (Priv1.edb) EDB file Error

Priv1.edb and Priv.stm Files: A Prelude to Exchange Server

Microsoft Exchange Server along with MS Outlook provides a world-class experience of mailing, instant messaging, calendar, notes etc. to the users with various exquisite features.

Exchange Server keeps its data centralized, in an Extensible Storage Engine (ESE) facility to keep all the email items along with their log files. During Exchange Server installation, two files are created Priv1.edb files and Priv1.stm files. Priv1.edb file stores all email messages, attachments, headers and non-SMTP email messages whereas on the other hand, Priv1.stm file is concerned with MIME data, Internet related graphics, photos, videos etc. Each STM file is generated corresponding to each EDB file.

Priv1.edb file is the prime file which stores all your important works so any kind of corruption to it must be necessarily avoided. However, we cannot be sure of everything and must be ready with combat strategies if any kind of mishappening occurs with Priv1.edb file.

How to identify errors/issues in Priv.edb files?

The error in Priv1.edb files occur in various in following forms:

  • Various Jet Engine Errors like "JET_errRecordNotFound", "JET_errDatabaseCorruptedNoRepair", "JET_errRecordDeleted" etc.
  • Corruption or damage prevailing in the Header information.
  • Duplicate Keys or Identifiers created.
  • Exchange Server Error Code 528.

This damage in EDB files is caused due to these following illustrated reasons:

  • Accidental or improper closing of Exchange Server.
  • Power failure which causes improper shutdown.
  • Virus or malware attack.
  • Hardware or System crash.

Repair corrupted files with in-built ESEUTIL and ISINTEG utilities

When you come across any such corruption or damage in your private EDB files then you can follow these instructions which incorporate the use of ESEUTIL and ISINTEG.

Note: It is necessary to first take the backup of the EDB files before performing any action.

  1. From the information store service, check and note down all the errors/event IDs.
  2. Stop the information store service. Execute this command from the 'Bin' folder: "c:\exchsrvr\bin>eseutil /mh ..\mdbdata\priv1.edb"
  3. Check the status of the files in results. If inconsistent, perform a soft recovery.
    Run this command:
    'C:\Program Files\exchsrvr\MDBDATA>"C:\Program Files\exchsrvr\BIN\eseutil" /r E00'
  4. Again check the consistency of both the public information store and the private information store. If the databases are still inconsistent, perform hard repair using these commands.
    'C:\Program Files\exchsrvr\MDBDATA>"C:\Program Files\exchsrvr\BIN\eseutil" /p priv1.edb'
    'C:\Program Files\exchsrvr\MDBDATA>"C:\Program Files\exchsrvr\BIN\eseutil" /p pub1.edb'
  5. Remove the log files from the 'Mdbdata' folder and delete the '.chk' file and 'Temp.edb' files.
  6. Mount and then dismount the database once to effect the changes.
  7. Then, stop the information store service and defragment the private store databases by running these two commands - C:\Program Files\exchsrvr\BIN>eseutil /d
    C:\Program Files\exchsrvr\MDBDATA\priv1.edb.
  8. Finally, run the 'Isinteg.exe' utility to test database consistency and remove extra space created by ESEUTIL switch.
    'C:\Program Files\exchsrvr\BIN>isinteg -s (servername) -fix -test alltests'
  9. Next, restart the information store service.
The above commands can face and resolve minor corruptions from the EDB files but do not stand good with complex and critical errors. So, it is not a good idea to rely on it for the ultimate fix.

Recreating damaged priv.edb files

Users can try recreating the priv.edb files using the below explained procedure.

  • Ensure to have all the log files from E0000001.log to E00.log.
  • Stop all the running programs.
  • Rename MDBDATA folder.
  • Create new MDBDATA.
  • Initiate Information Store Services.
  • Go to Exchange Servers->right click on priv.edb files->click ‘Mount’.
  • A message will be prompted that reads, “No EDB file available.” Ignore the message and Proceed.
  • The fresh Priv1.edb and Priv1.stm files will be automatically created and the files are ready to use.

These steps will help you in repairing your corrupted EDB files but requires a thorough knowledge of both ESEUTIL and ISINTEG tool along with hands on experience of using the Exchange Server. However at times despite of performing these steps you are not guaranteed of errors being resolved due to a lot critical corruption levels in the EDB file. So in order to successfully repair corrupted files, experts recommend using a third-party Exchange Recovery professional tool which does not require any technical acumen and presents most reliable and trustworthy results. Try this best in the market Exchange Recovery tool to fix all kind of errors and corruptions in Offline EDB files and make the data available once again. The tool is equipped with many smart features and filters for flexible recovery and supports database files from all Exchange versions. You can take a free trial with its demo version anytime. Checkout everything about this tool on the website.

Conclusion

Exchange Private (Priv1.edb) files contains crucial Exchange data and thus needs proper maintenance and prevention from corruption. If already corrupted and throwing error, then we have discussed manual tricks for the users in this blog. If still remain unsatisfied, then the best Exchange Recovery tool is the next resolution.

Recommended Resources

 
© Copyright 2015-2021 by Data Repair Tools. All Rights Reserved.
All designated trademarks and brands are the property of their respective owner
DMCA-Protected