logo
Windows 8 How to Clear Virtual Memory Page File on Windows 8/8.1 Computer

How to Clear Virtual Memory Page File on Windows 8 Computer

By Sophia | Last Updated

If you use the virtual memory in your computer for opening large programs, playing games or other purposes, you need to regularly clear the virtual memory page file on your PC. Otherwise, the computer speed will be badly affected. As for how to do it, this article will take clearing virtual memory page file on Windows 8/8.1 computer for example, and illustrate two ways and their operation processes as below.

Video Guide:

Way 1: Clear virtual memory page file in Local Group Policy Editor.

Step 1: Open Local Group Policy Editor.

Open Run dialog box with the composite key of WIN key+R, type gpedit.msc in the empty box and click OK to open the editor.

input gpedit.msc

Step 2: Find Shutdown: Clear virtual memory pagefile in the Editor.

More explicitly speaking, you can find it by following the process below:

Computer Configuration→Windows Settings→Security Settings→Local Policies→Security Options→Shutdown: Clear virtual memory pagefile

locate shutdown clear virtual memory pagefile

Step 3: Enter the properties of Shutdown: Clear virtual memory pagefile.

Right-click the option and choose Properties in the context menu.

select properties

Step 4: Enable the option.

Select Enabled in Local Security Setting and tap OK.

choose enabled

Way 2: Clear virtual memory page file in Registry Editor.

Step 1: Enable Registry Editor.

Open Run window, input regedit in the empty box and tap OK to enable it.

run regedit

Step 2: Allow Registry Editor to make changes to the computer.

When the User Account Control window turns up, select Yes to allow the editor to make changes to this computer.

select Yes

Step 3: Locate ClearPageFileAtShutdown in the editor.

You can find it according to the following process.

HKEY_LOCAL_MACHING→SYSTEM→CurrentControlSet→Control→Session Manager→Memory Management→ClearPageFileAtShutdown

find clearpagefileatshutdown

Step 4: Set the DWORD value as 1.

Double click ClearPageFileAtShutdown. Then, as the window of Edit DWORD (32-bit) Value appears, change the value data as 1 and click OK to complete the setting.

set dword value as 1

Step 5: Restart the computer.

On the desktop, use the composite key of Alt+F4 to open Shut Down Windows, select Restart in it and tap OK to reboot the computer. After restarting, the setting takes effect and the virtual memory is cleared without problem.

restart the computer

Right now, you can go to clear virtual memory page file on your Windows 8 PC by following the above methods without any delay.

Related Articles: