Disable Shared Configuration (IIS 7)
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
Disable the Shared Configuration feature when you want the Web server to stop using configuration files and encryption keys from a central location.
Important
To avoid unexpected behavior when you configure this feature, you should stop the management service and then restart it when configuration is completed. You must also close and reopen IIS Manager after configuration is completed.
Prerequisites
For information about the levels at which you can perform this procedure, and the modules, handlers, and permissions that are required to perform this procedure, see Shared Configuration Feature Requirements (IIS 7).
Exceptions to feature requirements
- None
To disable shared configuration
You can perform this procedure by using the user interface (UI).
User Interface
To use the UI
Open IIS Manager and click the server node. For information about opening IIS Manager, see Open IIS Manager (IIS 7).
In Features View, double-click Management Service.
On the Management Service page, in the Actions pane, click Stop.
In the toolbar, click the back button.
In Features View, double-click Shared Configuration.
Clear Enable shared configuration to disable the Shared Configuration feature.
In the Actions pane, click Apply.
In the message dialog box that appears, select one of the following options to specify which configuration files and encryption keys to use:
Yes: Copies the configuration files and encryption keys from the shared configuration location to the local computer in the default configuration location. This option overwrites any existing configuration files in the local configuration directory and related encryption keys on the local computer. If you select this option, the Web server uses these configuration files and encryption keys from the local computer, and no longer uses the files and keys in the central location.
No: Resets the Web server to use the configuration files and encryption keys in the default configuration location on the local computer. This option restores the encryption keys that were backed up when the server was configured to use the shared configuration files and encryption keys.
Cancel: Dismisses the message dialog box without saving any changes.
Close IIS Manager and then reopen it. In the Connections pane, click the server node.
In Features View, double-click Management Service.
On the Management Service page, in the Actions pane, click Start.
Configuration
The procedure in this topic affects the following configuration elements:
<configurationRedirection>
This element is in the Redirection.config file; by default, this file is in the %windir%\system32\inetsrv\config directory.
Important
You should use IIS Manager to configure shared configuration instead of editing the configuration file directly.
For more information about IIS 7 configuration, see IIS 7.0: IIS Settings Schema on MSDN.