
Configuring the Pickup Directory Location
By default, the Pickup directory is located at C:\Program Files\Microsoft\Exchange Server\TransportRoles\Pickup. The directory must be local to the Exchange 2007 computer.

To use the Exchange Management Shell to configure the location of the Pickup directory
-
Run the following command:
Set-TransportServer <Identity> -PickupDirectoryPath <LocalFilePath>
For example, to set the Pickup directory to C:\Pickup Directory on an Exchange 2007 computer named Exchange01, run the following command:
Set-TransportServer Exchange01 -PickupDirectoryPath "C:\Pickup Directory"
Setting the value of the PickupDirectoryPath parameter to $null disables the Pickup directory. The directory that is specified by the PickupDirectoryPath parameter and the ReplayDirectoryPath parameter can't be the same.
Changing the location of the Pickup directory does not copy any existing message files from the old Pickup directory to the new Pickup directory. The new Pickup directory location is active almost immediately after the configuration change, but any existing message files are left in the old Pickup directory.
The following permissions are required on the Pickup directory:
-
Administrator: Full Control
-
System: Full Control
-
Network Service: Read, Write, and Delete Subfolders and Files
By default, the Microsoft Exchange Transport service uses the security credentials of the Network Service user account to create the new Pickup directory and apply the correct permissions. If the new Pickup directory does not already exist, and the Network Service account has the rights that are required to create folders and apply permissions at the new location, the new Pickup directory is created, and the correct permissions are applied to the Pickup directory. If the new Pickup directory already exists, the existing folder permissions are not checked. Whenever you move the pickup directory by using the PickupDirectoryPath parameter with the Set-TransportServer cmdlet, it is always a good idea to verify that the new Pickup directory exists and that the new Pickup directory has the correct permissions applied to it. If your change to the Pickup directory is not successful, you can create the new Pickup directory and apply the correct permissions to it before you use the PickupDirectoryPath parameter with the Set-TransportServer cmdlet.