您可將 Internet Information Services (IIS) World Wide Web Publishing 服務 (W3SVC) 設定為收集效能資料和執行 HTTP 壓縮。 如果將 W3SVC 設定為執行 HTTP 壓縮,則必須指定一個位於 NTFS 磁碟區的有效壓縮目錄。
停止和重新啟動 W3SVC
停止和重新啟動 World Wide Web Publishing 服務:
開啟提高權限的 [命令提示字元] 視窗。按一下 [開始],指向 [所有程式],按一下 [附屬應用程式],以滑鼠右鍵按一下 [命令提示字元],然後按一下 [以系統管理員身分執行]。
在命令提示字元中輸入 net stop w3svc。
在命令提示字元中輸入 net start w3svc。
Target | Microsoft.Windows.InternetInformationServices.10.0.WebServer |
Category | Alert |
Enabled | True |
Event_ID | 1126 |
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 |