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

Web Design Tips: Simple Rules for Page Layout

Repetition: Repeat certain page design styles thr...

Vue global filter concepts, precautions and basic usage methods

Table of contents 1. The concept of filter 1. Cus...

MySQL 8.0.16 installation and configuration tutorial under Windows 10

This article shares with you the graphic tutorial...

Complete steps to install Anaconda3 in Ubuntu environment

Table of contents Introduction to Anaconda 1. Dow...

jquery+springboot realizes file upload function

This article example shares the specific code of ...

Why do we need Map when we already have Object in JavaScript?

Table of contents 1. Don’t treat objects as Maps ...

Common parameters of IE web page pop-up windows can be set by yourself

The pop-up has nothing to do with whether your cur...

Mysql keeps the existing content and adds content later

This command modifies the data table ff_vod and a...

About the problem of offline installation of Docker package on CentOS 8.4

The virtual machine used is CentOS 8.4, which sim...

How to configure Linux CentOS to run scripts regularly

Many times we want the server to run a script reg...

Native JavaScript to achieve slide effects

When we create a page, especially a homepage, we ...

Example code of CSS layout at both ends (using parent's negative margin)

Recently, during the development process, I encou...