进行替代,从而仅对具有 IIS 8 的服务器启用“由于权限不足,IIS 组件发现失败”规则
Microsoft.Windows.InternetInformationServices.6.2.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs.Override (RulePropertyOverride)
Element properties:
Source Code:
<RulePropertyOverride ID="Microsoft.Windows.InternetInformationServices.6.2.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs.Override" Context="Microsoft.Windows.InternetInformationServices.6.2.ComputerGroup" Enforced="false" Rule="Microsoft.Windows.InternetInformationServices.6.2.FailedToPerformIISComponentDiscoveryDueInsufficientPrivs" Property="Enabled">
<Value>true</Value>
</RulePropertyOverride>