Recently I had a full harddisk and needed to delete some files. I used WinDirStat to see where the big files are.

Afterwards I remembered that I had a 5GB Microsoft SQL Server database backup restored in my local SQL Server instance. However, the data directory of SQL Server did not show up in WinDirStat, even though it used 6GB of disk space.

Is there some way to list all directory sizes, like in WinDirStat, but all of them? If there is some directory I don't have access to, I want to get a warning like

The size of directory XY could not be determined since you lack permission to access it.

If I get that warning, I can go to Windows Explorer and get those rights.

Is there some way to get access to all the folders and files on my harddisk?


Please try suggestions in this guide to find the file bigger than the size you define: https://winaero.com/blog/find-large-files-windows-10/

  • Please share relevant details of the article so the answer exists on SU even if the link breaks. – Damon Oct 12 '17 at 3:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.