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

Vista 變更離線檔案快取位置釋放系統盤空間:完整 7 步驟指令操作

編輯:XP 系統基礎知識

Vista 使用一段時間後系統盤空間緊張,主因是離線檔案快取預設存放在 C:\Windows\CSC。透過登錄表與遷移精靈將快取移至其他分區(如 D:\CSC),可徹底釋放 C 槽空間。

操作步驟

  1. 管理員權限 CMD 執行:
    REG ADD "HKLM\System\CurrentControlSet\Services\CSC\Parameters" /v MigrationParameters /t REG_DWord /d 1 /f
  2. 本地管理員執行遷移精靈:
    C:\Windows\System32\migwiz\migwiz.exe
  3. 精靈選擇:啟動新傳輸 → 我的舊電腦 → 使用 CD/DVD/可移動媒體 → 外接硬碟或網路位置 → 指定 Savedata.mig 存放處 → 進階選項 → 取消所有勾選 → 展開「系統與程式設定(所有使用者)→Windows 設定→網路與網際網路」勾選「離線檔案」 → 下一步開始傳輸。
  4. 登錄表 HKLM\System\CurrentControlSet\Services\CSC\Parameters 新增字串值 CacheLocation,值設為 NT 格式路徑(如 \\?\D:\CSC)。建立 D:\CSC 目錄。
  5. 重開機,再次執行 migwiz.exe → 繼續進行中的傳輸 → 否,我已複製到媒體 → 外接硬碟或網路位置 → 指定先前 .mig 路徑 → 對應使用者帳戶 → 下一步→傳輸。
  6. 登出重新登入,確認離線檔案可正常存取。
  7. 管理員 CMD 刪除舊快取:
    takeown /r /f C:\Windows\CSC
    rd /s C:\Windows\CSC

操作較繁瑣但效果徹底,建議備份重要資料後再行操作。

Copyright © Windows教程網 All Rights Reserved