Saturday 3 March 2018

filesystems - How to delete old pagefile.sys and hiberfile.sys on secondary disk (old windows install)


A while ago I swapped my main hard disk for a SSD. Now the old one is used as a secondary hard disk, and my OS is a fresh windows install on the main SSD disk.


Nevertheless, there are still huge pagefile.sys and hiberfile.sys on that secondary hard drive. Those are not the ones used by the current windows, as those do exist on C:\.


I tried to attrib -s -h them, but it refused with "Access denied".


Any idea how to delete those old unused system files and reclaim the space?



Answer



The files are protected using NTFS ACLs. Use takeown to take ownership of them.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...