Features Download Screenshots Blog

โ† Blog

How to Find the Largest Folders on Windows

Windows Explorer deliberately does not show folder sizes. It would have to walk every subfolder every time you opened a directory, so Microsoft leaves it out โ€” which is exactly why finding the biggest folder by hand is so tedious. There are three practical ways to do it, and they differ mainly in speed.

The fastest method: a disk analyzer

A disk space analyzer reads the file system once, aggregates sizes per folder and shows the result as a tree and a treemap. You sort by size, see the biggest folder at the top, open it, and continue until a single folder explains most of the drive.

With DiskRaptor: launch it, select the drive, wait for the scan, then click the Size column header to sort descending. Each row shows the folder's size as a percentage of its parent, so a 40 GB folder inside a 45 GB parent is immediately obvious. The top-50 largest files list catches the single 30 GB file that a folder view can hide.

The PowerShell method

If you prefer a script โ€” for a server, a scheduled report, or a machine where you cannot install software โ€” PowerShell can measure the top-level folders of a drive. This version lists the 15 largest folders directly under C::

Get-ChildItem 'C:\' -Directory -Force -ErrorAction SilentlyContinue | ForEach-Object {
  $bytes = (Get-ChildItem $_.FullName -Recurse -File -Force -ErrorAction SilentlyContinue |
            Measure-Object -Property Length -Sum).Sum
  [PSCustomObject]@{ Folder = $_.FullName; GB = [math]::Round($bytes / 1GB, 2) }
} | Sort-Object GB -Descending | Select-Object -First 15

Notes on using it:

To look deeper than one level, wrap the same code in a loop and run it on the largest folder, or replace 'C:\' with the folder you want to measure.

The built-in alternatives (and why they are limited)

Comparing the methods

MethodSpeedDepthInteractive
Disk analyzer (DiskRaptor, WizTree, TreeSize)Seconds to minutesWhole drive, drill-downYes
PowerShell scriptMinutesAny folderNo โ€” scriptable
Explorer โ†’ PropertiesMinutes per folderOne folder at a timePainful
Settings โ†’ StorageInstantCategories onlyLimited

What to do with the result

Sorting by size tells you where the space is; it does not tell you what is safe to delete. Three rules keep this from going wrong:

  1. Never delete from C:\Windows, Program Files or ProgramData by hand โ€” uninstall instead, or use the system tools.
  2. For your own folders, move before deleting: an external drive or a network share costs less than a recovery attempt.
  3. After each deletion, re-scan. If the number did not drop, the space is held somewhere else โ€” a snapshot, a recycle bin, or a file that is still open in another program.

A typical first pass finds the space in one of five places: games, downloads, AppData caches, virtual disks, or a media library. Once you know which one it is, the fix takes minutes.

Frequently asked questions

Why doesn't Windows show folder sizes in Explorer?

Because it would have to read every file in every subfolder every time a folder opens. Windows leaves that work to dedicated analyzers, which scan once and keep the results in memory.

Is PowerShell fast enough for a 4 TB drive?

Not really. PowerShell measures files one at a time, so a drive with millions of files can take many minutes or longer. A native analyzer that reads the filesystem in parallel is usually hundreds of times faster for this task.

Do I need administrator rights to find large folders?

No for your own folders, but yes to see system folders like WinSxS, System Volume Information or other users' profiles. Without elevation those simply show up as empty.

What is the largest folder on a typical Windows PC?

Usually WinSxS (4โ€“12 GB), a game library, or the user's AppData caches. On developer machines, Docker and WSL virtual disks regularly beat all of them.

Before you clean, lock the door

A tidy disk is a good moment to sort out the rest of the setup. A VPN for public networks, antivirus for everything you download and keep, and an ad blocker for the tabs you leave open all day.

Affiliate disclosure: the links below are affiliate links. If you buy through them, we may earn a commission at no extra cost to you โ€” it helps keep DiskRaptor free.

More about our Surfshark partnership.

Related reading

Reclaim your disk space

DiskRaptor is free, open source, and runs 100% locally.