How to Free Up Drive Space on Windows: A Step-by-Step Guide

Last Updated: September 1, 2026By
Person using Windows laptop near a bright window

Running out of storage on your Windows PC can quickly grind your daily routine to a halt. When your primary drive fills up, your computer slows down, applications freeze unexpectedly, and critical operating system updates fail to install.

Both modern solid-state drives and traditional hard drives require a healthy cushion of free space to process data efficiently and avoid system errors. Routine disk maintenance does far more than clear room for new downloads; it protects your machine from frustrating sluggishness and keeps essential services running smoothly.

With a practical balance of built-in cleanup utilities and targeted file adjustments, you can safely reclaim dozens of gigabytes, keep your files organized, and restore your computer to peak responsiveness.

Key Takeaways

  • Automating Storage Sense and running the Disk Cleanup tool with administrative privileges quickly clears temporary caches, update logs, and bloated previous Windows installation backups.
  • Third-party visualizers such as WizTree or TreeSize Free pinpoint massive hidden files, including forgotten disc images and leftover video captures, in seconds.
  • Reducing or turning off the Windows hibernation file using the Command Prompt immediately reclaims several gigabytes based on your installed physical memory.
  • Relocating modern video game installations through Steam or Windows Settings frees up between 50GB and 150GB per title without reinstalling.
  • Redirecting core user folders like Downloads and Documents to a secondary drive ensures your main operating system partition avoids future storage bottlenecks.

Storage Diagnostics and Disk Usage Analysis

Finding out where your disk capacity is being consumed is the first step toward effective storage cleanup. Windows provides detailed built-in breakdowns of drive usage, while specialized visual tools help identify bloated directories that standard file browsers hide.

Overview of the Windows Storage Settings Menu

The Windows Storage settings menu offers an organized overview of your primary drive and partitions.

To access this menu:

  1. Open Settings by pressing Windows + I.
  2. Select System, then click Storage.

Windows analyzes the drive and organizes data into several distinct categories:

  • Installed apps: Programs, games, and optional features installed on the machine.
  • Temporary files: Cached installation files, Recycle Bin contents, and error logs.
  • System & reserved: Operating system files, virtual memory allocations, and hibernation storage.
  • Other: Miscellaneous file collections and unrecognized folder structures.

To evaluate additional drives or partitions:

  1. Scroll down to the Advanced storage settings section.
  2. Click Storage used on other drives to view a breakdown for every connected hard drive or solid-state drive.

Third-Party Disk Space Visualizers

While Windows provides basic category overviews, third-party disk visualizers offer interactive tree-maps that represent files and folders as proportional blocks. Programs such as WizTree, TreeSize Free, and WinDirStat scan entire drives in seconds to reveal massive, forgotten files.

Guidelines for safe disk inspection:

  • Look for standalone large files: Focus on outdated virtual machine disks (.vmdk, .vdi), leftover video recordings (.mp4, .mkv), or downloaded disc images (.iso).
  • Avoid modifying Windows system directories: Do not delete files directly from C:\Windows or C:\Program Files within the visualizer, as removing protected components can destabilize the operating system.
  • Locate user directory bloat: Use the visual blocks to spot bloated folders in your user directory, such as large video rendering scratch folders or forgotten download folders.

Identification of High-Capacity Files and Hidden Folders

File Explorer includes search filters to locate large files scattered across your system without extra software.

To search for oversized files:

  1. Open File Explorer and click on your target drive.
  2. Click the search bar in the top-right corner.
  3. Type size:>1GB to find files larger than 1GB, or type size:gigantic to list files exceeding 4GB.

To reveal hidden directories accumulating data:

  1. Open File Explorer, click the View menu (or the three dots menu in Windows 11), select Show, and check Hidden items.
  2. Inspect hidden locations such as C:\ProgramData and C:\Users\<Username>\AppData.
  3. Right-click suspicious folders and select Properties to check their total footprint.

Native Windows Cleanup Tools

Laptop with Windows 11 logo wallpaper next to gaming controller and mouse

Windows includes automated and manual utilities designed to clear temporary data without threatening your personal documents. Utilizing these built-in functions ensures you reclaim capacity safely while maintaining operating system stability.

