Free up disk space on a Solid State Drive (SSD) in Windows 10
These days a lot of people are opting for a Solid State Drive (SSD) in their computers. This speeds up the computer significantly but the down side is that they tend to be smaller capacity drives, especially if you go for the cheaper options like the 120GB SSD.
So, you will want to save space where you can and there are a few options available to you depending on your setup and what you are willing to use and not use.
First of all you have the option of turning off the hibernation feature. This feature takes up a lot of disk space as it uses it to store the current activity of your working session. So, if you can do without that, you can turn it off and this will remove the large hiberfil.sys file from your disk and save you space.
To turn off hibernation, right click on your Windows 10 Start Button and select “Command Prompt (Admin)” to bring up a command prompt which has been elevated to an administrator level. Then type in the following command to disable the hibernation on your machine:
powercfg /h off
You will need to then reboot your machine to complete the removal of the hiberfil.sys file from your machine.
If you are using a desktop computer with a SSD as your primary but also have a larger capacity SATA hard drive as a secondary disk, then you can move the pagefile.sys from the root of your C: drive to the secondary larger capacity disk. The pagefile size is dependent on the amount of RAM you have in your machine, so the more RAM you have, the more space the pagefile.sys will take up on your disk.
So, to move the pagefile.sys, carry out the following steps:
Right click on your Windows 10 Start Button and select “System“. This will bring up a box and you will then need to click on “Advanced System Settings” on the left hand side:
This will take you directly into the “Advanced” tab and you should then click on the “Settings” button under Performance:
This will take you in to the “Performance Options” and you should then click on the “Advanced” tab and then click on the “Change” button under the “Virtual memory” section:
You will then see that the default setting is that the “Automatically manage paging file size for all drives” is ticked. You should now untick this box which will allow you to make changes.
Click on the drive that you want to move your pagefile.sys to and then click the “System managed size” radio button. Then click on the “Set” button. You should then click on the drive where your pagefile.sys was originally and click the “No paging file” radio button and click the “Set” button. So your virtual memory should now look something like this:
You should now reboot your machine for the changes to take affect.