How to Clear Virtual Memory Pagefile at Shutdown in Windows 10
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.
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.
Step 3: Select Enable option, then click on Apply to make this change take effect.
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.
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.
Step 3: Change its value date to 1. Then, click OK.
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Microsoft's latest PowerToys update introduces a game-changing search feature reminiscent of macOS' Spotlight. This improved "Command Palette" (formerly PowerToys Run) surpasses the functionality of the Windows R Run command and the task

KB5054979 is a cumulative security update released on March 27, 2025, for Windows 11 version 24H2. It targets .NET Framework versions 3.5 and 4.8.1, enhancing security and overall stability. Notably, the update addresses an issue with file and directory operations on UNC shares using System.IO APIs. Two installation methods are provided: one through Windows Settings by checking for updates under Windows Update, and the other via a manual download from the Microsoft Update Catalog.

Nanoleaf's Pegboard Desk Dock: A Stylish and Functional Desk Organizer Tired of the same old charging setup? Nanoleaf's new Pegboard Desk Dock offers a stylish and functional alternative. This multifunctional desk accessory boasts 32 full-color RGB

Dell's UltraSharp 4K Thunderbolt Hub Monitor (U2725QE): An LCD That Rivals OLED For years, I've coveted OLED monitors. However, Dell's new UltraSharp 4K Thunderbolt Hub Monitor (U2725QE) has changed my mind, exceeding expectations with its impressiv

Many free apps rival their paid counterparts in functionality. This list showcases excellent free Windows alternatives to popular paid software. I firmly believe in using free software unless a paid option offers a crucial, missing feature. These

Turn your Windows 11 PC into a Bluetooth speaker and enjoy your favorite music from your phone! This guide shows you how to easily connect your iPhone or Android device to your computer for audio playback. Step 1: Pair Your Bluetooth Device First, pa

The Alienware 27 4K QD-OLED (AW2725Q): A Stunning, High-Density Display The $899.99 price tag for a 27-inch monitor might seem steep, but the Alienware AW2725Q's exceptional pixel density delivers a transformative experience for both gaming and every

Windows 11's Start Menu Gets a Much-Needed Overhaul Microsoft's Windows 11 Start menu, initially criticized for its less-than-intuitive app access, is undergoing a significant redesign. Early testing reveals a vastly improved user experience. The up
