How to Fix The Problem of C Drive Filling Up Quickly?

The C drive is where the Windows operating system is predominantly installed by all computer manufacturers. As the OS drive, the C drive handles and stores a lot of system important files. However, you may sometimes find its storage space filling up unusually fast.

This issue can crop up due to a variety of reasons like malware, problematic drive, improper storage management, old user account folders, large temporary files, and so on. As the C drive must have free space for the smooth operation of your Windows OS, you need to make sure its storage space is properly managed.

Why is My C Drive Filling Up So Fast? How to Fix It

Scan for Malware

One of the main reasons why your C drive is getting filled up so fast may be due to malware infection. If your computer is infected with malware, it can possibly occupy large storage spaces or mess with your system and show low free space on your drive.

So, to check if a malware infection is behind the cause of your issue, you can try performing a full system scan from Windows Security.

1- Press Windows + I hotkey to open Settings.

2- Navigate to Privacy & security > Windows Security.

3- Click on Virus & threat protection.


settings-virus-and-threat-protection

4- In Virus & threat protection, click on Scan options.

5- Select Full scan and click on Scan now.


full-scan-scannow-1024x609

Manage Storage From Setting

The storage sense feature in Windows makes it quite easy to see what files are taking up space in your computer. You can then manage and delete unnecessary files from there to free up space in your drives.

1- Press Windows + I shortcut key to open Settings.

2- Navigate to System > Storage and click on Show more categories.


sytem-strorage-see-more-categories

You can then see all the different things that are taking up space in your computer.

3- If your Installed apps are taking up a lot of space, you can select Installed apps to uninstall unnecessary applications.


settings-installed-apps-1024x647

4- If your PicturesMusic or Videos are taking up a lot of space, you can relocate them to a separate drive.

5- If the Other section is taking up a lot of space in your drive, you can click on it to see the large folders that are occupying your drive space.


setting-storage-others

6- To delete your Temporary files, click on it and select the files you want to delete. (If you have a previous installation of Windows which you don’t need currently, you can also select it.)

7- Make sure to select Temporary filesThumbnailsTemporary Internet files, and Recycle bin. (For the remaining files, you can check their description to decide whether you want to delete them.)


remove-temporary-files

8- Click on Remove files to clear your temporary files.

Additionally, you can also enable storage sense to automatically clear some space when your disk space is low.

1- Open Settings and go to System > Storage.

2- Click on Storage Sense.


storage-sense

3- Toggle on Automatic User content cleanup.


automatic-user-content-cleanup

4- You can also configure cleanup schedules according to your liking or Run storage sense now.

Clear User Temporary Files

Temporary files, as their name suggests, are for temporarily storing data for various purposes. While they are small in size individually, they can accumulate and stack up to tens of gigabytes in size. Furthermore, some temporary files like the ones created by applications in user folders do not get automatically deleted.

So, clearing the temporary files in your system can relieve quite a bit of used disk space, especially if you haven’t done so in a while.

1- Press Windows + E to open File Explorer.

2- As the path to the temporary files is hidden, you’ll first need to enable show hidden folders.

3- Click on View in the menu bar and select Show.

4- Select Hidden items.


view-hidden-items

5- Now, navigate to C:\Users\USERNAME\AppData\Local\Temp. (Replace USERNAME with your account username.)


temporary-files

6- Press Ctrl + A to select all of them and hit the Del key to delete them.

7- If you need to provide admin access to delete the files, click on Do this for all current items and click on Continue.


folder-access-denied

8- If some of the files can’t be deleted because they’re open, select Do this for all current items and hit Skip.


folder-in-use

Additionally, every user account in your computer has separate application temporary files. You can use the above method to clear the temporary files of other user accounts.

Delete User Accounts Folder

If you had created multiple user accounts in the past and deleted them, you might expect all the data stored in those accounts to get deleted as well. However, the deleted user account’s data still gets stored in your C drive.

So, you should make sure to delete the user accounts folder as well to completely get rid of the old data.

1- Open File Explorer.

2- Navigate to C drive. Click on the Users folder.


user-accounts-folders

