How to install and uninstall IIS7 components using the WIN2008 server command line

How to install and uninstall IIS7 components using the WIN2008 server command line

Note: Since .NET FrameWork cannot be run in core mode, IIS in core installation mode does not support the program's operating environment. At the same time, the uninstall function does not support uninstallation. That is to say, after uninstalling, the installation options still retain the

Note: Since .NET FrameWork cannot be run in core mode, IIS in core installation mode does not support the program's operating environment. At the same time, the uninstall function does not support uninstallation. That is to say, after uninstalling, the items are still retained in the installation options, and only the IIS Web function is uninstalled.

How to install IIS7:

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

The effect is shown in the figure below

How to uninstall IIS7:

start /w pkgmgr /uu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel

Just restart the server. Here the editor of 123WORDPRESS.COM shares with you. It is strongly recommended to install and uninstall using graphics and text.

<<:  MySQL infrastructure tutorial: detailed explanation of the query statement execution process

>>:  How to use Vue+ElementUI Tree

Recommend

Example of MySQL slow query

Introduction By enabling the slow query log, MySQ...

Use of MySQL official export tool mysqlpump

Table of contents Introduction Instructions Actua...

10 Popular Windows Apps That Are Also Available on Linux

According to data analysis company Net Market Sha...

Detailed explanation of the use of MySQL sql_mode

Table of contents Preface sql_mode explained The ...

vue.config.js packaging optimization configuration

The information on Baidu is so diverse that it...

Small problem with the spacing between label and input in Google Browser

Code first, then text Copy code The code is as fol...

A complete explanation of MySQL high availability architecture: MHA architecture

Table of contents 1. Introduction 2. Composition ...

Detailed explanation of the steps to build a Vue project with Vue-cli

First you need to install Vue-cli: npm install -g...

Detailed example of changing Linux account password

Change personal account password If ordinary user...

Detailed explanation of CocosCreator Huarongdao digital puzzle

Table of contents Preface text 1. Panel 2. Huaron...

Summary of methods for writing judgment statements in MySQL

How to write judgment statements in mysql: Method...

How to obtain and use time in Linux system

There are two types of Linux system time. (1) Cal...

Javascript uses the integrity attribute for security verification

Table of contents 1. Import files using script ta...