Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Folder Size Issues on Windows 10

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Folder size issues on Windows 10 usually mean either the size shown in File Explorer is wrong, a folder appears empty but takes up space, or you can't see the size at all. This guide walks you through the built-in tools and settings that fix these problems, covering hidden files, indexing glitches, and permission errors. You don't need any third-party software—everything here uses Windows 10's own features.

What You'll Need

  • A Windows 10 PC with administrator access (to change folder options and run commands).
  • Patience—some steps involve scanning large folders, which can take a while.

Step-by-Step

  1. Check if hidden files are the culprit. Open File Explorer, click the View tab, then check the box Hidden items in the Show/hide group. If a folder suddenly shows a size after this, hidden files were the issue.
  2. Turn on the folder size column (if missing). In File Explorer, go to the View tab, click Details (or ensure you're in Details view). Right-click any column header (like Name or Date modified), and check Size. If it's already checked but shows blank, that's normal—Windows only calculates size for folders when you open them.
  3. Refresh the view. Press F5 or right-click in the folder and choose Refresh. This forces Windows to re-read folder metadata.
  4. Run a disk cleanup. Type Disk Cleanup in the Start menu, open it, select your drive (usually C:), and let it scan. Check all boxes, especially Temporary files and Thumbnails, then click OK. This frees space and can resolve phantom size readings.
  5. Use Command Prompt to get a true folder size. Open Command Prompt as administrator (right-click Start > Command Prompt (Admin)). Type the following and press Enter, replacing D:\path\to\folder with your folder's actual path:
    dir /s /a "D:\path\to\folder"
    Look for the line that says File(s)—that's the total size in bytes. Divide by 1,048,576 to get MB, or by 1,073,741,824 for GB.
  6. Check for file system errors. Open Command Prompt as admin and run:
    chkdsk C: /f
    You'll be asked to schedule it for next restart—type Y and restart. This fixes corrupted file records that can make sizes wrong.
  7. Clear the thumbnail cache. Open Disk Cleanup again, but this time click Clean up system files, select your drive, and check Thumbnails. This is a common fix for folders that show a size but appear empty.
  8. Reindex the folder (if using Search). If folder size appears wrong in search results, go to Control Panel > Indexing Options, click Modify, and ensure your folder is included. Then click Advanced > Rebuild.
  9. Take ownership of the folder. Right-click the folder > Properties > Security tab > Advanced. Next to Owner, click Change, type Administrators, check Replace owner on subcontainers and objects, and click OK. This fixes size display when you lack read permissions.
  10. Disable and re-enable folder size calculation. In File Explorer, go to View > Options > Change folder and search options. Under the View tab, uncheck Always show icons, never thumbnails and also uncheck Display file size information in folder tips. Click Apply, then re-check it and Apply again. This resets the size cache.

Common Mistakes

  • Forgetting hidden files. Many users think a folder is empty when it actually contains hidden system files or hidden subfolders.
  • Relying on the Properties dialog for large folders. For folders with hundreds of thousands of files, Windows may take minutes or even crash. The dir /s command is more reliable.
  • Not running as administrator. Commands like chkdsk and ownership changes require admin rights. Without them, you'll get access denied errors.
  • Ignoring the recycle bin. Deleted files still occupy space until you empty the Recycle Bin. A folder might show a size because it contains a shortcut to a deleted file, but the actual space is taken by the bin.

Tips

  • Use TreeSize Free or WinDirStat (both free) if you need to see folder sizes at a glance—they scan much faster than Windows' built-in method.
  • For quick checks, use the dir command with /s on a specific subfolder rather than the whole drive.
  • Keep your drive defragmented (or optimized) regularly—fragmentation can slow down size calculations.
  • If a folder's size is critical (like a backup), verify it with two different methods (e.g., Properties and dir) before trusting it.

Troubleshooting

Folder size still shows 0 bytes. This usually means you lack read permissions. Follow the ownership step above, then try again. If it still shows 0, the folder may be a junction or symbolic link—right-click and check Properties; if it says "Link" or "Junction," the size is actually in the target folder.

Folder size is much larger than expected. Check for hidden files, system restore points, or pagefile.sys and hiberfil.sys (these are hidden system files that can be gigabytes). Use the dir /a command to see all files including hidden ones.

File Explorer crashes when trying to view folder properties. This often happens with extremely large folders or corrupt file names. Try using Command Prompt instead, or move the folder to a different drive temporarily to see if it's a disk issue.

Size column is blank for all folders. This is normal—Windows doesn't show folder sizes in the details pane by default. It only shows the size of individual files. To see folder sizes, you need to open the folder's Properties or use a third-party tool.

After running chkdsk, the size changed. That's expected—chkdsk repairs corrupted file records, which can correct inaccurate size metadata. The new size is the true size.

Frequently Asked Questions

Why does a folder show a size but appear empty? Hidden files, system files, or files with hidden attributes are the usual cause. Enable Hidden items in the View tab to see them.

Why doesn't Windows 10 show folder sizes in File Explorer? By design, Windows only calculates folder sizes when you open Properties or hover over the folder in certain views. This is to avoid performance hits on large folders.

Can I make folder sizes appear permanently? Not with built-in tools. You'd need a third-party tool like TreeSize Free, which adds a column or overlay.

Why does the size in Properties differ from the sum of files? This can happen due to hidden files, hard links (where multiple names point to the same data), or file system overhead. The Properties dialog counts actual bytes used, which may include metadata.

Is it safe to delete the Thumbnail cache? Yes, it's safe. Windows will regenerate thumbnails as needed. It's a common fix for size display glitches.

What if the folder size is wrong because of OneDrive or cloud files? Cloud files that are "online-only" don't take up local space, but Windows may still show a size based on the cloud metadata. Right-click the file and choose Free up space to make it online-only, or Always keep on this device to download it.