Microsoft KB Archive/317700

= How to change the location of the message tracking logs in Exchange 2000 Server =

Article ID: 317700

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Exchange Server 2000 Service Pack 1
 * Microsoft Exchange 2000 Server Service Pack 2

-



This article was previously published under Q317700



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
When message tracking is enabled on a Microsoft Exchange 2000 Server computer, the tracking logs are written to the location \ .log. In this scenario  represents the folder in which Exchange 2000 is installed and   is the host name of the Exchange server itself (for example, C:\Program Files\ \ log). These logs can increase in size, which depends on the message throughput and the function of a particular server in your environment. Because of this increase in size, you may want to change the location of the message tracking logs to accommodate the size requirements. Because a user interface doe not exist in Exchange System Manager to change the location of message tracking logs, this article describes how to manually apply this adjustment by using Active Directory Editing tools and Registry Editor.



MORE INFORMATION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To move the location of the message tracking logs, follow these steps:  Quit the following services:  Microsoft Exchange Message Transfer Agent (MTA) Stacks Microsoft Exchange Post Office Protocol version 3 (POP3) Microsoft Exchange Internet Message Access Protocol, Version 4rev1 (IMAP4) Microsoft Exchange Information Store Microsoft Exchange System Attendant</li> Simple Mail Transport Protocol (SMTP)</li></ul> </li> Use Microsoft Windows Explorer to create the new folder that is to contain the log files, for example, C:\Logs .</li> Make note of any special permissions that may have been set on the original folder location. For example, if the original location was C:\Program Files\ \ .log, the folder inherits the folder and file permissions from the parent folder (C:/Program Files). You can view these permissions under the Security tab of the folder permissions. If Exchange 2000 Server is not installed under the default Program Files folder, the file permissions are Everyone with Full Control. Share permissions should be Full Control for the Administrators Group and the computer account (for example, ExServer1$). The Everyone Group should have Read share permissions. These settings are verified in the steps later.

</li> Copy the log file folder that exists (for example, C:\Program Files\Exchsrvr\ExServer1.log) to the new folder location (for example, C:\Logs). To change the location that is recorded in Active Directory, you must modify the msExchDataPath value in Active Directory by using either LDP or ADSI Edit. ADSI Edit and LDP are included in Microsoft Windows 2000 Support Tools (on the Microsoft Windows 2000 CD-ROM). For additional information, see the following article or articles in the Microsoft Knowledge Base:

301423 How to Install the Windows 2000 Support Tools

</li> Start ADSI Edit, and then connect to a domain controller.

Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.</li> Click the plus sign (+) to expand Configuration Container.</li> Navigate to the following Active Directory container:

Configuration/Services/Microsoft Exchange/ / Administrative Groups/ /Servers/ 

</li> Right-click the server object, and then click Properties.</li> On the Attributes tab, in the Select a property to view list, click msExchDataPath.</li> In the Edit Attribute box, type the value that you want to set.

Note This value should be the folder path created in step two. In the example it is C:\Logs </li> Click Set, verify that the Value box contains the new folder path, click Apply, and then click OK.</li> Close ADSI Edit. To do so, on the Console menu, click Exit.</li> Click Start, click Run, and then type regedt32, and then click OK.</li> Locate the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeSA\Parameters

</li> In the right pane, double-click LogDirectory, edit the String value to reflect the new folder, and then click OK. For example, C:\Logs\ .log.</li> Locate the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanmanserver\Shares

</li> <li>In the right pane, locate the share that matches the name of your log folder, and then double-click the registry value. For example,  .log.</li> <li>Edit the Path portion of the string to reflect the new location, and then click OK. For example:

Path=C:\Logs\ .log

</li> <li>Quit the Regedt32 application. To do so, on the Registry menu, click Exit.</li> <li>Restart the Exchange 2000 Server computer.

Note The server must be restarted to reflect the new share location.</li> <li>After the Exchange 2000 Server computer restarts, use Windows Explorer to navigate to the new location for the message tracking logs. Verify that the file and share permissions that are in step three have been recreated on the new folder. If the file and share permissions have not be recreated, you must manually add them.</li></ol>

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

246856 XADM: How to enable message tracking in Exchange 2000 Server

262162 XADM: Using the Message Tracking Center to track a message

Additional query words: XADM dc

Keywords: kbinfo KB317700

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.