Have you ever noticed that there is a file named pagefile.sys?
It is located in the C:\ drive.
And do you know what pagefile.sys is used for in Windows?

If you dont know, then this post offered by MiniTool Software is what you need.
You may notice that there are a lot of files that ended with .sys, such asHiberfil.sys.
And this post focuses on pagefile.sys.

Introduction to Pagefile.sys
To begin with, what is pagefile.sys?
you might only see the file unless you set show hidden items in Windows Explorer.
Then your machine uses the copies in RAM instead of repeatedly reading the same files from your hard drive.

This file is a form of virtual memory.
So what is pagefile.sys used for in Windows?
It is the file where Windows keeps track of how your system juggles a lot of demands for memory.
Can You Delete Pagefile.sys?
You may ask yourself: can I delete pagefile.sys?
The answer is yes, but it is better to have a page file than have no one.
And you should know that deleting the page file may result in some bad things.
Some programs may even refuse to run.
Whats more, you cant just delete the pagefile.sys file because it is being used by Windows.
So how to delete the pagefile.sys file?
The answer is to set your Virtual memory to zero.
Step 1: OpenWindows File Explorerand then right-clickThis PCto chooseProperties.
Step 2: ClickAdvanced system settingsand then go to theAdvancedtab.
Step 3: ClickSettings…under thePerformancesection and then go to theAdvancedtab.
Step 4: ClickChange…under theVirtual memorysection.
Then uncheck the box next toAutomatically manage paging file size for all drives.
Step 5: ClickSetandOKto save changes, then reboot your box to take effect.
Bottom Line
All in all, this post gives you a brief introduction to the pagefile.sys file.
In addition, it is not recommended to delete the file.
And you should leave theVirtual memory tweaks, and pagefile.sys the way they are.