http://learn.iis.net/page.aspx/135/discover-installed-components/
说明:ASP.NET网络应用程序在IIS7上部署的时候,经常会要求预装某些组件(特别是IIS6的兼容组件),上文即描述了如何通过编程的方法确定各个组件是否已经安装。

Discover Installed Components

By IIS Team

November 22, 2007

Introduction

The modular architecture in IIS 7.0 and above allows you to limit the potential attack surface on your IIS installation, or to replace built-in features with third-party or custom implementations. In general, this architecture offers you an the ability to control how you deploy IIS on your network.

But if there is a downside to this modular architecture, it is that you can no longer be certain every IIS component you need is available, just because IIS has been installed. You might also discover that making sure multiple servers all have the same IIS components can be a chore.

To work around these issues, we are publishing a list of registry keys that show whether any given IIS module has been installed. Use these registry keys to programmatically check on IIS components. If a component has been installed, the registry key has a DWORD value of 00000001. If a component has never been installed or has been uninstalled, the registry key does not exist. Use the table below to match IIS component names with their registry keys.

Registry Keys

These keys appear in the following registry hive:

HKEY_LOCAL_MACHINE\Software\Microsoft\InetStp\Components\

Display Name

Registry Key

Web Server

W3SVC

Common HTTP Features

Static Content

StaticContent

Default Document

DefaultDocument

Directory Browsing

DirectoryBrowse

HTTP Errors

HttpErrors

HTTP Redirection

HttpRedirect

Application Development Features

ASP.NET

ASPNET

.NET Extensibility

NetFxExtensibility

ASP

ASP

CGI

CGI

ISAPI Extensions

ISAPIExtensions

ISAPI Filters

ISAPIFilter

Server-Side Includes

ServerSideInclude

Health and Diagnostics

HTTP Logging

HttpLogging

Logging Tools

LoggingLibraries

Request Monitor

RequestMonitor

Tracing

HttpTracing

Custom Logging

CustomLogging

ODBC Logging

ODBCLogging

Security

Basic Authentication

BasicAuthentication

Windows Authentication

WindowsAuthentication

Digest Authentication

DigestAuthentication

Client Certificate Mapping Authentication

ClientCertificateMappingAuthentication

IIS Client Certificate Mapping Authentication

IISClientCertificateMappingAuthentication

URL Authorization

Authorization

Request Filtering

RequestFiltering

IP and Domain Restrictions

IPSecurity

Performance Features

Static Content Compression

HttpCompressionStatic

Dynamic Content Compression

HttpCompressionDynamic

Management Tools

IIS Management Console

ManagementConsole

IIS Management Scripts and Tools

ManagementScriptingTools

Management Service

AdminService

IIS 6 Management Compatibility

IIS Metabase Compatibility

Metabase

IIS 6 WMI Compatibility

WMICompatibility

IIS 6 Scripting Tools

LegacyScripts

IIS 6 Management Console

LegacySnapin

FTP Publishing Service

FTP Server

FTPServer

FTP Management snap-in

LegacySnapin

Windows Process Activation Service

Process Model

ProcessModel

.NET Environment

NetFxEnvironment

Configuration APIs

WASConfigurationAPI

