How to Clear Virtual Memory Pagefile at Shutdown in Windows 10

WBOY
Release: 2024-08-02 01:06:44
Original
703 people have browsed it

This article describes 2 methods to clear the Windows paging file during the shutdown process, this will prevent file pages from storing unsecured data when the shutdown process is complete.

Note: If you enable this feature, shutdown and restart will take a bit longer to finish.

Method 1: Enable clear virtual memory pagefile

Step 1: Open Local Security Policy.

Press Win+R keys to open the Run dialog, type secpol.msc in the field and click OK.

How to Clear Virtual Memory Pagefile at Shutdown in Windows 10

Step 2: Click to expand open Local Policies and Security Options in the left pane of Local Security Policy. In the right pane, click on Shutdown: Clear virtual memory pagefile policy to open its properties.

How to Clear Virtual Memory Pagefile at Shutdown in Windows 10

Step 3: Select Enable option, then click on Apply to make this change take effect.

How to Clear Virtual Memory Pagefile at Shutdown in Windows 10

Method 2: Enable clear Windows pagefile in Registry Editor

Step 1: Open Registry Editor.

Type Regedt32.exe into the Search box and then hit Enter key.

How to Clear Virtual Memory Pagefile at Shutdown in Windows 10

Step 2: In the left side of Registry Editor, navigate to the following path:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management

In the right pane, click on ClearPageFileAtShutdown to modify its value.

How to Clear Virtual Memory Pagefile at Shutdown in Windows 10

Step 3: Change its value date to 1. Then, click OK.

How to Clear Virtual Memory Pagefile at Shutdown in Windows 10

When done, close Registry Editor.

The above is the detailed content of How to Clear Virtual Memory Pagefile at Shutdown in Windows 10. For more information, please follow other related articles on the PHP Chinese website!

source:isumsoft.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template