How to specify a custom location for the isolated configuration file in Internet Information Services 7.0
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows XP and Windows Vista
This article describes how to specify a custom location for the isolated configuration file in Internet Information Services (IIS) 7.0.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Application pool isolation is a new feature in IIS 7.0. An isolated configuration file is automatically created before a new application pool is started. The isolated configuration file contains the settings for all the applications that are hosted in the application pool.
The default location of the isolated configuration file is the following directory:
%systemdrive%\inetpub\temp\appPoolsYou may want to use a custom location instead of the default location. To specify a custom location for the isolated configuration file, follow these steps:
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WAS
- Right-click the details pane, point to New, and then click String Value.
- Type ConfigIsolationPath, and then press ENTER.
- Right-click ConfigIsolationPath, and then click Modify.
- In the Value box, type the path of the custom location that you want to use, and then click OK.
Note Because of a current limitation, the path must be at least 15 characters.
- Start an elevated command prompt.
- Type net stop was /y, and then press ENTER.
- Type net start w3svc, and then press ENTER.
Note After you modify the registry, you must stop and then restart the Windows Process Activation Service (WAS). This behavior also restarts the Web applications on the computer.
Article ID: 949348 - Last Review: 02/22/2008 21:49:03 - Revision: 1.0
Microsoft Internet Information Services 7.0
- kbpubtypekc kbinfo kbhowto KB949348