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

Introduction to new features of MySQL 8.0.11

MySQL 8.0 for Windows v8.0.11 official free versi...

JavaScript DOMContentLoaded event case study

DOMContentLoaded Event Literally, it fires after ...

Nest.js authorization verification method example

Table of contents 0x0 Introduction 0x1 RBAC Imple...

Summary of tips for setting the maximum number of connections in MySQL

Method 1: Command line modification We only need ...

Introduction to the process of building your own FTP and SFTP servers

FTP and SFTP are widely used as file transfer pro...

Vue custom bullet box effect (confirmation box, prompt box)

This article example shares the specific code of ...

How to use vue3 to build a material library

Table of contents Why do we need a material libra...

vue dynamic component

Table of contents 1. Component 2. keep-alive 2.1 ...