Any Post starting with this disclaimer means that this post was not written by me however I liked it and added to my blog. I will also include the link to the original or similar post to provide credit to the original author
If you do a default installation of Exchange 2007 the queue database config is located in “C:\Program Files\Microsoft\Exchange Server\Bin\EdgeTransport.exe.config” and the database is stored under “C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue\” as default. To change this settings, we should open the file EdgeTransport.exe.config in this file we have to parameters:
-
QueueDatabasePath: Database path (mail.que and trn.chk files)
- QueueDatabaseLoggingPath: transaction logs path (*.log and *.jrs files)
Now, let’s change both parameters for the c:\Database folder, as shown in the figure below.
Click on the image to see in the original size (readable)
After changing the config file, we have to methods do accomplish our queue database moving process:
Moving the current database
- Click on Start / Run and type services.msc click OK
- Stop the service called Microsoft Exchange Transport
- Move the database files(mail.que and trn.chk) from original location to the new place
- Move the transactions log files (*.log and *.jrs) from original location to the new place
- Start the Microsoft Exchange Transport service
Creating a new queue database
- Click on Start / Run and type services.msc click OK
- Restart the the Microsoft Exchange Transport service
In both cases the result will be the same, the new database will be changed for the directory specified in the .config file.