Professional Documents
Culture Documents
Advertisement
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
1 of 11 8/17/2018, 2:56 PM
Recent Posts
Add Your Comment Using iCACLS to List Folder Permissions
and Manage Files
Submit Comment
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
2 of 11 8/17/2018, 2:56 PM
Can You Delete Swapfile.sys?
In case some Modern-application is not used, it will be suspended and moved to swapfile.sys, in order to not
to take up too much space in RAM and retrieve when Metro-style app is resumed by the user. There is no
much of official information about swapfile.sys, but if we will take a look on the comments of Microsoft
employees, a separate page file was required due to the specific architecture of universal applications. And
two separate paging files simplify the job for application developers.
Ads by Google
With similar objectives the pagefile and swapfile file in Windows 10, however, is different from each other by
minimum requirements for disk space, a read/write processes, the ability to dynamically expand etc.
Many people wonder whether it is possible and how to delete swapfile.sys? Generally, you can do this, but it is
not recommended, especially because of its control mechanisms are closely related to the main page file. And
the meaning of its removal is almost there, even on small SSD-drives volume. Swapfile.sys maximum size is
typically less than 256 MB, so there is almost nothing to save in case it will be removed.
Swapfile.sys file is controlled by Windows only together with pagefile.sys. If you disable the paging file for the
volume, you will disable swapfile.sys too.
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
3 of 11 8/17/2018, 2:56 PM
Note. You can disable swapfile.sys, but it is strongly not recommended and if you have any issues with the
system performance after that, it is necessary to revert the changes.
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
4 of 11 8/17/2018, 2:56 PM
2. Select System -> Advanced system settings
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
5 of 11 8/17/2018, 2:56 PM
4. Switch to the Advanced tab and press Change
5. Uncheck the checkbox Automatically manage paging file size for all drives
6. Select drive you want to remove swapfile.sys and pagingfile.sys and choose No Paging File
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
6 of 11 8/17/2018, 2:56 PM
7. Press Set and OK to save changes;
8. Reboot your Windows.
After the system boot, files Pagefile.sys and Swapfile.sys are removed from the root of the system drive.
During the work on this article, we found another great way to delete swapfile.sys while preserving
Pagefile.sys. To do this:
Run Regedit.exe;
Go to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management;
Create a new DWORD 32-bit value with the name SwapfileControl and set it to 0;
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
7 of 11 8/17/2018, 2:56 PM
Reboot your PC and check if the file swapfile.sys was deleted and pagefile.sys still exist.
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
8 of 11 8/17/2018, 2:56 PM
1. Disable paging file as described above
2. Run this Administrators privileges mklink c:\\swapfile.sys k:\\swapfile.sys – where K: – the drive letter
on which you want to move the file
3. Enable paging
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
9 of 11 8/17/2018, 2:56 PM
You may also like:
Sysprep Windows 10 Machine: Step by Step Guide
In this article we will show you how to use PowerShell and Windows System Preparation Tool to prepare a highly customized,
personal Windows 10 install...
Ads by Google
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
10 of 11 8/17/2018, 2:56 PM
..
This site uses cookies to analyze traffic, personalize your experience and serve ads. By continuing browsing this site, we will assume that you are agree with it.
11 of 11 8/17/2018, 2:56 PM