Topic Last Modified: 2005-11-18
On a non-clustered Exchange Server computer, the Microsoft® Exchange Server Analyzer Tool reads the following registry entries to determine the value for the TEMP and TMP environment variables:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment\TEMP
HKLM\System\CurrentControlSet\Control\Session Manager\Environment\TMP
The Microsoft Exchange Information Store service uses the TEMP and TMP folders as temporary storage during various operations, such as message conversion and mailbox move operations. On a non-clustered Exchange server, the Microsoft Exchange Information Store service uses the SYSTEM (for example, Local System), which uses a default environment variable setting of %Systemroot%\Temp for both TEMP and TMP. If either one or both of the Exchange Server's TEMP or TMP environment variables begin with %SYSTEMROOT, a warning is displayed.
The TEMP and TMP environment variables are used to designate which folders in the file system (which path) should be used by applications that require a temporary workspace. TEMP is typically used by applications, such as Microsoft Exchange and TMP is typically used by development tools, such as Microsoft Visual C++®. The path for each variable is usually relative to the security context of the application or tool.
When the Exchange Server Analyzer is run against an Exchange Virtual Server in a Microsoft Windows Server™ 2003 cluster, it does not read the HKLM registry tree. Instead, it reads the following registry entries:
HKEY_USERS\<Cluster service account SID>\Environment\TEMP
HKEY_USERS\<Cluster service account SID>\Environment\TMP
Exchange Virtual Servers running in a Windows Server 2003 cluster use the environment variable settings for the Cluster Service account, which runs under the context of a specific user security principle. For user accounts, the default environment variable for TEMP and TMP is set to %Userprofile%\temp. If either one or both of the Exchange Virtual Server's TEMP or TMP environment variables begin with %SYSTEMROOT, a warning is displayed.
For optimal performance, it is recommended that you do not use the disk containing the operating system for the TEMP and TMP folders used by Exchange. In addition, you should ensure that these environment variables are set to paths on a fast disk or disk subsystem, such as a RAID 0+1 spindle set. It is also recommended that you do not use the disk containing the operating system for the TEMP and TMP folders used by Exchange or Exchange Virtual Servers.
To correct this warning
-
Log on to the Exchange server computer with an account that has administrative rights.
-
Right-click My Computer and select Properties.
-
Select the Advanced tab.
-
Click the Environment Variables button.
-
In the System variables area, select TEMP and click the Edit button.
-
In the Variable value field, enter the new path for the TEMP environment variable and click OK.
-
In the System variables area, select TMP and click the Edit button.
-
In the Variable value field, enter the new path for the TMP environment variable and click OK.
-
Click OK to close the Environment Variables dialog box and OK once more to close the System Properties dialog box.
-
Reboot the node to apply the change.
For more information about changing the TEMP/TMP environment variables on a clustered Exchange server, see Cluster TEMP/TMP path is on the same drive as the system partition.