A lot of you want to disable, delete the Swapfile.sys file hidden in the C drive partition, take up some space on the hard disk but do not know how. Taimienphi will guide you how to disable, delete Swapfile.sys file with the detailed steps in the article below.
First of all, to disable, delete the file swapfile.sys, need to understand what swapfile.sys is and how this file works. Swapfile.sys is a file on your hard drive that contains data from the Windows Store Apps software. When applications installed from the Windows Store run on RAM, if the computer crashes or data is leaked, The system will automatically transfer the data of these applications from RAM into the file in Swapfile.sys, thereby freeing RAM, and from there, the system will work smoother, due to the RAM being freed. This is the same for pagefile.sys and hiberfil.sys
If disabled, delete the Swap.sys file, the system will not find the partition on the hard drive to transfer data, thereby causing RAM overflow and maybe some applications will not work. Therefore, you should consider carefully before doing these operations.
Disable, delete the Swapfile.sys file
Step 1: Right-click on the button Start, choose Control Panel or press the key combination Windows + X, then press the key P
Step 2: In Control Panel Find the item System
Step 3: In the section System choose Advance system setting
Step 4: Select the tab Advance, in section Performance choose Setting
Step 5: In Performance Options select tab Advanced, in section Virtual memory press Change
Step 6: Uncheck the box Automatically manage paging file size for all drives
Then select the item No paging file, press Set.
Step 7: Disabled confirmation window, click Yes To confirm.
Step 8: Click OK, got it To finish, restart the computer. File Swapfile.sys and Pagefile.sys are successfully disabled. To reopen, you do the operation as above and tick the box again as instructed
Disable the Swapfile.sys file without disabling pagefile.sys
If you follow the instructions above, you will disable the swapfile.sys file and the pagefile.sys file. However, if you only want to disable the swapfile.sys file, do the following:
Step 1: Press the key combination Windows + R to open the window Run, input regedit, then press OK, got it.
Step 2: Find the key with the link: HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control Session Manager Memory Management
Step 3: Right-click in the right pane, select new, choose DWORD (32 bit) Value
Step 4: Name the new key SwapfileControl then press Enter
Step 5: Restart the computer, file swapfile.sys will be disabled. If you want to turn the file back on swapfile.sys, follow the steps above and delete the key you just created.
Above are some methods to delete swapfile.sys file fastest. This file only takes up a small amount of space on the hard drive, does not affect the system, so you should consider before doing.
Computer RAM is one of the important parts, if necessary you should also upgrade Ram to run the system better, more stable, upgrading RAM also requires you to know the information about the machine configuration. so as not to waste on buying RAM that cannot be installed as well as computers that do not recognize
You should also pay attention to system cleaning to operate faster and more stable by using software such as CCleaner … CCleaner software in addition to supporting hard drive cleaning also supports removing software. Not needed on computer