Skip to content

Change the default location for Exchange 2016 Queue Database

Last updated on Apr 4, 2019

Change the default location for Exchange 2016 Queue Database

The default location for the Exchange Queue Database is in the Exchange install directory under TransportRoles.

A close up of a logo

Description automatically generated

The location of the queue database and the queue database transaction logs is controlled by keys in the %ExchangeInstallPath%Bin\EdgeTransport.exe.config XML application configuration file. This file is associated with the Exchange Transport service.

How do you change the location of the queue database and queue database transaction logs?

To modify the default location, the EdgeTransport.exe.config xml file needs to be modified. Launch command prompt as administrator and run the following to open the edgetransport config file.

A picture containing screenshot

Description automatically generated

Scroll down till you get to “<appSettings>” and modify the following keys.

Example:

Now that a new location has been provided, click save and close the edgetransport.config file.

Restart the Microsoft Exchange Transport service to complete the process.

A screenshot of a cell phone

Description automatically generated

The new location will now have the queue database and transaction logs.

A screenshot of a cell phone

Description automatically generated

Sharing is caring!

Published inDatabaseExchange 2016Exchange ServerQueue DatabaseThatLazyAdmin Blog

2 Comments

  1. Judah Kelber Judah Kelber

    Once you’ve restarted the transport service, can the mail.que and the log files in the old location be deleted?

Leave a Reply

Your email address will not be published. Required fields are marked *