Friday, January 11, 2019

Windows Host - Disk Cleanup Utilities (TreeSize)


On a previous post we can see that by using VM clones we can dramatically decrease the disk space use and time creating a new VM. 

But when we build numerous labs, we tend to keep things untidy. We probably throw ISO and installation files here and there. If you have SSDs with 500GB or more then maybe you won't notice very soon, but I used to have a 256GB SSD and I was constantly running low on disk space. 

A great tool to analyse your Disk usage is TreeSize. There is a freeware version that has all the tools needed for your home use.  

The installation is very simple. To analyse the Disk we should use Administrator privileges. 


Here we can see for example that I have almost 30GB on my personal folder and 25GB on Desktop, which I should remove.



Another useful conclusion is that the C:\ drive has two large files pagefile.sys and hiberfile.sys. 





The HDD is used when no RAM is available on our system, through the paging file. 
So, paging is something that can prevent our system from crashing, but actually when active, it just slows things down. I will just keep that file as small as possible. You can change the Settings by going to System Properties > Advanced > Performance > Settings



If we disable the paging file we will get a self explanatory warning from Windows.



So actually we will keep it down to 1GB. Press Set and then OK to apply changes. A reboot is also required. 



We can disable hibernate using the command below 

powercfg /hibernate off



We can see that now we have almost 30GB more available on our SSD



No comments:

Post a Comment

Cisco Call Manager - Create Unattended File

CUC and CUCM installation wizard has a lot of steps that require user's input. Luckily we can specify an unattende...