Exchange installation will set the Exchange Server Transport Queue database and Logging path inside the installation directory by default. Many times due to various reasons we change the location of Transport queue database and logging into another drive. You can adopt anyone of the following method,
Method 1: Use the Powershell Script Move-TransportDatabase.ps1
This is the easiest method, and I strongly recommend too.
1. Move the Queue Database Path by running the below cmdlet,
2. Move the Queue Database Logging Path by executing the below cmdlet,
You are done!
Method 2: Modify the EdgeTransport.exe.config file in "%ExchangeInstallPath%Bin" path.
Open "%ExchangeInstallPath%Bin\EdgeTransport.exe.config" in a notepad and modify the below entries,
Replace the <LocalPath> with the new location you created, in my case it is “H:\ExchangeDatabases\TrasportQueue” and the changed entries as shown below.
Save and close the notepad, and restart your Microsoft Exchange Transport service. You are done!
Ensure that the database queue files and logging files are created under the new location and the mailflow is normal.
Share if you face any issues!