Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> 電腦軟體教學 >> 伺服器技術 >> 關於伺服器

徹底重裝 IIS 的標準化步驟:避免殘留設定導致問題復發

編輯:關於伺服器

單純從「新增/移除程式」移除再安裝 IIS,常因 Metabase 殘留導致故障復發。標準化徹底重裝流程如下:

  1. 控制台 → 新增/移除程式 → 移除 IIS。
  2. 刪除資料夾 %windir%\system32\inetsrv。
  3. 刪除日誌 %windir%\iisX.log(X 為 IIS 版本號)。
  4. 刪除網站根目錄 \inetpub\(含預設網站內容)。
  5. 以上操作可在安全模式執行,避免檔案鎖定無法刪除。
  6. 重新安裝 IIS。

提醒:重裝前請備份 Metabase (%windir%\system32\inetsrv\metabase.xml) 及網站內容。非必要勿輕易重裝,優先針對具體錯誤排查。

Copyright © Windows教程網 All Rights Reserved