Skip to content
Join readers who trust AllThings.How for practical guides Opens in a new tab

How to find the largest files on Windows 11 when your drive is full

How to find the largest files on Windows 11 when your drive is full

When a Windows 11 drive runs out of room, the fastest path back to free space is identifying the biggest files first, then deciding what to delete, move, or archive. Windows 11 includes several built-in tools that can surface large files in seconds, from File Explorer's size filters to Storage settings and PowerShell.

Quick answer: Open File Explorer, select the drive, type size:gigantic in the search box, switch to Details view, and sort by Size. This lists files over 4 GB, ordered from largest to smallest.

File Explorer accepts Advanced Query Syntax (AQS) tokens that filter files by size, type, and date. This is the quickest way to find big files without installing anything.

Step 1: Press Windows + E to open File Explorer, then click the drive you want to scan (for example, the C: drive or This PC for everything).

Step 2: Click the search box in the top-right and type one of the preset size tokens below. Press Enter to start the scan.

Search tokenMatches files
size:large128 MB to 1 GB
size:huge1 GB to 4 GB
size:giganticOver 4 GB
size:>500MBCustom threshold (anything above 500 MB)
size:>1GBCustom threshold (anything above 1 GB)

Step 3: Switch to Details view from the View menu, then click the Size column header to sort results from largest to smallest. Right-click any item and choose Open file location to see where it lives before deleting it.

You can combine tokens for sharper results. For example, kind:video size:>1GB shows only videos larger than a gigabyte and ext:.iso size:>2GB targets disc images. Adding datemodified: helps when you're hunting for something recent, such as a video export or game install.

⚠️
Hidden files are skipped by default. To include them, open the View menu, choose Show, and tick Hidden items. Avoid deleting anything inside Windows, Program Files, or other system folders unless you know exactly what it is.

Use Storage settings and Cleanup recommendations

Windows 11 has a built-in storage dashboard that highlights large or unused files automatically. It's the safest starting point because it groups items by category and only suggests things that are generally safe to remove.

Step 1: Open Settings with Windows + I, click System in the left pane, and select Storage on the right.

Step 2: Under Storage management, click Cleanup recommendations. Windows will scan and group findings into Temporary files, Large or unused files, Files synced to the cloud, and Unused apps.

Step 3: Expand Large or unused files to see individual items with their sizes and last-opened dates. Tick anything you no longer need and click Clean up to delete it.

The Files synced to the cloud category is especially useful if you use OneDrive. Removing the local copy frees disk space while keeping the file accessible online. You can also enable Storage Sense from the same Storage page to have Windows automatically clear temporary files and empty the Recycle Bin on a schedule.


Check which categories are using the most space

Before hunting for individual files, it helps to see where space is actually going. The Storage page breaks down usage by category, so you can decide whether the problem is apps, system files, or personal documents.

From Settings, go to System, then Storage. Windows shows a bar chart of the space used by category on the system drive. Click Show more categories to expand the full list. To see other drives, scroll to Advanced storage settings and select Storage used on other drives.

If installed apps are the issue, open Settings, go to Apps, then Installed apps, and sort by Size. Games, creative suites, and development tools often occupy tens of gigabytes and can be uninstalled or moved to another drive from this list.


List the biggest files with PowerShell

PowerShell is the most thorough option when you want a scriptable, drive-wide list of the largest files, including locations that aren't indexed by File Explorer.

Step 1: Press the Windows key, type PowerShell, right-click Windows PowerShell, and choose Run as administrator.

Step 2: Paste the command below to list the 50 largest files on the C: drive, with sizes in gigabytes and full paths. Change C:\ to target a different drive or folder.


Get-ChildItem -Path 'C:\' -File -Recurse -Force -ErrorAction SilentlyContinue |
Sort-Object -Property Length -Descending |
Select-Object -First 50 @{Name='Size(GB)';Expression={[math]::Round($_.Length/1GB,2)}}, FullName

List the 50 largest files under C:\ with size in GB

Step 3: Review the output before deleting anything. To save the list as a spreadsheet for later, append | Export-Csv -Path C:\largest_files.csv -NoTypeInformation to the command.

If you only want files above a specific size, use a filter instead. The command below returns the full path of every file larger than 1 GB (1,073,741,824 bytes). Adjust the number to change the threshold.


Get-ChildItem -Recurse -Force -ErrorAction SilentlyContinue |
Where-Object { $_.Length -ge 1073741824 } |
Select-Object -ExpandProperty FullName

Find every file larger than 1 GB

The -Force flag includes hidden and system files, while -ErrorAction SilentlyContinue prevents the scan from stopping on protected folders. Scanning an entire system drive can take several minutes, so target a specific folder like C:\Users or C:\ProgramData when you can.


Find large files with Command Prompt

If you prefer Command Prompt, the forfiles utility can produce a text file listing every file above a chosen size.

Step 1: Press the Windows key, type cmd, right-click Command Prompt, and choose Run as administrator.

Step 2: Navigate to the drive or folder you want to scan (for example, cd C:\) and run the command below. It writes the path of every file larger than 1 GB into LgFiles.txt.


forfiles /S /M * /C "cmd /c if @fsize GEQ 1073741824 echo @path" > LgFiles.txt

Export paths of files over 1 GB to LgFiles.txt

Step 3: Open LgFiles.txt in Notepad to review the results. Replace 1073741824 with a different byte value to change the size threshold (for example, 536870912 for 512 MB).


Comparing the built-in methods

MethodBest forSpeed
File Explorer searchQuick visual review of one drive or folderFast on indexed locations
Storage settingsSafe, guided cleanup with categoriesModerate; scans on demand
PowerShellWhole-drive lists, CSV export, scriptingSlower on full system scans
Command Prompt (forfiles)Exporting a plain-text list of large filesSlower; no progress indicator

What to do once you've found the big files

Not every large file should be deleted. Game installers, ISO downloads, old video exports, and forgotten backups are usually safe to remove or move. System files in Windows, Program Files, and hidden folders like WinSxS should generally be left alone, because removing them can break the operating system or installed apps.

For files you want to keep but don't need locally, move them to an external drive, a NAS, or cloud storage. OneDrive's Files On-Demand option keeps a placeholder on the PC while storing the actual data online. Right-click a file or folder in OneDrive and choose Free up space to remove the local copy without losing access.

To verify your cleanup worked, reopen Settings, go to System, then Storage, and check the free space figure at the top of the page. If the number hasn't changed after deleting files, empty the Recycle Bin and refresh the view.

🛡️
Tip: Before mass-deleting unfamiliar files, right-click and choose Open file location to confirm what folder they belong to. Files inside Windows update caches, driver stores, or app data folders often look disposable but can cause problems if removed.

If you're constantly running out of room despite cleanup, the underlying issue is capacity, not clutter. Adding a larger SSD, attaching an external drive for media libraries, or moving game installs to a secondary drive solves the problem at the source.