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”
A good tip to find thanks.
Thanks Paul.
Just to save someone else some time – don’t forget to run the script as Administrator on the exchange server – Don’t use your nice ExchangeAdmin acount…
Thanks Peter.
Always “run as admin” ;)
Where can the script be downloaded from?
It is in the scripts folder on the Exchange server Lester.
It’s exactly solve he problem …really apprecaite .
Thanks Sameer.