Automated Maintenance with Storage Sense

Storage Sense is an automated cleanup feature that removes temporary files and clears trash according to a set schedule.

To enable and configure Storage Sense:

  1. Open Settings > System > Storage.
  2. Toggle the switch for Storage Sense to On.
  3. Click the arrow next to Storage Sense (or select Configure Storage Sense or run it now in Windows 10).
  4. Choose the automation frequency under Run Storage Sense (options include every day, every week, every month, or during low free disk space).
  5. Set deletion rules for the Recycle Bin (such as files older than 30 days) and the Downloads folder (such as files untouched for 30 or 60 days).

Deep System Cleanup via Disk Cleanup Utility

The Disk Cleanup utility provides administrative scans to remove outdated system caches that basic cleaners skip.

To perform a deep system cleanup:

  1. Press Windows + R, type cleanmgr.exe, and press Enter.
  2. Select your system drive (usually C:) and click OK.
  3. Click the button labeled Clean up system files to restart the scan with administrative privileges.
  4. Select items that consume substantial capacity.
  5. Click OK and confirm deletion.
  • Windows Update Cleanup: Removes older versions of updated system components.
  • Delivery Optimization Files: Deletes local network update caches.
  • DirectX Shader Cache: Clears graphics processing caches.
  • Temporary Windows installation files: Removes leftover upgrade files.

Safe Clearance of Temporary Cache Directories

Temporary folders store scratch data created by active applications, but Windows rarely deletes all of these files after programs close.

To purge local temporary folders manually:

  1. Press Windows + R, type %temp%, and press Enter to open the user temporary directory.
  2. Press Ctrl + A to select all files, then press Shift + Delete to remove them permanently.
  3. If Windows displays a dialog stating that a file is in use, check the box labeled Do this for all current items and click Skip.
  4. Repeat this process for the system temporary folder by pressing Windows + R, typing temp, and deleting its contents.
  5. Clear web browser caches directly through your browser settings menu to reclaim additional hundreds of megabytes.

Application and Game Storage Management

Steam on laptop

Installed programs, modern video games, and leftover software residues represent some of the largest space consumers on any computer. Proper software management allows you to reclaim massive amounts of drive space without losing personal configurations.

Uninstallation of Redundant Software and Pre-Installed Bloatware

Modern software packages and pre-installed manufacturer utilities can occupy several gigabytes each.

To remove unnecessary applications:

  1. Open Settings > Apps > Installed apps (or Apps & features in Windows 10).
  2. Click the Sort by dropdown menu and select Size (Large to small).
  3. Review the top of the list to spot heavy applications you no longer use.
  4. Identify and remove manufacturer bloatware, duplicate media players, and forgotten trial software.
  5. Click the three dots next to an unwanted application and select Uninstall.

Migration of Game Libraries to Alternative Storage Drives

Modern video games frequently demand between 50GB and 150GB of storage each. Moving them to a secondary drive frees up your primary system drive immediately.

To move Windows Store apps and games:

  1. Go to Settings > Apps > Installed apps.
  2. Click the three dots next to the game, choose Move, select a secondary partition or external drive, and confirm.

To move games in Steam:

  1. Open Steam, click Steam in the top menu, and open Settings.
  2. Select Storage, click the drive dropdown at the top, and choose Add Drive to designate a folder on another drive.
  3. Check the boxes next to the games you wish to transfer and click Move.

To move games in Epic Games Launcher:

  1. Copy the game installation folder to your secondary drive.
  2. Rename the copied folder temporarily.
  3. Start the download to the new location in the launcher, pause it after 10 seconds, and close the launcher.
  4. Restore the original folder name and resume the installation to trigger a file verification instead of a full download.

Purge of Leftover AppData Files and Program Residue

Standard uninstallers often leave behind configuration files, crash dumps, and cached assets inside user profile folders.

To delete leftover residue:

  1. Press Windows + R, type %appdata%, and press Enter to access AppData\Roaming.
  2. Look for folder names belonging to software you have previously uninstalled and delete them.
  3. Press Windows + R, type %localappdata%, and press Enter to access AppData\Local.
  4. Remove orphaned folders associated with removed programs.
  5. Open C:\ProgramData in File Explorer and check for leftover folders from uninstalled software.

