Smart Systems for Home

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

Clean C Drive: How to Free Up Space on Windows

· 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

To clean your C drive, use the built-in Disk Cleanup tool or Storage Sense to remove temporary files, system logs, and empty the recycle bin. This process recovers storage space, which can resolve system slowdowns and allow for critical software updates. Before starting, ensure you have saved any important documents currently sitting in your Downloads folder or Recycle Bin, as these are often targeted during cleanup.

What You'll Need

  • A computer running Windows 10 or Windows 11.
  • Administrator privileges (required to clean system files like old Windows updates).
  • A few minutes of time, as some deep cleaning processes may take a while to scan.

Step-by-Step

Depending on your version of Windows, you can use the modern Settings menu or the classic Disk Cleanup utility. Note that menu labels may differ slightly based on your specific Windows version, region, or recent system updates.

  1. Use Storage Sense (Modern Method):
    • Open the Start menu and select Settings.
    • Navigate to System > Storage.
    • Toggle the Storage Sense switch to "On" to allow Windows to automatically delete unnecessary files.
    • Click on Cleanup recommendations to see a curated list of large or unused files, synced cloud files, and unused apps that you can safely remove.
    • Select the items you wish to delete and click Clean up.
  2. Run Disk Cleanup (Classic Method):
    • Type "Disk Cleanup" into the Windows search bar and press Enter.
    • Select the (C:) drive from the dropdown menu and click OK.
    • The tool will calculate how much space can be freed. In the list of "Files to delete," check the boxes for items like Temporary Internet Files, DirectX Shader Cache, and Recycle Bin.
    • Click OK and then Delete Files to confirm.
  3. Clean System Files:
    • Open Disk Cleanup again.
    • Click the button labeled Clean up system files (this requires administrator permission).
    • The tool will scan again. Now, you will see options like Windows Update Cleanup, which often takes up several gigabytes of space.
    • Check the boxes for the system files you want to remove and click OK.
  4. Manually Clear Temporary Folders:
    • Press the Windows Key + R on your keyboard to open the Run dialog.
    • Type %temp% and press Enter. This opens the user temporary folder.
    • Select all files (Ctrl + A) and press Delete. If a message appears saying a file is in use, click Skip.
    • Repeat the process by typing temp (without the percentage signs) in the Run dialog and deleting those files as well.
  5. Uninstall Unused Applications:
    • Go to Settings > Apps > Installed apps (or Apps & features).
    • Sort the list by Size to identify the largest programs.
    • Select any software you no longer use and click Uninstall.

Common Mistakes

  • Deleting files from the Windows folder: Never manually enter the C:\Windows folder and delete files you don't recognize. This can corrupt your operating system and prevent the computer from booting.
  • Emptying the Downloads folder blindly: The Downloads folder is often included in cleanup recommendations. Ensure you have moved important installers or documents to a permanent folder or external drive before clearing it.
  • Using third-party "Registry Cleaners": Avoid software that claims to speed up your PC by cleaning the registry. These tools can delete critical system keys and cause instability without providing any noticeable performance gain.
  • Over-cleaning: Deleting the "DirectX Shader Cache" is safe, but doing it constantly can actually slow down game loading times as the system has to rebuild those caches.

Tips

  • Move Large Folders: If your C drive is consistently full, move your User folders (Documents, Pictures, Videos) to a secondary D drive or an external HDD. Right-click the folder > Properties > Location > Move.
  • Enable Storage Sense: Set Storage Sense to run "Every week" or "When disk space is low" in the Storage settings to prevent junk from accumulating.
  • Check for Large Files: Use the built-in search in File Explorer and type size:gigantic in the search bar to find any single files larger than 128MB that might be taking up space.
  • Cloud Storage: Use "Files On-Demand" features in OneDrive or Google Drive so that files are stored in the cloud and only downloaded when you actually open them.

Troubleshooting

If you have followed the steps above but your C drive is still full, try these solutions in order:

  1. Restart your computer: Some temporary files are locked by active processes. A restart releases these locks and allows Disk Cleanup to remove them.
  2. Check for Windows Updates: Sometimes a pending update creates large temporary installation files that are only removed after the update is successfully installed and the system is restarted.
  3. Disable Hibernation: If you have a massive hiberfil.sys file, you can disable hibernation. Open the Command Prompt as Administrator and type powercfg -h off. This can free up several gigabytes of space equal to a portion of your RAM.
  4. Check for System Restore points: Windows creates "shadow copies" for system restores. Search for "Create a restore point," go to Configure, and you can limit the maximum usage or delete old restore points. Warning: Deleting restore points means you cannot roll back your system to a previous state if a crash occurs.

Frequently Asked Questions

Is it safe to delete everything in Disk Cleanup?

Generally, yes. The items listed in the Disk Cleanup tool are temporary files, caches, and logs that are not required for the system to function. However, be mindful of the "Downloads" checkbox if you store important files there.

Why is my C drive still full after cleaning?

You may have large personal files (videos, games, or database files) that Disk Cleanup does not target. Check your "Users" folder or use a disk visualization tool to find which specific folders are consuming the most space.

Will cleaning the C drive delete my personal photos or documents?

No, as long as you do not manually delete them from your User folders. Disk Cleanup and Storage Sense target system junk and temporary files, not your personal libraries.

How often should I clean my C drive?

Once a month is usually sufficient for most users. If you install and uninstall many programs or download large files daily, you may want to run Storage Sense weekly.

What is the difference between "Temporary files" and "System files"?

Temporary files are created by apps you use (like browser caches). System files are created by Windows itself, such as old versions of Windows after a major update or error logs (minidumps) from system crashes.