[SOLVED] Available shrink space is 0mb ?

Aug 5, 2021
4
0
10
0
I wanted to dual boot my pc with linux, so wanted to shrink my Windows 10 boot drive for linux installation. I got around 178gb of free space but it shows 0mb as free space in disk management.

So i followed a youtube tutorial (
View: https://www.youtube.com/watch?v=Gyz_7Dg2yu4
) but it only freed 1mb of space.

I also tried aoemi partitioner which gave me two options: reboot to windows pe or turn on RAID, which I know nothing about. So I dropped my idea of aoemi.

I hope somebody has some fixes to my problem.
 

Colif

Win 10 Master
Moderator
Unmovable files refer to the data generated by Windows that cannot be automatically moved by Windows built-in tool Disk Management, such as Hibernation, Pagefile and System protection. You cannot see these files in File Explorer, because they are hidden by default.
As the tip given that you cannot shrink a volume beyond the point where any unmovable files are located, you need to manually remove the unmovable files. First of all, you need to show hidden files, so you can view these unmovable files. The easy and universal way for Windows 7/8/10 is via Windows’ search. Search “show hidden files and folders” and open it to uncheck Hide protected operating system files (Recommended) and check Show hidden files, folders, and drives.

To work this around, you need to disable the system files as many as you can at this very moment.

Second, disable System Protection and run Disk Cleanup and Disk Defragment. You can easily find them from the Windows search box.

Third, run the command “powercfg /hibernate off “from a command prompt to disable hibernation.

Fourth, disable the kernel memory dump. Go to Advanced Settings/ Startup and Recovery /Settings, and then change the drop down menu under Write debugging information to “None”.

Fifth, disable page files in Control Panel\System and Security\System\Advanced system settings\Settings under Performance\Advanced\Change, and delete c:\pagefile.sys files in File Explorer.
See source for more
 
Aug 5, 2021
4
0
10
0
I found out that this is caused by some unmovable files in the os, but nothing on how to identify them or fix them
 

Colif

Win 10 Master
Moderator
Unmovable files refer to the data generated by Windows that cannot be automatically moved by Windows built-in tool Disk Management, such as Hibernation, Pagefile and System protection. You cannot see these files in File Explorer, because they are hidden by default.
As the tip given that you cannot shrink a volume beyond the point where any unmovable files are located, you need to manually remove the unmovable files. First of all, you need to show hidden files, so you can view these unmovable files. The easy and universal way for Windows 7/8/10 is via Windows’ search. Search “show hidden files and folders” and open it to uncheck Hide protected operating system files (Recommended) and check Show hidden files, folders, and drives.

To work this around, you need to disable the system files as many as you can at this very moment.

Second, disable System Protection and run Disk Cleanup and Disk Defragment. You can easily find them from the Windows search box.

Third, run the command “powercfg /hibernate off “from a command prompt to disable hibernation.

Fourth, disable the kernel memory dump. Go to Advanced Settings/ Startup and Recovery /Settings, and then change the drop down menu under Write debugging information to “None”.

Fifth, disable page files in Control Panel\System and Security\System\Advanced system settings\Settings under Performance\Advanced\Change, and delete c:\pagefile.sys files in File Explorer.
See source for more
 
Aug 5, 2021
4
0
10
0
Since he wants to install linux he should already have it on a usb stick so booting into that will give him access to all files hidden or not.
You could delete files by hand or you could run a defragmenter that moves everything to the start of the disk since even if you delete the files there might still be data at the end of the disk.
the drive i want to shrink is on my ssd, so i optimized the drive but still no luck
 

ASK THE COMMUNITY