Advanced System File Reduction Techniques

Hands using mouse and mechanical keyboard

Windows reserves substantial storage space for system snapshots, crash states, and legacy OS backups. Applying administrative configurations allows you to compress or scale back these background files safely.

Safe Removal of Previous Windows Installations (Windows.old)

When Windows completes a major version upgrade, it saves a complete backup of the previous installation in a folder named Windows.old. This folder allows rollbacks if problems occur, but it can consume between 15GB and 30GB of space.

Windows automatically deletes this folder after 10 days, but you can remove it immediately:

  1. Open Settings > System > Storage > Temporary files.
  2. Check the box labeled Previous Windows installation(s).
  3. Click Remove files at the top of the list to delete the backup safely.

Deactivation or Size Reduction of the Hibernation File

The Windows hibernation file (hiberfil.sys) stores open programs and memory state when your computer powers down. By default, its size scales with your physical RAM, often occupying 40% to 100% of your total memory capacity.

On a system with 32GB RAM, this file can consume over 20GB.

To manage hibernation:

  1. Open the Start menu, type cmd, right-click Command Prompt, and select Run as administrator.
  2. To disable hibernation completely and delete hiberfil.sys, type powercfg -h off and press Enter.
  3. If you want to keep Fast Startup while saving drive space, reduce the file size by typing powercfg /h /type reduced and pressing Enter. This cuts the file allocation by roughly 50% while preserving startup speed.

Configuration of System Restore and Virtual Memory

System Restore points and virtual memory files (pagefile.sys) provide stability and data recovery, but their default allocations can grow excessively.

To manage System Restore space:

  1. Press Windows + R, type sysdm.cpl, and press Enter.
  2. Click the System Protection tab, select your system drive, and click Configure.
  3. Adjust the Max Usage slider to a reasonable limit, such as 5% (around 5GB to 10GB).
  4. Click Delete if you wish to clear all existing restore points and free space instantly.

To adjust Virtual Memory:

  1. In sysdm.cpl, click the Advanced tab, then click Settings under the Performance section.
  2. Select the Advanced tab and click Change under Virtual memory.
  3. Uncheck Automatically manage paging file size for all drives.
  4. Select a secondary drive, choose System managed size, and click Set.
  5. Select the C: drive, set it to No paging file or a small fixed size, and click Set.

File System Compression with Compact OS

Compact OS is a native Windows feature that compresses operating system files so they occupy less physical storage. This is particularly helpful on smaller 64GB or 128GB solid-state drives, freeing up approximately 1.5GB to 2.6GB of drive space without noticeable performance impact on modern processors.

To deploy Compact OS:

  1. Open Command Prompt as an administrator.
  2. Check your current status by typing:
    compact.exe /compactOS:query
  3. Enable compression by typing:
    compact.exe /compactOS:always
  4. Allow the process to complete over several minutes.
  5. If you ever wish to reverse the compression, type:
    compact.exe /compactOS:never

Data Relocation and Long-Term Storage Configuration

Hand using white mouse next to numeric keypad

Reclaiming drive space provides immediate relief, but keeping your primary drive clean requires smart file management. Configuring Windows to save data and user folders on alternate locations prevents future storage shortages.

Redirection of Default User Folders to Secondary Drives

Personal folders such as Downloads, Documents, Pictures, and Videos default to the primary system drive. Redirecting these folders to a secondary hard drive moves existing files and ensures future downloads land on the larger drive automatically.

To redirect a user folder:

  1. Open File Explorer and go to This PC.
  2. Right-click the folder you want to move (such as Downloads) and select Properties.
  3. Select the Location tab.
  4. Click Move, browse to your secondary drive, and select or create a destination folder (such as D:\Downloads).
  5. Click Apply, then click Yes when prompted to move all existing files to the new location.
  6. Repeat these steps for Documents, Pictures, and Videos.

Cloud Storage Optimization with Files On-Demand

Cloud storage services such as Microsoft OneDrive, Google Drive, and Dropbox allow you to view cloud files in File Explorer without storing them locally.

