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

  1. Open IIS Manager and click the server node. For information about opening IIS Manager, see Open IIS Manager (IIS 7).

  2. In Features View, double-click Management Service.

  3. On the Management Service page, in the Actions pane, click Stop.

  4. In the toolbar, click the back button.

  5. In Features View, double-click Shared Configuration.

  6. Clear Enable shared configuration to disable the Shared Configuration feature.

  7. In the Actions pane, click Apply.

  8. 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.

  9. Close IIS Manager and then reopen it. In the Connections pane, click the server node.

  10. In Features View, double-click Management Service.

  11. 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.

See Also

Concepts

Configuring Shared Configuration (IIS 7)