Changing the Queue Database path in Exchange Server 2007

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

http://msmvps.com/blogs/andersonpatricio/archive/2007/06/12/changing-the-queue-database-in-exchange-server-2007.aspx

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

  1. Click on Start / Run and type services.msc  click OK
  2. Stop the service called Microsoft Exchange Transport
  3. Move the database files(mail.que and trn.chk) from original location to the new place
  4. Move the transactions log files (*.log and *.jrs) from original location to the new place 
  5. Start the Microsoft Exchange Transport service

Creating a new queue database

  1. Click on Start / Run and type services.msc  click OK
  2. 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.