MSTechpages
  • Home
  • Knowledge Base
  • Reviews
  • Articles
  • About
Windows 7

Clear Pagefile at Shutdown

Apr 25, 2011·Dustin

There are times when Windows will store a password in plain text or other information on your PC in it’s paging file. Here is how to clear the paging file when you shutdown your PC. Note: It does increase your shutdown time a small bit.

1. Start Regedit. Start > type regedit and press enter.

2. Navigate to HKLMSystemCurrentControlSetControlSession ManagerMemory Management.

pic1

3. In the right pane, right click ClearPageFileAtShutdown and select Modify. Change the Value data to 1 and click OK.

pic2

When you shut down your PC, the page file will now be deleted giving you an extra little bit of security.

Related Products on Amazon
USB to SATA AdapterShop on Amazon
DDR3 RAMShop on Amazon
External HDDShop on Amazon
USB Flash DriveShop on Amazon

MSTechPages is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. As an Amazon Associate, we earn from qualifying purchases at no extra cost to you.

Dustin

Dustin is the founder and head editor of MSTechpages. He started the site to help other users of Windows. He has been very active with helping others throughout the years, from USENET to Microsoft Answers to the latest Microsoft Communities as well as other internet forums such as Reddit. He is a Sr. System Administrator, holds several industry certifications and degrees.

Related Articles

Windows 11

Add “End Task” To Right Click Application on Taskbar

Sep 16, 2025·Dustin
Windows 10

Offline install of .Net Framework 3.5 using DISM

Apr 1, 2020·Dustin
Windows 10

Disable Autohide Scrollbars

Jul 8, 2019·Dustin

Windows Insider Builds

Canary
29553.1
Dev
26300.8085
Beta
26220.8079
Release Preview
26100.8106
Recent Knowledge Base Articles
  • Add “End Task” To Right Click Application on Taskbar
  • Offline install of .Net Framework 3.5 using DISM
  • Disable Autohide Scrollbars
  • Install Active Directory RSAT in Windows 10 1809 or later
  • Disable File Grouping in File Explorer
  • Forget Wireless Networks
  • Show Hidden Files & Folders
  • Enable Night Light Mode
  • How to Fix a Network Printer Showing Offline
  • Open a Command Prompt/Powershell Prompt at Folder Location
MSTechpages

Your source for Windows news, tutorials, and Insider builds.

Windows

  • Windows 11
  • Windows Insider
  • Canary Channel
  • Cumulative Updates

Resources

  • Knowledge Base
  • Articles
  • Reviews

Company

  • About
  • Contact
  • Privacy Policy
  • Advertise

© 2026 MSTechpages. All rights reserved.

Privacy