Solution:
Root Cause: Extensible Storage Engine (ESE) Queue Database Corruption The Exchange queue database (
mail.que) is an ESE database file. Physical disk bad sectors, ungraceful server shutdowns, or storage drops can corrupt
mail.que or its transaction log files (
trn.log), preventing the MSExchangeTransport service from starting or mounting the queue.
Step-by-Step Fix: 1 Stop MSExchangeTransport Service:
Copy
powershell
Stop-Service MSExchangeTransport
2 Locate Queue Database Directory:
Navigate to the default queue path: C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue
3 Rename Corrupted Queue Folder:
Rename the Queue folder to Queue.old (this preserves old queue data for potential recovery via ESEUTIL repair if required): Copy
cmd
ren "C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue" Queue.old
4 Restart MSExchangeTransport Service to Recreate Database:
Restarting the service automatically builds a brand-new, healthy mail.que file and clean transaction logs: Copy
powershell
Start-Service MSExchangeTransport
5 Verify New Queue Creation:
Confirm a new Queue directory has been generated and Get-Queue returns a healthy Ready state.