0
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?
2Did you run WinDirStat as administrator? You could also try TreeSize instead. – SpiderPig – 2017-10-11T09:01:17.760
You can take ownership of the whole drive using
– DavidPostill – 2017-10-11T10:56:51.447takeown
or icacls`. See my answer How would I use Takeown to take ownership of all folders on one drive?