Change the default location for Exchange 2016 Queue Database

0
10
views

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.

Notepad %ExchangeInstallPath%Bin\EdgeTransport.exe.config

A picture containing screenshot
Description automatically generated

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

<add key="QueueDatabasePath" value="<LocalPath>" />
<add key="QueueDatabaseLoggingPath" value="<LocalPath>" />

Example:

<add key="QueueDatabasePath" value="E:\QueueDB" />
<add key="QueueDatabaseLoggingPath" value="QueueDB" />

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.

net stop MSExchangeTransport && net start MSExchangeTransport

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!

LEAVE A REPLY

Please enter your comment!
Please enter your name here