星期日, 2月 12, 2017

刪除佔用空間的 WindowsImageBackup

近日D槽爆滿,不記得曾經存放什麼資料導致這個情形。思索著要如何找出原因,但不想一個個資料夾翻找。
後來我是用 WizTree這個免安裝軟體才找到這個佔用硬碟空間的原凶。
系統從Win7升級成Win10,但原本Win7的系統備份在D槽,佔用了許多空間(五十幾G)。從檔案總管可以看到 WindowsImageBackup 這個資料夾,但顯示的佔用空間卻是0。
從系統設定的復原與備份中卻無法找到可用的備份,再進入尋找舊的備份(Windows7),自己指定資料夾位置才可以看到 WindowsImageBackup中的備份資料,但也已經無用而且沒有刪除的選項。
我是用 WizTree這個免安裝軟體才找到這個佔用硬碟空間的原凶。
搜尋網路上的資料,發現有許多人遇到的問題是直接刪除這個資料夾,並無法釋放佔用的空間。
我採取的作法是以下這個連結的方式
https://answers.microsoft.com/en-us/windows/forum/all/backup-image-properties-says-image-file-size-is/6c7143c2-efb6-4f6a-9223-3d879b316bcc

This folder is inaccessible to you unless you operate under elevated administrative privileges. This is why you cannot see any files. Here is how you can deal with this folder:
1. Click Start.
2. Type the three letters cmd into the Search box.
3. Press Ctrl+Shift+Enter
4. Click "Run as Administrator".
5. Type the following commands and press enter after each:
    dir /s /a Q:\WindowsImageBackup
    (To see the contents of this folder)
    (Replace Q: with the correct drive letter)
    rd  /s  /q  Q:\WindowsImageBackup
    (To wipe this folder)(刪除目錄樹不再確認)
Warning: With this method you cannot retrieve the folder from the Recycle Bin.