Internet Information Services (IIS) World Wide Web 发布服务 (W3SVC) 需要同时运行 Windows Process Activation Service (WAS) 和 HTTP 服务,才能正常运行。如果 HTTP 服务不可用,W3SVC 将无法处理 HTTP 请求。
还原绕过遍历检查权限
如果以下条件为真,World Wide Web 发布服务 (W3SVC) 可能无法配置 HTTP.SYS 控制通道属性:
工作进程配置为使用与本地系统不同的标识。
“每个人”组和“用户”组没有任何“绕过遍历检查”用户权限。默认情况下,“每个人”组和“用户”组拥有此用户权限。
要解决此问题,请按照 A 和 B 部分中的步骤操作。
还原绕过遍历检查权限
单击“开始”,再单击“运行”,键入“gpedit.msc”,然后单击“确定”。
展开“计算机配置”、“Windows 设置”和“安全设置”。
展开“本地策略”,然后选择“用户权限分配”。
在“策略”列下的右窗格中,右键单击“绕过遍历检查”并单击“属性”。
单击“添加用户或组”。
键入 Everyone;Users,然后单击“确定”。
注意: 如果你收到消息提示无法找到名为“用户”的对象,请单击“对象类型”,单击以选中“组”复选框,然后单击“确定”两次。
注意: 如果你不希望授予“每个人”组和“用户”组“绕过遍历检查”用户权限,则可通过授予 IIS_IUSRS 组“绕过遍历检查”用户权限解决此问题。为此,请将上面的 "Everyone;Users" 替换为 "IIS_IUSRS"。
重新启动 W3SVC 和 HTTP 服务
打开提升的命令提示符窗口。单击“开始”,指向“所有程序”,再单击“附件”,右键单击“命令提示符”,然后单击“以管理员身份运行”。
键入 net stop w3svc。
键入 net stop http。
键入 net start http。
键入 net start w3svc。
Target | Microsoft.Windows.InternetInformationServices.6.2.WebServer |
Category | Alert |
Enabled | True |
Event_ID | 1020 |
Event Source | Microsoft-Windows-IIS-W3SVC |
Alert Generate | False |
Remotable | True |
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.WWW.Service.failed.to.configure.the.HTTP.SYS.control.channel.property" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1020</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.WWW.Service.failed.to.configure.the.HTTP.SYS.control.channel.property.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>