What is swapfile.sys and what can it do with it enabled?
If you dont know, then you are in the right place.
Not only can this post fromMiniToolanswer these two questions, but also tell you how to disable swapfile.sys.

What Is Swapfile.sys?
There is a new virtual memory file called swapfile.sys on Windows 10/8, which is similar topagefile.sys.
It is located in theC:\ drive.

Swapfile.sys takes advantage of space on your hard disk when yourRAMis filled up.
Then you may be wondering why do I need a swap file when I already have a page file?
What Does Swapfile.sys Do When It Is Enabled?

Swapfile.sys works in conjunction with pagefile.sys to help free up RAM.
What Happens When Swapfile.sys Is Disabled?
At this point, you may see a crash.
![]()
How Do I Disable Swapfile.sys?
But if you do want to disable swapfile.sys, then how to do?
it’s possible for you to disable it in Control Panel.

And you will also disable pagefile.sys using this method.
Here is a quick guide:
Step 1: key in control panelin theSearchbar and then clickControl Panel.
Step 2: SetView by: Small iconsand then clickSystem.
Step 3: ClickAdvanced system settingsin the left panel.
In the new window, go to theAdvancedtab and then clickSettings…in thePerformancesection.
Step 4: Go to theAdvancedtab in thePerformance Optionswindow, and then clickChange….
Step 6: power cycle your box and then both swapfile.sys and pagefile.sys will disappear.
How to Disable Swapfile.sys Without Disabling Pagefile.sys?
Do you know how to back up individual Registry keys Windows 10?
Now, this post will show you a step-by-step guidance to do this job.
Step 2: Navigate to the following path:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management.
Step 4: reset your machine and it’s possible for you to find that only swapfile.sys disappears.