替代该规则以便只对包含 IIS 7 的服务器启用“由于权限不足,IIS 组件发现失败”规则

Microsoft.Windows.InternetInformationServices.2008.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs.Override (RulePropertyOverride)

Element properties:

ContextMicrosoft.Windows.InternetInformationServices.2008.ComputerGroup
TargetMicrosoft.Windows.InternetInformationServices.2008.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs
PropertyEnabled
Valuetrue
EnforcedFalse

Source Code:

<RulePropertyOverride ID="Microsoft.Windows.InternetInformationServices.2008.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs.Override" Context="Microsoft.Windows.InternetInformationServices.2008.ComputerGroup" Enforced="false" Rule="Microsoft.Windows.InternetInformationServices.2008.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs" Property="Enabled">
<Value>true</Value>
</RulePropertyOverride>