How to re-create STM File in Exchange 2000/2003
This knowledgebase provide information how to re-create the *.STM file in case you don’t have a valid backup
Run eseutil /p /createstm command to create of the *.STM file:
If the private mailbox store *.STM file may need to recreate, please use the following command:
eseutil /p /createstm "C:\Program Files\Exchsrvr\MDBDATA\priv1.edb"
If the public store *.STM file may need to recreate, please use the following command:
eseutil /p /createstm "C:\Program Files\Exchsrvr\MDBDATA\pub1.edb"
1. Stop any antivirus software on the server.
2. Stop "Microsoft Exchange System Attendant" service.
Note: This stage prevent from users to use the server.
3. Go to "Start" -> "Run" and write "Regedit" and press on "Enter" button.
4. Navigate to:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\VirusScan]
In the right side of the screen change the value of "Enable" from 1 to 0.
5. Run eseutil /mh command to verity the need to recreate of the *.STM file:
eseutil /mh "C:\Program Files\Exchsrvr\MDBDATA\priv1.edb"
eseutil /mh "C:\Program Files\Exchsrvr\MDBDATA\pub1.edb"
Note: If the *.EDB files reside in other locations, you may need to change the path to this files in eseutil /mh sentence.
6. Run eseutil /p /createstm command to create of the *.STM file:
If the private mailbox store *.STM file may need to recreate, please use the following command:
eseutil /p /createstm "C:\Program Files\Exchsrvr\MDBDATA\priv1.edb"
If the public store *.STM file may need to recreate, please use the following command:
eseutil /p /createstm "C:\Program Files\Exchsrvr\MDBDATA\pub1.edb"
7. Go to "Start" -> "Run" and write "Regedit" and press on "Enter" button.
8. Navigate to:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\VirusScan]
In the right side of the screen change the value of "Enable" from 0 to 1.
9. Start "Microsoft Exchange System Attendant" service.
10. Open Exchange "System Manager". Navigate to the problematic mailbox store/Public store.
11. Run "mailbox cleanup agent" on each mailbox store and choose "reconnect all mailboxes".
12. Optional: Open the problematic mailbox store/Public store, right click on the mailbox store/Public store and choose "properties".
Press on "Database" tab and mark the checkbox "This database can be overwritten by a restore".
13. Mount the mailbox store/Public store.