进行替代,从而仅对具有 IIS 8 的服务器启用“未能执行 IIS 状态监视模块的初始化”规则
Microsoft.Windows.InternetInformationServices.6.2.FailedToPerformInitializationOfIISStateMonitoringModule.Override (RulePropertyOverride)
Element properties:
Source Code:
<RulePropertyOverride ID="Microsoft.Windows.InternetInformationServices.6.2.FailedToPerformInitializationOfIISStateMonitoringModule.Override" Context="Microsoft.Windows.InternetInformationServices.6.2.ComputerGroup" Enforced="false" Rule="Microsoft.Windows.InternetInformationServices.6.2.FailedToPerformInitializationOfIISStateMonitoringModule" Property="Enabled">
<Value>true</Value>
</RulePropertyOverride>