Internet Information Services (IIS) World Wide Web Publishing 服務 (W3SVC) 需要 Windows 處理序啟用服務 (WAS) 和 HTTP 服務均正確運作。如果 HTTP 服務無法使用,W3SVC 將無法處理 HTTP 要求。
還原略過周遊檢查權限
如果下列狀況確實發生,World Wide Web Publishing 服務 (W3SVC) 可能無法設定 HTTP.SYS 控制通道內容:
工作者處理序設定為使用與本機系統不同的身分識別。
Everyone 群組和 Users 群組未具備「略過周遊檢查」使用者權限。依預設,Everyone 群組和 Users 群組會具備此使用者權限。
若要解決此問題,請遵循 A 和 B 部分的步驟。
還原略過周遊檢查權限
按一下 [開始],再按一下 [執行],輸入 gpedit.msc,然後按一下 [確定]。
依序展開 [電腦組態]、[Windows 設定] 和 [安全性設定]。
展開 [本機原則],然後選取 [使用者權限指派]。
在右側窗格中的 [原則] 欄中,對 [略過周遊檢查] 按一下滑鼠右鍵,然後按一下 [內容]。
按一下 [新增使用者或群組]。
輸入 Everyone;Users,然後按一下 [確定]。
附註:如果您收到訊息指出找不到名稱為 [Users] 的物件,請按一下 [物件類型],然後按一下以選取 [群組] 核取方塊,再按兩次 [確定]。
附註:如果您不想為 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.10.0.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.10.0.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.WWW.Service.failed.to.configure.the.HTTP.SYS.control.channel.property" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.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.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.WWW.Service.failed.to.configure.the.HTTP.SYS.control.channel.property.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>