编程中检查IIS7组件的安装情况相关推荐

  1. c语言const常量用法,C++ const常量在多文件编程中的3种用法

    <C++多文件编程是什么>一节提到,多文件编程中代码的划分原则是:将变量.函数或者类的声明部分存放在 .h 文件,对应的实现部分放在 .cpp 文件中.值得一提得是,此规律适用于大部分场景 ...

  2. 【论文总结】了解Google Play商城中的激励性移动应用安装

    介绍 这是来自2020IMC的一篇论文<Understanding Incentivized Mobile App Installs on Google Play Store> 前置知识 ...

  3. linux检查python安装情况,使用Python检测Linux服务器连接状态

    在对Linux服务器的维护过程中,有时需要及时的知道这些服务器能不能正常连接,以便及时联系管理员进行处理.假设这批服务器都是使用ssh的方式登陆,需要通过python程序进行检测: 安装Python第 ...

  4. 客户端出错:无法在数据表视图中显示该列表: 没有安装与 Windows SharePoint Services 兼容的数据表组件...

    P:客户端想在数据表中编辑时提示下列错误: 数据视图由于下列一个或多个原因,无法在数据表视图中显示该列表: 没有安装与 Windows SharePoint Services 兼容的数据表组件,浏览器 ...

  5. 安装VS2010旗帜版,出现“某些组件必须安装在 目录下,请检查是否有足够的写入权限以及足够的空间”

    安装VS2010旗帜版时,我用的安装文件是一个ISO文件,用虚拟光驱加载的,但是在安装时却出现了错误:"某些组件必须安装在 目录下,请检查是否有足够的写入权限以及足够的空间"?这可 ...

  6. bugfree安装中mysql未安装_记第一次安装bugfree过程,几经曲折,倒在了BUGfree 环境检查的MySQL未安装的地方,求助...

    记第一次安装bugfree过程,几经曲折,倒在了BUGfree 环境检查的MySQL未安装的地方,求助 1.准备工作,下载Xampp && bugfree Xampp http://s ...

  7. 简述C#中IO的应用 RabbitMQ安装笔记 一次线上问题引发的对于C#中相等判断的思考 ef和mysql使用(一) ASP.NET/MVC/Core的HTTP请求流程...

    简述C#中IO的应用 在.NET Framework 中. System.IO 命名空间主要包含基于文件(和基于内存)的输入输出(I/O)服务的相关基础类库.和其他命名空间一样. System.IO ...

  8. Java编程中的注意点

    Java编程中的注意点 Java基础部分 1.Java存放浮点数精度问题 Java中在HashMap存放浮点数会有精度问题,可以使用字符串来存放 2.while(k–)的相关问题 上面那个while的 ...

  9. Attribute在.net编程中的应用

    作者:niwalker       出处:csdn SqlCommandGenerator类的设计 SqlCommandGEnerator类的设计思路就是通过反射得到方法的参数,使用被SqlComma ...

最新文章

  1. 关于U打包代码必须放到Editor目录下的问题
  2. boost::fill相关的测试程序
  3. hihocoder1260,1261 (HASH经典题)
  4. 网络服务器安全协议,ipsec 网络安全协议
  5. C#中DateTime的缺陷与代替品DateTimeOffset
  6. 存储过程之游标笔记小结
  7. for循环如果先--_97-for循环嵌套 输出反倒直角三角形
  8. php极验证,WebGeeker-Validation: 一个强大的 PHP 参数验证器
  9. Fultter之Element和Widget对应关系解析
  10. uboot网络调试方法
  11. 松下PLC远程编程调试流程
  12. python pandas按照行数切分文件
  13. 电脑从硬盘启动计算机,电脑怎么设置第一启动项为硬盘
  14. 久处不厌,闲谈不烦。从不敷衍,绝不怠慢
  15. EXTREME 设备操作手册
  16. 【计算机毕业设计】二手车交易网站
  17. 数字时钟的设计与仿真
  18. 斐波那契数列求和(递归)
  19. soup.find_all()用法
  20. 百度网盘不启动客户端下载大文件

热门文章

  1. 远程扫描iPhone相册?苹果的好心网友不领情
  2. 48万!百度推出全球最便宜RoboTaxi,赚钱能力2倍于人类网约车
  3. 一段语音生成说话视频,连发际线都可以分好几种,网友:利好视频博主
  4. Nature首次「博士后」前景调查:计算机、数学学者最乐观,63%的人想继续留在学界...
  5. 刷题两个月,从入门到字节跳动offer,这是我的模板 | GitHub 1.2k星
  6. 世界AI大会三马纵论:马云乐观、马斯克悲观,马化腾认为技术孤立主义有大危害...
  7. BAT华为美团头条面试考什么?这份GitHub万星资源,告诉你面试题+答案+出题人分析...
  8. 没想到这家聪明的公司,正在用AIoT让机器对话
  9. icps -lm 命令与 shmmax 的关系
  10. Webpack中的sourcemap