Freigeben über


Removing Unnecessary Components (IIS 7)

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

After an upgrade, you should consider removing any unnecessary IIS 7 modules to match the functionality required by your Web applications. The IIS 7 upgrade will install all the modules that it has decided are necessary. Because of the way that IIS 6.0 components were installed, the IIS 7 upgrade process may have installed modules that are no longer needed.

You should remove any unnecessary modules from your server. Doing so will enable you to minimize the IIS 7 modules that are installed and enable you to take fuller advantage of the benefits of IIS 7 modular architecture. For example, if you use Anonymous authentication and Windows authentication for your Web sites, but you do not use Basic authentication, then you can now remove Basic authentication.

Back up the Applicationhost.config File

To avoid many future problems with the server, always make a backup of the Applicationhost.config file before making any substantive changes to your server configuration.

There are two ways to make a backup of the Applicationhost.config file. You can copy it to another directory or copy it to media that is stored in a safe place. You can also use Appcmd.exe. To use Appcmd.exe, type Appcmd add backupNameofbackup at the command prompt.