Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial Categories Network & Internet Tutorials File & Folder Settings Tutorials Taskbar & Start Menu Tutorials Performance & Maintenance Tutorials General Tips Tutorials Programs & Features Tutorials Context Menu Tutorials Shortcut Tutorials Security & System Tools Tutorials Parental Controls Tutorials User Account Tutorials Hardware & Drivers Tutorials Appearance & Personalization Tutorials Backup & Restore Tutorials Music, Photo, Video and Media Tutorials Power Management Tutorials

Virtual Memory Paging File - Clear at Shutdown

Update your Vista Drivers Update Your Drivers Now!!
Poll: Did this Tutorial help and work for you?
Poll Options
Did this Tutorial help and work for you?

Comment
 
Tutorial Tools Display Modes
<!-- google_ad_section_start -->Virtual Memory Paging File - Clear at Shutdown<!-- google_ad_section_end -->
Virtual Memory Paging File - Clear at Shutdown
How to Enable or Disable Clear Virtual Memory Paging File at Shutdown in Vista
Published by Brink
05-28-2008

How to Enable or Disable Clear Virtual Memory Paging File at Shutdown in Vista
Information
  This will show you how to enable or disable clearing the virtual memory pagefile when you restart or shutdown the computer. By default, this setting is disabled in Vista.
NOTE
 
WHY ENABLE:
Sensitive information may have been temporarily stored in the virtual memory pagefile. For this security reason and others, it may be a good idea to enable this setting to clear the virtual memory pagefile occasionally or when you suspect this. When this setting is enabled it will clear the virtual memory pagefile, and the hibernation file only on a portable computer, when you restart or shutdown the computer.

WHY DISABLE:

When this setting is enabled it can add around a minute or so to how long it takes your computer to shutdown and restart. How much time it will add depends on how much RAM you have installed and how big the Virtual Memory Paging File is set at. See: How to Change the Virtual Memory Paging File in Vista
Tip
 
RELATED LINKS:



METHOD ONE:
Through the Local Group Policy Editor
NOTE
  This method is only available for the Vista Business, Ultimate, and Enterprise editions. See Method Two below for the Vista Basic and Home Premium editions.
1. Open the Start Menu.
2. In the white line (Start Search) area, type gpedit.msc and press Enter.
3. Click Continue for the UAC prompt.
4. In the left pane, click on Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options. (See screenshot below)
5. In the right pane, right click on Shutdown: Clear virtual memory pagefile and click Properties.

Click the image to open in full size.

6. To Enable Clear Paging File at Shutdown -
A) Dot Enabled and click OK. (See screenshot below)
B) Go to step 8.
7. To Disable Clear Paging File at Shutdown -
A) Dot Disabled and click OK.
Name:  Properties.jpg
Views: 1252
Size:  47.8 KB

8. Close Local Group Policy Editor window. Your done.
9. If you enabled this setting, then restart or shutdown the computer to clear the Virtual Memory Paging File.



METHOD TWO:
Through the Registry
NOTE
  This will work for all Vista versions.
Through a Download:
1. To Disable Clear Paging File at Shutdown -
A) Click on the download button below to download the
Disable_Clear_Page_File.reg file.
B) Go to step 3.


2. To Enable Clear Paging File at Shutdown -
A) Click on the download button below to download the
Enable_Clear_Page_File.reg file.


3. Click on Save, and save the .reg file to the Desktop.
4. Right click the .reg (On Desktop) file and click Merge.
5. Click on the Run button for Security Warning pop-up.
6. Click on Continue (UAC), Yes, and then OK when prompted.
7. When done, you can delete the .reg file (On Desktop).
8. If you enabled this setting, then restart or shutdown the computer to clear the Virtual Memory Paging File.

The Manual Way:
1. Open the Start Menu.
2. In the white line (Start Search) area, type regedit and press Enter.
3. Click the Continue button for the UAC prompt.
4. In regedit, go to: (See screenshot below)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Click the image to open in full size.

5. To Enable Clear Paging File at Shutdown -
A) In the right pane, right click on ClearPageFileAtShutdown and click Modify. (See screenshot above)
B) Type 1 and click OK. (See screenshot below)
Name:  Modify_Enabled.jpg
Views: 1242
Size:  32.4 KB
C) The registry will now look like this. (See screenshot below)
Click the image to open in full size.
E) Go to step 7.
6. To Disable Clear Paging File at Shutdown -
A) In the right pane, right click on ClearPageFileAtShutdown and click Modify. (See screenshot above)
B) Type 0 (number zero)and click OK. (See screenshot below)
Name:  Modify_Disabled.jpg
Views: 1247
Size:  32.4 KB
C) The registry will now look like this. (See screenshot below step 4)
7. Close regedit.
8. If you enabled this setting, then restart or shutdown the computer to clear the Virtual Memory Paging File.
That's it,
Shawn

Published by
Brink's Avatar
Administrator
Join Date: Apr 2007
Location: Texas, USA
Posts: 16,485
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 06-19-2008  
Abiosis's Avatar
Abiosis
Wrath Soul


Join Date: May 2008
Windows Vista® Ultimate x64 SP1
Los Angeles
 
Rep Power: 4
Abiosis will become famous soon enough
  Abiosis is offline

Re: Virtual Memory Paging File - Clear at Shutdown

but how about I'm already turn off the (0) pagefile

or is it really related?

please advice,shawn

thanks

My System SpecsSystem Spec
Old 06-19-2008  
Brink's Avatar
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Virtual Memory Paging File - Clear at Shutdown

Abiosis,

No, this is not related to the Index at all. (From post: Index - Enable or Disable)

This tutorial here will only enable or disable Vista from clearing the Virtual Page Memory file automatically when you shutdown the computer. That's all.

Stopping and Disabling the Windows Search service will completely disable the Index.

Shawn
My System SpecsSystem Spec
Old 06-19-2008  
Abiosis's Avatar
Abiosis
Wrath Soul


Join Date: May 2008
Windows Vista® Ultimate x64 SP1
Los Angeles
 
Rep Power: 4
Abiosis will become famous soon enough
  Abiosis is offline

Re: Virtual Memory Paging File - Clear at Shutdown

really useful infos

thanks again,Shawn

Peace~
My System SpecsSystem Spec
Old 06-19-2008  
Brink's Avatar
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Virtual Memory Paging File - Clear at Shutdown

Your welcome Abiosis.

Shawn
My System SpecsSystem Spec
Comment

Tags
file, memory, page, paging, security & system tools, shutdown, virtual

Tutorial Tools
Display Modes


Update your Vista Drivers Update Your Drivers Now!!

Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Virtual Memory Paging File pngzhengli General Discussion 1 08-26-2008 10:35 AM
Virtual Memory Paging File - Change Brink Tutorials 19 08-01-2008 05:35 AM
System Paging File/Virtual Memory UnknownTBeast Vista General 3 06-08-2008 11:34 AM
Paging File - why do i need it? fieseler General Discussion 10 05-05-2008 04:15 PM
Does Virtual Memory(paging file not in system HD) or ReadyBoost have better performance? Elliot Vista General 3 05-14-2007 01:52 AM



Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008
Tutorial powered by GARS 2.1.8m ©2005-2006