XP「新增/移除 Windows 元件」預設隱藏多項組件 (MSN Explorer、Windows Messenger、遊戲、索引服務…),`Sysoc.inf` 內以 `hide` 標記隱藏。編輯該檔移除 `hide`,即可在精靈中看見並移除所有組件,精簡系統、減少攻擊面、釋放磁碟空間。
%windir%\inf\sysoc.inf` (如 `C:\Windows\inf\sysoc.inf`),記事本開啟。hide, (含逗號) → 取代為:**空白** (不輸入任何字元)。| 組件 | 約佔空間 | 建議 |
|---|---|---|
| MSN Explorer | 15-20 MB | ✅ 移除 (舊版 MSN 入口網站整合,已停服) |
| Windows Messenger | 3-5 MB | ✅ 移除 (已停服,改用 Skype/Teams) |
| 遊戲 (撲克、纖維、蜘蛛紙牌…) | 2-4 MB | 視需求 |
| 索引服務 | 1-2 MB + 索引檔 | ✅ 移除 (Win7+ 改用 Windows Search) |
| IIS (網際網路資訊服務) | 10-20 MB | 非伺服器角色 ✅ 移除 |
| 管理與監視工具 (WMI/SNMP) | 3-5 MB | 非管理員 ✅ 移除 |
sysoc.inf` 為 `sysoc.inf.bak`,若需還原隱藏狀態,還原檔案並重開機即可。Get-WindowsOptionalFeature -Online | Where-Object State -eq Enabled 列出已啟用功能,Disable-WindowsOptionalFeature -Online -FeatureName 移除。