To configure OneDrive Files On-Demand:

  1. Click the cloud icon in the taskbar notification area and open Settings.
  2. Go to the Sync and backup tab and expand Advanced settings.
  3. Ensure Files On-Demand is turned on, then click Free up disk space.
  4. In File Explorer, right-click any large folder inside OneDrive and select Free up space.

Files marked with a blue cloud icon remain accessible online without taking up local disk space, while files with a green checkmark remain stored locally.

Modification of Default Save Locations for New Files

Windows allows you to redirect where new applications, music, photos, movies, and documents are saved automatically.

To update default save locations:

  1. Open Settings > System > Storage.
  2. Expand Advanced storage settings and click Where new content is saved.
  3. Use the dropdown menus for each category (such as New apps will save to or New documents will save to) and select your secondary drive.
  4. Click Apply next to each changed category.

Conclusion

Reclaiming drive space requires a two-step approach: removing accumulated clutter today and establishing smart storage habits for tomorrow. Running Disk Cleanup, purging temporary directories, and trimming oversized system files provide immediate relief for a full hard drive.

For permanent stability, relocating heavy game installations, redirecting user folders to secondary drives, and using cloud files on-demand will keep your primary partition from running out of room again.

To keep your solid-state drive functioning at top performance, always maintain at least 15% to 20% of its total capacity as free space. Solid-state drives rely on this buffer to perform background maintenance routines such as wear leveling and garbage collection, which prevent drive slowdowns and hardware degradation.

Letting a drive drop below 10% capacity can cause system freezing and prevent Windows updates from completing.

A sustainable maintenance schedule keeps your computer running smoothly with minimal effort. Enable Storage Sense to manage temporary caches and Recycle Bin purges on a weekly or monthly basis.

Pair this automation with a manual review every three months to remove unneeded software, check your AppData directory, and inspect your drives with a visual disk analyzer. Following these routine checks ensures your PC remains fast, stable, and ready for future updates.

Frequently Asked Questions

How much free space should I keep on my SSD?

You should keep at least 15% to 20% of your solid-state drive empty at all times. Solid-state drives require this spare capacity to manage data distribution and perform background maintenance cycles. If your drive gets completely full, write speeds drop significantly, and the drive may suffer from reduced operating performance during heavy file transfers.

Is it safe to delete the Windows.old folder?

Yes, it is completely safe to delete the Windows.old folder if your computer is running properly after an update. This directory contains a backup of your previous operating system version for rollback purposes. Once you confirm your programs and files work correctly, remove it through Windows Storage settings to reclaim 15GB to 30GB of space.

Why is my C drive full when I don’t have many files?

Hidden system allocations, cached application data, and temporary update logs often fill your C drive without your knowledge. Background processes like virtual memory paging, hibernation files, and hidden user data in the AppData folder consume dozens of gigabytes over time. Use a visual disk tool to reveal these concealed files and delete unneeded system caches.

Will deleting temporary files delete my personal pictures or documents?

No, deleting temporary files will not erase your personal documents, pictures, or desktop files. Windows temporary directories only contain short-term operational data created by programs to complete specific tasks. However, always review your Downloads folder and Recycle Bin settings before running automated cleanups, as those specific folders can hold personal downloads.

Is it safe to turn off hibernation to save disk space?

Yes, turning off hibernation is safe if you do not use the hibernate power state on your computer. Running the command ‘powercfg -h off’ instantly deletes the ‘hiberfil.sys’ file and frees gigabytes of storage matching a portion of your RAM. Desktop users rarely need hibernation, though laptop users should note that disabling it prevents using hybrid sleep.

About the Author: Julio Caesar

5a2368a6d416b2df5e581510ff83c07050e138aa2758d3601e46e170b8cd0f25?s=72&d=mm&r=g
As the founder of Tech Review Advisor, Julio combines his extensive IT knowledge with a passion for teaching, creating how-to guides and comparisons that are both insightful and easy to follow. He believes that understanding technology should be empowering, not stressful. Living in Bali, he is constantly inspired by the island's rich artistic heritage and mindful way of life. When he's not writing, he explores the island's winding roads on his bike, discovering hidden beaches and waterfalls. This passion for exploration is something he brings to every tech guide he creates.