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

Win10 搜尋功能失效無法輸入?重建 Indexed 資料夾索引即可修復

編輯:關於 Windows

Windows 10 任務列搜尋框或「設定」App 內搜尋無法輸入、無回應、或搜尋不到已知存在的檔案/設定,多半是因為 %LocalAppData%\Packages\windows.immersivecontrolpanel_cw5n1h2txyewy\LocalState\Indexed 資料夾的索引屬性異常導致。透過切換「允許索引此資料夾中檔案的內容」選項強制重建索引即可解決。

修復步驟

步驟 1:開啟目標資料夾

按 Win + R 開啟「執行」,貼上以下路徑並按 Enter:

%LocalAppData%\Packages\windows.immersivecontrolpanel_cw5n1h2txyewy\LocalState

搜尋失效畫面

執行視窗輸入路徑

步驟 2:修改 Indexed 資料夾進階屬性

  1. 在開啟的資料夾中找到 Indexed 目錄,右鍵 → 「內容」。
  2. 點擊「進階」按鈕。
  3. 在「進階屬性」視窗中,**取消勾選**「除了檔案屬性外,還允許索引此資料夾中檔案的內容」。
  4. 點擊「確定」套用變更。
  5. **再次開啟「進階」視窗,重新勾選**該選項,點擊「確定」。

Indexed 資料夾內容進階

切換索引選項重建

步驟 3:等待索引重建完成

系統會在背景重新建立索引,視檔案數量可能需要數分鐘至數十分鐘。期間搜尋功能可能仍不完整,請耐心等待。

原理說明

Windows 使用 Windows Search 服務對特定資料夾建立全文索引以加速搜尋。當索引資料庫損毀或屬性標記錯誤時,搜尋服務無法正確讀取內容。切換索引選項會觸發資料庫重建,修復損毀的索引結構。

替代方案(若上述無效)

  • 「設定」→「搜尋」→「搜尋 Windows」→「進階搜尋索引器設定」→「進階」→「重建」。
  • 以系統管理員身分執行 PowerShell:Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} 重新註冊所有 UWP 應用程式。
  • 建立新使用者帳號測試是否為設定檔損毀。
Copyright © Windows教程網 All Rights Reserved