How-To

Use TreeSize to Map Hard Drive Usage and Find Huge Files on Windows 10

use treesize to generate map of hard drive usage in windows - featured

If your computer is low on space, a map of hard drive usage in Windows can help find files to delete. This free tool helps achieve that.

Recently, I signed in to Windows 10 but noticed something different about how it was behaving. Random dialog errors appeared on the screen and apps started performing slowly or would not save files. The errors were happening a lot when I tried to save screenshots from Snip. It wasn’t until I tried saving to a different partition I came across something weird; I didn’t have a single byte of disk space left on my system drive. I thought, how could this be? I don’t work with large applications or files, if I do watch a video, it’s immediately archived to my external drive; old files no longer used are archived to the drive too. What I needed was a map of my hard drive usage in Windows so I could find the culprit.

I was concerned, but the culprit was right in front of me. As you probably know, I generate a lot of screenshots for the articles I write here at Groovypost. The Snip app has been a lifesaver; making it easy to capture screenshots I can edit, save, and then incorporate into the various articles I publish.

Map Your Hard Drive Usage in Windows 10 using TreeSize

I went ahead and performed all the usual tasks such as running disk clean up, following the steps in our groovyPost free up disk space tutorial, and of course, searching manually for any files I might have stashed somewhere on the drive. The only major files I had accumulated were 4GB of HP drivers in the swsetup folder kept at the root of my drive. I moved those too along with taking a close look at my installed apps to see, which ones might be eating up space. I accepted the fact that universal apps would eat up some space along with Windows Update. There was nothing I could do about that. What I was able to archive made no difference, 4 GB of disk space dwindled to zero bytes in minutes.

Devices and Drives showing 0 bytes free

What was causing this? A look through my Startup programs and Event Viewer yielded no clues. None of the Microsoft built-in utilities were not working either. Windows 10 still continued to function, but apps remained funky. Again, I knew it would be easiest to troubleshoot these problems if I could view a map of my hard drive usage in Windows.

Jam Software TreeSize (Free)

Doing a quick search for tools here on groovyPost turned up an article Steve wrote back in 2008 on how to create a hard drive utilization report using a tool called TreeSize Free. The good news for me was the tool is still maintained and free.

TreeSize is a great tool. It comes in three versions which you can compare on their website — freeware and two paid versions. For my needs, the free version was good enough. That said, they offer a 30-day trial if you want to try out the paid versions of the tool. Either way — I highly recommend these guys.

Setting it Up

After downloading TreeSize, the next step was to install it. That in itself proved to be a problem. TreeSize kept erroring out during setup because of a lack of disk space. So, my next attempt was to install it in the Windows 10 Creators Update I had on another partition, which was not affected by the issue I was experiencing in Windows 10 Anniversary Update. Unfortunately, the app would not install on the Creators Update either. So, I was left in a tight spot. I had to find some way to free up space in my Anniversary Update installation. I managed to archive about a gigabyte of audio files then rushed to get Treesize up and running. Phew! I finally got it up and running.

Using TreeSize

The interface is a bit like File Explorer on steroids. Users will have to dive in and start digging throughout the system to find files they think might be squatting on precious disk space. An excellent place to start is the AppData folder. Many applications store files there and you would be surprised to know a number of log files that can grow in size, hidden away from easy access.

After launching TreeSize, the program defaults to your system drive where Windows 10 is installed, but the contents of the folder tree will be blank. It should automatically perform a fresh scan. If not, simply perform a new scan to build a full map of your disk space usage.

  1. Click Options > Options if you want to customize the appearance of the scan performance or results.
  2. Return to the Home tab and click on Select Directory. Choose which drive or drives you want to scan.
    preparing to map hard drive usage in Windows with TreeSize
  3. TreeSize automatically scans your files and displays information about the size of each of your folders.
    a map of Windows hard drive usage in TreeSize Free
  4. If you want to repeat the scan, click Refresh.
    Refresh scan button to generate new map of Windows hard drive usage

When the scan is complete, you will get a better idea of where large files are stored on your drive. Locations highlighted in bold are considered folders that have a lot of large files.

TreeSize Helps Visualize Your Storage Usage

As you can see in the screenshot below, TreeSize determines some of the largest files are stored in the Windows, Program Files, and Program Files (x86) folders. Other directories might also contain large files users can browse and determine whether to delete or keep on a case-by-case basis.

Treesize scan output

One of the best places to start is your AppData folder; navigate to Users > YourUserAccount name > App data.

AppData folder using a great amount of storage space

With a little bit of luck, I finally hit the jackpot for my particular issue; I came across two suspicious log files, created by none other than the Snip app. What was most surprising about both files is the size, 9GB and 17GB of storage usage, which was just mind-boggling.

Conclusion

Why were these log files so big and what were they being used for? I tried opening each in Notepad, but the app errored, claiming the files were too big. It seems that every time I captured a screenshot, the Snip app kept a log of it. For what reason? I haven’t got a clue. All I know is that I was ready to get rid of both of them. And just like that, I had recovered 27 GB of disk space.

No doubt, armed with TreeSize, there will be more to find and delete, however, for now, I’m back in the black.

Have you ever used TreeSize or a similar tool before? Would love to hear about it in the comments and inspiration for our next groovyPost!

