Tuesday, June 15, 2010

How to change placement of queues and log files in Exchange 2010 HUB and CAS

As a general best practise its recommended to change the default paths for logfiles, to avoid them filling up your System disk.

Exchange 2010 uses the default installation path for all logs and mail queues for HUB and CAS.
To change these you can modify the following files in the Exchange 2010 install folder \bin.
The paths I normally change is the ones specified below:

  • add key="QueueDatabasePath" value = "D:\Exchange\Transport Roles\Data\Queue"
  • add key="QueueDatabaseLoggingPath" value = "D:\Exchange\Transport Roles\Data\Queue"
  • add key="IPFilterDatabasePath" value = "D:\Exchange\Transport Roles\Data\IPFilter"
  • add key="IPFilterDatabaseLoggingPath" value = "D:\Exchange\Transport Roles\Data\IPFilter"
  • add key="TemporaryStoragePath" value = "D:\Exchange\Transport Roles\Data\Temp"
  • add key="LogFilePath" value="Drive\Folder"


  •  add key="LogPath" value="D:\Exchange\RPC Client Access\"

POP3 IMAP config files are located in \v14\ClientAccess\PopImap

Change the following files to set the new log folder for the services:

  • add key="TemporaryStoragePath" value = "D:\Exchange\ClientAccess\PopImap\Temp"
  • add key="LogPath" value="D:\Exchange\ClientAccess\Imap4" 

  •  add key="TemporaryStoragePath" value = "D:\Exchange\ClientAccess\PopImap\Temp"
  •  add key="LogPath" value="D:\Exchange\ClientAccess\Pop3"

Always backup your files before you edit them, and to make the change active. You have to restart the services related to the config file.
Regarding NTFS permissions, be sure to grant the correct user on the folder. Some services acts as network service.

1 comment:

Silvia Jacinto said...

Reading your article is such a privilege. It does inspire me, I hope that you can share more positive thoughts. Visit my site too. The link is posted below.