How to shrink a partition with unmovable files in Windows 7

本帖於 2014-08-21 07:14:52 時間, 由版主 色大膽小 編輯

準備給筆記本電腦換個小硬盤,可原盤在溫7下就是縮不小,這篇文章幫助很大

Posted on April 3rd, 2011 in General by Brandon

For some reason Windows can’t figure out how to move some files around on disk. When attempting to shrink a volume, it will only allow you to shrink it to where the last immovable file is located. These are some things I found necessary to temporarily get rid of those immovable files so that an NTFS volume could be shrunk

1- Disable System Restore (Right click on Computer => Properties => System Protection => System Restore)
2- Disable Virtual Memory (Right click on Comptuer => Properties => Advanced System Settings => Performance (Settings) => Advanced Tab => Virtual Memory (Change) => No Paging File => Set.
3- Run Disk Cleanup to get rid of Thumbnails, Temporary Internet Files, and a bunch of other files that it makes no sense why they are immovable.
4- Restart the computer to have #1 and #2 take effect

Try to shrink the volume again. If it still is unreasonably large, you will then have to look at Event Viewer to find which file is at the boundary.
1- Right click on Computer => Manage => Event Viewer => Windows Logs => Application.
2- Click on Filter Current Log, and put ’259′ for the Event ID
3- Click on the latest event and look through the detail to find the problematic file. You can then attempt to delete that file (or set of files) manually. You may have to restart into safe mode to delete some files

It took me about 5 loops of doing the above before I was finally able to shrink my volume to the size that I wanted. After successful, you can then re-enable the features that you want (namely System Restore and Virtual Memory)

所有跟帖: 

休眠功能開啟的話,那個隱含的休眠文件和內存一樣大,必須先關閉休眠功能 -5W40- 給 5W40 發送悄悄話 5W40 的博客首頁 (0 bytes) () 08/21/2014 postreply 07:55:11

這個還真沒想到,謝。 -色大膽小- 給 色大膽小 發送悄悄話 色大膽小 的博客首頁 (0 bytes) () 08/21/2014 postreply 08:04:41

用Partition Wizard不是更簡單嗎 -foobar- 給 foobar 發送悄悄話 (760 bytes) () 08/21/2014 postreply 09:34:49

這個還真考慮過,不過有人說用窗口自帶的軟件比較安全。怕其它軟件對係統分區操作有誤 -色大膽小- 給 色大膽小 發送悄悄話 色大膽小 的博客首頁 (0 bytes) () 08/21/2014 postreply 09:40:37

到目前我還沒有失敗的先例,也許是我運氣較好 -foobar- 給 foobar 發送悄悄話 (0 bytes) () 08/21/2014 postreply 09:48:55

Linux "gparted live" 做這個也很厲害, 隻要不出問題就好 -色大膽小- 給 色大膽小 發送悄悄話 色大膽小 的博客首頁 (0 bytes) () 08/21/2014 postreply 09:52:44

請您先登陸,再發跟帖!