I had written about moving the transport queue to a different drive in Exchange 2007 in one of my previous article. Those two methods are valid for Exchange 2010 as well – editing the ExchangeTransport.exe.config file in the bin folder or using the Move-TransportDatabase.ps1 script in the Scripts folder.
My recommendation will be to use the script as it takes care of the steps needed.
- The script will create the folder if it doesn’t already exist.
- It will give the necessary accounts the correct permissions on the folder. ( Full control for Network Service, System & Administrators).
- It will move the transport database (Mail.Que) and log files to the new drive.
- It will restart the transport service for the changes to take effect.
- Editing the config files doesn’t move the transport database & log files. It just updates Exchange to use the new drive once the service is restarted.
The command to move the transport queue is the same in both 2007 & 2010.
./Move-TransportDatabase.ps1 –QueueDatabasepath “path” –QueueDatabaseLoggingPath “path”