MSExchangeIS 9518 (0xfffff745): Unable to Create or Access TMP Files
[This topic is intended to address a specific issue called out by the Exchange Server Analyzer Tool. You should apply it only to systems that have had the Exchange Server Analyzer Tool run against them and are experiencing that specific issue. The Exchange Server Analyzer Tool, available as a free download, remotely collects configuration data from each server in the topology and automatically analyzes the data. The resulting report details important configuration issues, potential problems, and nondefault product settings. By following these recommendations, you can achieve better performance, scalability, reliability, and uptime. For more information about the tool or to download the latest versions, see "Microsoft Exchange Analyzers" at http://go.microsoft.com/fwlink/?linkid=34707.]
Topic Last Modified: 2007-01-23
The Microsoft® Exchange Database Troubleshooter Tool detected one or more MSExchangeIS 9518 events with error code 0xfffff745 in the Application log. This error occurs if Exchange cannot create or access files in the folders that are specified in the TMP or TEMP system environment variables.
This issue can be caused if any of the following is true:
The path where the TMP or TEMP environment variable points is unavailable or is read-only. For example, this issue occurs if the TMP environment variable is mapped to a remote drive or to a storage area network (SAN), and that mapped drive or SAN is no longer available.
The TMP or TEMP environment variable has an incorrect registry setting.
Exchange does not have full control permissions from the root of the drive down to the transaction logs and databases.
To resolve this issue, you can perform one or more of the following:
Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see the product documentation to complete these steps.
Verify that both the TMP environment variable and the TEMP environment variable point to a valid location in Windows. To do this, follow these steps:
To set a valid path for the Temp and TMP variables
Click Start, point to Settings, and then click Control Panel.
Double-click System, click the Advanced tab, and then click Environment Variables.
Under System variables, click TEMP, and then click Edit.
If a valid path does not appear in the Variable Value box, type a valid path for the TEMP variable, and then click OK. For example, type %systemroot%\Temp, and then click OK.
Under System variables, click TMP, and then click Edit.
If a valid path does not appear in the Variable Value box, type a valid path for the TMP variable, and then click OK. For example, type %systemroot%\Temp, and then click OK.
Click OK two times to close the System Properties dialog box.
Restart the computer.
Verify and assign the local Administrators group or the SYSTEM account Full Control permissions to the Temp folder. It is insufficient to assign Full Control permissions to the Domain Admins group. By default, the following path is specified for both the TMP and the TEMP system environment variables:
Exchange must access this folder location by using the SYSTEM account. To view these permissions follow these steps:
To verify permissions to the Temp folder
Right-click Start, and then click Explore.
Right-click the Temp folder that is specified in the system environment variable, then click Properties. Typically, this is %systemroot%\Temp.
Click the Security tab.
In the Name list, click SYSTEM, and then view the assigned permissions that appear in the Permissions list.
If permissions to the Temp folder are correct, verify the permissions on each drive that contains the Exchange database files or the Exchange log files. The SYSTEM account must have Full Control permissions at the root of the drive and at each folder that contains Exchange database files or the Exchange transaction log files. For example, if you have transaction logs in the C:\Exchsrvr\Mdbdata folder, the SYSTEM account must have Full Control permissions to the root directory of drive C, the Exchsrvr folder, and the Mdbdata folder.
Check whether the problem is because of incorrect registry settings. Follow these steps:
To verify registry settings
Click Start, click Run, type Regedt32.exe, and then click OK.
Locate the following registry key:
Locate the TMP (or TEMP) name. This key should be of the REG_EXPAND_SZ type.
If either of the keys is incorrect, back up the Environment subkey and then delete the TMP or TEMP value on the right.
Click Start, click Run, type Sysdm.cpl, and then click OK.
On the Advanced tab, click Environment Variables.
In the System variables list, verify that the value(s) you deleted in step 4 is not present in the list.
You may have to scroll down to see the TEMP or TMP variables.
Click New. In the Variable Name box, type the names that you deleted in step 4. For example, type C:\Winnt\TEMP.
Click OK three times, and then restart the computer.