3- If you see any of your old deleted user accounts folders, click on it and hit the Del key.

4- Click on Continue to provide admin access to delete the user account folder.

Manage System Restore Points

System restore allows you to revert the state of your Windows PC to a previously saved state called system restore point. The saved system restore points occupy a set amount of space in your C drive, and if you let it run on automatic, the set amount of space can quickly get filled up.

1- Press Windows + R to open the Run Utility.

2- Type SystemPropertiesProtection and press Enter to open System Properties.

3- In the System Protection tab, select your C drive, and click on Configure.


systempropertiesprotection-configure

4- Click on Delete in the new window.


delete-system-restore-points

5- If you do not want your computer to automatically create a system restore point, also select the Disable system protection option.

6- Select Continue to confirm and click on Close.

Manage Pagefile

Another thing that takes quite a bit of storage space in your C drive is the pagefile. It is an area in your hard drive that is used as RAM and is created by default in the OS drive. The pagefile is more commonly known as virtual memory.

To conserve space in your C drive, you can altogether disable the pagefile if you don’t need to run RAM-intensive programs or move to another drive.

1- Launch Run dialog box using Windows + R hotkey.

2- Type systempropertiesadvanced and hit Enter.

3- Under Performance, click on the Settings option.


performance-settings

4- On the Advanced tab, and under Virtual memory, click on the Change option.


change-virtual-memory

5- Make sure the Automatically manage paging files size for all drives option is deselected.

6- Click on your C drive, select No paging file, and click on Set.


set-no-paging-file

7- Select Yes to confirm.

8- Now, you can either leave it so you don’t have a pagefile or set up the pagefile on another account.

9- Click on the drive to set up a pagefile.


set-pagefile-in-d-drive

10- Select the System managed size or the Custom size.

If you select the custom size, Initial size should be the recommended amount, and the Max size should be 1.5, 2, or 4 times your RAM size.

11- Click on Set and close all the dialogue boxes.

12- Restart your Computer.

Disable Hibernation

The Hibernation mode in Windows computers is a power-saving state, which doesn’t shut down the computer, but uses much less power than sleep. It saves the state of everything, including user sessions, running applications, user-mode and Kernel-mode drivers, and Windows kernel into hiberfil.sys in the C drive, so you can continue where you left off before hibernation.

However, the Hibernation mode rarely gets used most of the time, as users prefer putting their computer to sleep. If you also don’t use Hibernation mode, it is better to disable it to save the space it uses in your C drive.

1- Open the Run box using Windows + R shortcut key.

2- Type cmd and press Ctrl + Shift + Enter.

3- In Command Prompt, enter the following command: powercfg.exe /hibernate off


disable-hibernation

4- This should delete the Hiberfil.sys (The location where the RAM contents get stored) from the C drive.


hiberfil-file

Additionally, disabling Hibernation will also disable Fastboot as they use the same Hiberfil.sys file. However, you can also disable only Hibernation without disabling Fastboot.

Optimize C Drive Storage

Whenever you download or install any new content on your computer, they get stored in the C drive by default. For instance, the downloads folder is the default location in your C drive where all the things you download online are stored. 

If you regularly download online content, you can try changing your default download location to another drive, so your C drive doesn’t get cluttered.

1- Launch File Explorer.

2- Right-click on the Downloads folder in the left sidebar.

3- Select Properties.


downloads-properties

4- Go to Location and click on Move.


move-downloads-folder

5- Browse to a location of your choosing and click on Select Folder.

6- Click Apply and OK.

In addition to that, you can also choose to install all new applications or games to another drive instead of C. If you already have a lot of games in your C drive that you don’t want to uninstall, you can relocate them to another drive.

Lastly, make sure to be on the lookout for programs that create large data files. Software like Microsoft Outlook can store mails offline and create some pretty large data files. You can choose to relocate them.

Mohamed SAKHRI
Mohamed SAKHRI

I'm the creator and editor-in-chief of Tech To Geek. Through this little blog, I share with you my passion for technology. I specialize in various operating systems such as Windows, Linux, macOS, and Android, focusing on providing practical and valuable guides.

Articles: 1310

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *