Into Windows

  • Home
  • Windows 11
  • Windows 10
  • Windows 7
  • Privacy
You are here: Home » Windows 10 » How To Delete Pagefile.sys In Windows 10

How To Delete Pagefile.sys In Windows 10

Last Updated on November 7, 2019 by admin 1 Comment

PC users often ask what’s the purpose of the huge pagefile.sys file located at the root of the Windows installation drive and if it’s possible to delete it.

To start with, page files work as a physical extension of RAM. Windows 10 moves infrequently or least used memory pages from the physical RAM to page files or pagefile.sys when the physical RAM usage is very high. Pagefile .sys has another important role. It records information about the Windows status during a crash.

Can I delete the pagefile.sys file?

On computers that have large RAM, Windows 10 might not use the page file as the large physical RAM might be large enough for all operations. If you have large RAM (16 GB+) on your PC and you are sure that programs won’t take up all the physical RAM, you can consider deleting the pagefile.sys file. In short, the more RAM you have, the less you need pagefile.sys.

What happens if I delete the pagefile.sys?

Well, you won’t see any difference as long as the physical RAM usage is within limits. If and when your physical RAM usage reaches 100%, applications might crash or hang, and you might lose unsaved work. At times, even the Windows operating system might hang as well. So, it’s best not to touch the pagefile.sys file.

As pagefile.sys is a system file, it doesn’t show up with default settings. Open the File Explorer, click the File menu and then click Options/Change folder and search options to open the Folder Options dialog. Here, deselect Hide protected operating system files option. Select Show hidden, files, folders, or drives option. Click the Apply button.

delete pagefile.sys in Windows 10 pic01

Like other system files, you cannot delete the pagefile.sys file directly from Windows Explorer. You need to disable the page file feature to delete the pagefile.sys file. That is, disabling the page file feature will automatically delete the pagefile.sys file.

IMPORTANT: Disabling the pagefile or deleting the pagefile.sys file might adversely affect the overall performance of the Windows 10 operating system. If you find that the Windows 10 is not working properly after disabling and deleting the pagefile, please turn on the pagefile again.

Remove pagefile.sys in Windows 10

Complete the given below directions to disable and delete the pagefile.sys in Windows 10.

Step 1: Type Sysdm.cpl in the Start/taskbar search field and then hit the Enter key to open the System Properties dialog.

Step 2: Switch to the Advanced tab by clicking on the same. In the Performance section, click the Settings button. Clicking on the Settings button will open the Performance Options dialog.

delete pagefile.sys in Windows 10 pic1

Step 3: Here, switch to the Advanced tab. In the Virtual memory section, you can see the size of the paging file. Click on the Change button to open the Virtual Memory dialog.

delete pagefile.sys in Windows 10 pic2

Step 4: To disable and delete the pagefile, uncheck the Automatically manage paging file size for all drives option. Next, select No paging file radio button. Click the Set button. Click the Yes button when you get the warning dialog. Finally, click the Apply button.

delete pagefile.sys in Windows 10 pic3

delete pagefile.sys in Windows 10 pic4

When you are asked to reboot, restart your computer once to delete the pagefile.sys file. Be sure to restart the PC even if you are not asked to do so.

To enable the pagefile.sys file

Step 1: Follow the directions mentioned in Step 1, 2, 3, and 4 of the method above to open the Virtual Memory dialog.

Step 2: Select Automatically manage paging file size for all drives option. Click the Apply button to enable the paging file. When asked, reboot your computer once to generate the pagefile.sys file.

How to delete the hiberfil.sys file in Windows 10 guide might also interest you.

Filed Under: Windows 10 Tagged: Tips

Related Posts

  • How To Delete Hiberfil.sys (Hibernation) File In Windows 10
  • Delete Pages From PDF File In Windows 10/11 For Free
  • How To Delete Windows.old Folder In Windows 8
  • Delete Temporary Windows Installation Files In Windows 10
  • How To Safely Delete Windows.old Folder In Windows 7
  • Automatically Delete Previous Windows Installation Files In Windows 10

Comments

  1. Pim Arbeek says

    March 2, 2023 at 10:18 pm

    When I want to delete my Pagefile.sys it won’t delete because it says that is in use somewhere on my pc, but I’m not able te end the process of the file on my computer anywhere

Leave a Reply

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

Advertisements

Search Into Windows

Recent posts

  • 5 Ways To Go To Desktop In Windows 11
  • How To Show Battery Percentage On Taskbar In Windows 11
  • Fix: AMD Software Adrenalin Edition Not Opening In Windows 11
  • How To Show Year On Windows 11 Taskbar
  • Windows 11 24H2 Is Available Now
  • How To Create 7z & TAR Files In Windows 11 Without Using Additional Apps
  • How To Remove Bell Icon From Taskbar In Windows 11
  • How To Reinstall Windows 11 Without Losing Apps And Files
  • How To Hide/Show Files & Icons On Desktop In Windows 10/11
  • How To Show Hidden Icons On Taskbar In Windows 11

About us

  • About Us
  • Contact Us
  • Privacy Policy

Copyright © 2025 · Into Windows