13 Comments

13 Comments

  1. Andy B

    February 27, 2017 at 7:16 am

    Another useful and completely free tool (also available in portable edition) is WinDirStat and it gives you a colourful picture showing where your space is used most:

    https://windirstat.net/

  2. Robert Sellars

    February 27, 2017 at 8:28 am

    I had a similar problem with mega-giant files filling up my entire hard drive. Spacesniffer appears to work similar to Treesize and the offending poker gaming files were located and fixed. A quick search on Google showed other users with similar problems and solutions.

    • Steve Krause

      February 28, 2017 at 10:43 pm

      Very nice. For me, it was iPhone backups files….. from 3 phones ago!

  3. James

    February 27, 2017 at 10:22 am

    Treesize is a great utility –

    A while ago I ‘lost’ about 60GB of space –
    Nothing seemed to be holding that missing space –
    however Treesize set onto the OS partition in admin mode showed
    Recycle bin as being over 60GB in size –
    Recycle itself – showed 3 files – a total of 2MB

    Seems that there were some foldersin the ‘Recycle bin’ that the Recycle bin facility did not want me to know about .. Treesize allowed me to open the folder and to drag the contends into a folder I created and named as C:\z

    And… to decide that I did not want to keep the old system image fileset – Permanent delete sorted that problem – now that the files were NOT hidden from me!

    So – Treesize – Yes – a great facility

    And – for me invaluable when it comes to – clearing the Recycle bin
    I can, and do use it to deal with the abysmally stupid of the Microsoft offering
    Do I want to delete the files –
    Dear MS – How the Facility do I know when you are totally unwilling to tell me how much space in total, let alone how much space is files from the OS partition, or other partitions
    Do I want to delete the 25GB of multimedia stuff from the videos partition – Er yes I have watched the HD film
    Do I want to delete the 2GB of files from the OS partition – Er – panic mode when did I do anything to cause 2GB of OS partition files to be considered ‘old’ superceeded, let alone unwanted!

    Treesize Yea!

    • Steve Krause

      February 28, 2017 at 10:46 pm

      Really nice tip James. Wow, 60GB’s of wasted space from the recycle bin… that’s just nasty! A good reminder that regular clean-up work needs to be done from time-to-time.

      • James

        March 1, 2017 at 7:25 am

        Regular clean-up – yes, but for the more aggressive options, it’s best to understand what will be ‘cleaned’ – such as restore points – but what would they be offering a restore to!.

        The point about the 60GB was that recycle-bin facility was hiding it – even from admin authorised user. – I have a large amount of space on the OS partition – gets massed updates and VM’s as required, and have set the Recycle bin to be pretty much unlimited.
        That does, require that I do a manual clearance.

        For me – the preferred option is to be able to recover ‘whatever’ from my normal working, and I go through the recycle bin before doing a new system backup (partition image)

        That is why I was more than just a little bit upset that the 60GB of usage was hidden.

        Bad enough that the windows built-in facilities are restricted to the 255 character fullname when there is, within windows, an API that allows the 1000 character names as per Linux
        It’s just that the windows design and development teams cannot be bothered to provide backup facilities that users can rely upon to provide recovery facilities.

        OK – I do use File History – but I accept that there will be many files it has not bothered taking backups of, and should I get crypto-malware, then the backups will also be encrypted. That’s why I use 3rd party software and unpluggable devices for the system backups, and cloud based write-new-copies backups for the important – personal data files – maintenance of the cloud being via a separate login from another system

        So – treesize was the facility that actually showed me the space was held within the recycle bin – and then allowed me to get it back.

        Windows would not let me access it, even when found it

  4. John Perryn

    February 27, 2017 at 4:32 pm

    We use a visual tool called WINDIRSTAT. See https://windirstat.net/

    • Steve Krause

      February 28, 2017 at 10:42 pm

      Thnx John & Andy – I’ve used WinDirStat in the past but forgot the name of it! Thanks for the tip (and reminder)!

      Will have to take all these tools and do a head-to-head with em.

  5. Ziggy

    February 28, 2017 at 3:17 am

    WizTree. It’s free and also gives you an explorer like interface.

    • Steve Krause

      February 28, 2017 at 10:42 pm

      Nice Ziggy – That’s one we’ve not played with before. Will have to give it a roll…

      How would you compare it to WinDirStat or Treesize?

      • Ziggy

        March 1, 2017 at 2:36 am

        @Steve. Simply much, much quicker as it searches the master file table within seconds. I’ve removed heaps of forgotten unnecessary stuff using this tool. Much quicker than windows native clean up tool as well.

      • Sam

        December 13, 2022 at 6:50 am

        Wiztree is near instant. Blew my mind the first time I used it! It also updates the file structure near real time as things are deleted. It has a graphic interface similar to windirstat.

  6. Mighty_Cricket

    April 29, 2018 at 12:14 am

    I hope someone catches me before i fall over the cliff here. I MAY find something new with TreeSize, Windirstat or Wiztree; but Ccleaner has already pinpointed around 420 GB out of a 450 GB Digital Hard drive. It’s all about deleting Unused MSI and MSP files from my Windows 10 Installer Folder. Can the 3 above mentioned help with that? I’m going in.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

To Top