How to disable the pagefile in Windows 10

What is the page file

The paging file (a.k.a page file, pagefile, swap file) is a file located in C:\pagefile.sys. The Windows OS stores files in RAM cause it is the fastest memory on a PC. When the RAM becomes full Windows moves a part of the data to paging file. The pagefile is also used to store the data of apps you are not using. 

Should I disable the pagefile?

It is a widely spread myth that disabling the pagefile improves performance. In fact it is able only to make idling apps open faster. But at the same time you can provoke different apps to crash or generate errors. So, it is not recommended to disable the paging file. You may reduce its size instead.

How to disable the paging file in Windows 10

1. Press Win+Break. The system window would open.

2. Click on Advanced system settings link.

win10-swap-file-disable002

3. Go to Advanced tab.

4. Press Settings button:

win10-swap-file-disable007

5. Go to Advanced tab.

6. Press Change:

win10-swap-file-disable008

7. Unset the checkbox Automatically manage paging file size for all drives if it is set.

8. Switch to No paging file.

9. Press Set.

10. Press YES.

win10-swap-file-disable009

11. Press OK 3 times in other windows.