Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 清除搜尋索引記錄釋放 C 槽空間:Windows.edb 與資料夾刪除指南

編輯:Win7 系統應用技巧

前言

Win7 搜尋功能強大,但長期使用會在 C 槽累積大量索引檔(Windows.edb 常達數百 MB 至數 GB)與暫存資料夾,嚴重壓縮系統空間。本文教你精準定位並清除索引檔案,並說明備份還原技巧,讓重灌後搜尋功能秒速恢復。

索引檔案位置與清除對象

檔案/資料夾預設路徑說明
Windows.edbC:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb核心索引資料庫,體積最大
CiFiles 資料夾C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Projects\SystemIndex\Indexer\CiFiles內容索引暫存檔

清除步驟

  1. 關閉「Windows Search」服務(services.msc → Windows Search → 停止),避免檔案被鎖定無法刪除。
  2. 開啟「電腦」,在網址列貼上上述路徑逐一進入。
  3. 刪除 Windows.edb 與 CiFiles 資料夾內容。
  4. 重新啟動「Windows Search」服務(或重開機),系統將自動重建空白索引。
索引檔案路徑示意

進階:重灌前備份索引,重灌後秒速恢復搜尋

  1. 重灌前,備份整個 C:\ProgramData\Microsoft\Search\Data\ 資料夾至外接硬碟。
  2. 重灌完成、安裝驅動、更新系統後,停止 Windows Search 服務。
  3. 將備份資料夾覆蓋回原路徑。
  4. 啟動服務,索引即刻恢復,無需重新掃描全盤。

替代方案:完全停用索引服務

若極少使用搜尋功能,可徹底停用:
「控制台」 → 「程式集」 → 「開啟或關閉 Windows 功能」 → 取消勾選「Windows Search」 → 確定重開機。
此舉將永久停用索引並釋放所有相關空間,但檔案搜尋將退回緩慢的「逐檔掃描」模式。

小結

定期清理 Windows.edb 與 CiFiles 是維持 C 槽暢通的關鍵動作。搭配「備份索引資料夾」技巧,重灌系統後搜尋功能即刻滿血復活,兼顧空間與效率。

Copyright © Windows教程網 All Rights Reserved