How to delete a pagefile.sys or resize it

Blog

HomeHome / Blog / How to delete a pagefile.sys or resize it

Apr 25, 2024

How to delete a pagefile.sys or resize it

Learning how to delete a pagefile.sys can be a handy trick if files are taking up a serious amount of space Learning how to delete a pagefile.sys can be a seriously handy trick for users, especially

Learning how to delete a pagefile.sys can be a handy trick if files are taking up a serious amount of space

Learning how to delete a pagefile.sys can be a seriously handy trick for users, especially considering your PCs performance can be adversely affected by huge files that reside in your hard drive’s storage.

Pagefile.sys is responsible for the storage of data needed by the PC, but can’t be handled by the machine’s random access memory (RAM), usually because it has hit or is nearing capacity.

Windows 11 tips and tricks for IT professionals 17 common Windows 10 problems and how to fix them Most common Windows 11 problems and how to fix them

Otherwise known as ‘virtual memory’, a huge pagefile.sys can indicate that it might be time to upgrade the system’s RAM and that virtual memory is being relied on too heavily.

Virtual memory is only used when RAM reaches its limits and only the least-used data that are typically held in RAM is sent there, usually. Regardless of whether your pagefile.sys file is located on an HDD or solid state drive (SSD), it’s a good idea to keep some disk space available in case virtual memory is required to keep everything running.

Pagefile.sys can become bloated quickly, resulting in performance slowing. If you’re coming across the file for the first time and are not experiencing any performance issues, then the file itself can often be shrunk, freeing up space for other storage needs.

Luckily, deleting a pagefile.sys is a fairly straightforward process that can be done in a matter of minutes.

This guide will run you through the three easy steps to achieve this, and breathe fresh air into your struggling device.

Because pagefile.sys plays such an important role in the smooth running of Windows, by default it’s hidden to the user to prevent accidental deletion. This means that finding the file requires a little more effort than simply launching Windows Explorer and searching for it in the text field.

Here's how it's done:

At the bottom of the next window, you should see a Virtual memory section, complete with the amount of virtual memory that your operating system (OS) has allocated for your pagefile.sys file.

To make any fixes, select the Change button, and then take a look at the options in the next window.

To remove your pagefile.sys altogether, just make sure the no paging file box is ticked. Accept the changes and this will free up disk space.

You may find that you need virtual memory, but you can stop things from getting out of hand.

To reduce the amount of space your PC will allocate for virtual memory, just deselect Automatically manage paging file size of each drive and, instead, select the custom size option.

After that, you’ll be able to input just how much of your HDD will be reserved for virtual memory.

Stay up to date with the latest Channel industry news and analysis with our twice-weekly newsletter

Connor Jones is the News and Analysis Editor at ITPro, CloudPro, and ChannelPro. He oversees the three publications’ news strategies and reports breaking news on the topics of cyber security, software, and Big Tech firms. He has a master’s degree in Magazine Journalism from the University of Sheffield, and has previously written for the likes of Red Bull Esports and UNILAD tech during his career that started in 2015.

Everything you need to know about Windows 12 including features, pricing, and release date

Overcoming Windows 11's 'BitLocker ransom' issue

NCSC, SBU reveal overt Russian cyber campaign as cyber war continues to evolve

By Keith JacksonAugust 23, 2023

By Fleur DoidgeAugust 22, 2023

By John LoeppkyAugust 20, 2023

By Connor JonesAugust 18, 2023

By Rory BathgateAugust 18, 2023

By Kate O'FlahertyAugust 18, 2023

By David HowellAugust 17, 2023

By Rory BathgateAugust 16, 2023

By Ben JonesAugust 16, 2023

By David HowellAugust 16, 2023

By Rene MillmanAugust 15, 2023

Posted

Posted

Posted

Posted

Stay up to date with the latest Channel industry news and analysis with our twice-weekly newsletter

Thank you for signing up to Channel Pro. You will receive a verification email shortly.

There was a problem. Please refresh the page and try again.