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

Windows 7 深度優化:移動 WinSxS 資料夾至其他分區釋放系統碟空間

編輯:Win7 系統應用技巧

WinSxS (Windows Side-by-Side) 資料夾佔用系統碟大量空間 (常達 5-10GB+),透過符號連結移至其他分區可大幅釋放 C 槽空間。高風險操作,請先完整備份系統!

準備工具

解壓縮至 C:\Windows。

操作步驟

  1. 建立符號連結預備:
    以管理員身分開啟 CMD:
    cd \Windows
    mklink /D winsxs.link winsxs.moved
  2. 取得 WinSxS 完全控制權限:
    右鍵 C:\Windows\winsxs →「內容」→「安全性」→「編輯」→ 選擇 Administrators → 勾選「完全控制」→ 套用。
  3. 重命名並移動:
    CMD 執行:
    movefile C:\Windows\winsxs C:\Windows\winsxs.moved
    movefile C:\Windows\winsxs.link C:\Windows\winsxs
    重開機。
  4. 複製內容至目標分區 (如 E:):
    將 C:\Windows\winsxs.moved 所有內容複製到 E:\Windows\winsxs。
  5. 切換符號連結指向新位置:
    管理員 CMD:
    cd \Windows
    rmdir winsxs
    mklink /D winsxs E:\Windows\winsxs
    重開機。
  6. 清理暫存資料夾:
    確認系統正常運作後,刪除 C:\Windows\winsxs.moved。

警告: WinSxS 含系統關鍵組件 (如 mscorwks.dll),操作失敗將導致系統無法開機。非必要勿嘗試,或改用「磁碟清理」→「清理系統檔案」→ 勾選「Windows 更新清理」釋放空間較安全。

Copyright © Windows教程網 All Rights Reserved