العربية

C: Drive Full? Free Up Space in Windows 11 with Storage Sense, Cleanup and hiberfil.sys

Last updated: December 2, 2026

A laptop with a nearly full storage bar and a broom sweeping files away.

A full C: drive creeps up on you, then one day Windows complains and nothing updates.

Windows 11 has three built-in ways to reclaim space, and between them they cover almost everything that fills a drive: Storage Sense for automatic cleanup, Cleanup recommendations for a guided one-time pass, and powercfg for the hiberfil.sys file, which can hold many gigabytes on its own. This guide uses Microsoft's own documentation for each. For a wider set of ideas there is also our older guide to freeing up C: drive space in Windows 11.

This is part 4 of a short series on Windows 11 power, startup and disk space. Part 1 covered sleep and wake problems, part 2 battery health reports, and part 3 startup apps and boot time.

Turn On Storage Sense

⚡ Quick Answer: Open Settings > System > Storage. Turn on Storage Sense to let Windows clear temporary files and the Recycle Bin automatically. Then open Cleanup recommendations on the same page and review what Windows suggests removing. To reclaim several gigabytes at once from hiberfil.sys, run powercfg /hibernate off in Terminal (Admin) if you never use hibernation.

Microsoft describes Storage Sense as a feature that automatically frees up drive space by getting rid of items you do not need, like temporary files and items in your Recycle Bin. Turn it on once and it keeps working in the background; the same Storage page lets you adjust how often it runs and what it touches.

Run Cleanup Recommendations for a One-Time Pass

If you do not want automation, or you want a bigger one-time win, Microsoft's guide points to Cleanup recommendations on the same Storage page. It asks you to review categories including Temporary files, Large or unused files, Files synced to the cloud, and Unused apps, and it shows the amount of space you will save when you remove the selected items.

Work down the list and select what you genuinely do not need. Large or unused files and Unused apps are usually where the tens of gigabytes hide.

On a system without Storage Sense, the same Microsoft page offers the older Disk Cleanup tool instead, including its Clean up system files button, which removes files the ordinary pass does not.

Reclaim hiberfil.sys

Hibernation works by writing the contents of memory to a file called hiberfil.sys, and that file lives on C: whether you hibernate or not. If you never hibernate, the file is pure overhead. Microsoft's powercfg documentation covers the switch:

Terminal
powercfg /hibernate off

Run it from Terminal (Admin). Disabling hibernation removes hiberfil.sys, which on a machine with plenty of RAM returns several gigabytes immediately. The same documentation notes the related options: /hibernate /size sets the hiberfile size as a percentage of total memory, with 50 as the smallest default, and /hibernate /type reduced keeps only the smaller file that fast startup needs.

For the full walkthrough, including what you lose, read how to disable hibernation and reclaim space in Windows 11, and for the trade-off itself, Hibernate vs Fast Startup vs Sleep in Windows 11.

⚠️ Warning: powercfg /hibernate off removes the Hibernate option and turns off fast startup too, because fast startup relies on the hibernation file. Boots may take a little longer afterward. If you want the space but still use Hibernate, use /hibernate /size or /type reduced instead of switching it off.

Keep OneDrive Files in the Cloud

If OneDrive holds your documents, Microsoft's guide suggests turning on OneDrive Files On-Demand. It stores a smaller placeholder file on your hard drive instead of the full-size file that stays in the cloud, and you can still open everything from your PC. For a large library this alone can return more space than any cleanup.

❤️

Support Our Content

Your donation helps us keep going

A Sensible Order for Freeing Space

  1. Open Settings > System > Storage and see what categories fill the drive.
  2. Turn on Storage Sense for ongoing automatic cleanup.
  3. Run Cleanup recommendations and remove what you do not need.
  4. If you never hibernate, run powercfg /hibernate off to delete hiberfil.sys.
  5. Turn on OneDrive Files On-Demand if your files live in OneDrive.
  6. Restart and check the free space again.

Check Before You Call It Done

  • Storage Sense is on, or you have a reminder to run Cleanup recommendations.
  • hiberfil.sys is gone if you chose to disable hibernation, and you know fast startup went with it.
  • The Recycle Bin is empty if you meant it to be.
  • C: has comfortable free space, and Windows Update is no longer complaining.

Next in the Series

This was the last part of the series. Catch up on the rest:

  1. Windows 11 won't sleep or wakes by itself
  2. Battery health with the powercfg battery and energy reports
  3. Startup apps and boot time
  4. Free up disk space: hiberfil.sys, Storage Sense and cleanup (this guide)

Frequently Asked Questions

❓ How do I free up disk space in Windows 11?

Open Settings > System > Storage. Turn on Storage Sense for automatic cleanup of temporary files and the Recycle Bin, then run Cleanup recommendations to review Temporary files, Large or unused files and Unused apps.

❓ What is hiberfil.sys and can I delete it?

It is the file hibernation uses to store memory contents. Do not delete it by hand; run powercfg /hibernate off from Terminal (Admin), which disables hibernation and removes the file. That also turns off fast startup.

❓ Can I shrink hiberfil.sys without disabling hibernation?

Yes. Microsoft's powercfg documentation offers /hibernate /size with a percentage of total memory (50 is the smallest default) and /hibernate /type reduced, which keeps only what fast startup needs.

❓ Does Storage Sense delete my personal files?

Microsoft's description says it gets rid of items you do not need, like temporary files and items in your Recycle Bin. Review its settings on the Storage page to control how often it runs and what it touches.

📬
Windows 11 Guides

Get Windows 11 Fixes That Actually Work

Practical Windows 11 guides based on official documentation and delivered to your inbox from Valley4Techs.

🔒 100% free. No spam, ever. Unsubscribe with one click anytime.

Sources

Add Valley4Techs as a Preferred Source

Follow us on Google News for the latest updates

Add Now
Comments