First a shrink with the Disk Management tool is tried, which will hopefully be
all that is needed. If that fails, then ntfsresize is used on linux to move
otherwise unmovable files to clear the way. diskpart is then used to extend
the file system back to the original size, which resolves corruption issues.
Even though it is now back at the original size, the files themselves have not
been moved back, so it is now possible to do a shrink the normal way.
- Use Disk Management to shrink to desired size.
- If partition cannot be shrinked to desired size, continue.
- Boot into linux, ensure ntfs-3g package is installed (a live CD with a DE should work).
- Run
sudo ntfsresize -v -s $DESIRED_SIZE $PARTITION(e.g./dev/sda1). - Boot back into the disk (let it run
chkdsk). - Run
diskpart. list volumeto find the volumne number.select volume $VOLUMEextend filesystem- Use Disk Management to shrink to desired size.