Tip & How-To about Microsoft Windows Vista Home Premium with Service Pack 1: Windows

Clear Windows Paging File At Shutdown

You may not consider clearing the windows paging file as a necessary part of your security housekeeping. Ok it can add quite a few seconds to your final shutdown time, but it doesn't need to be done on a regular basis and you can always disable the option as and when you want.
But why clear the paging file you may ask. Well the simple answer is security. It is not unknown for a third party software application to temporarily store unencrypted information such as passwords or other sensitive material in memory. Obviously the way Windows uses virtual memory it is possible for this information to end up in the paging file.
There are two ways of clearing the paging file. On involves Group Policy and the other the Windows registry. If Group Policy is not available on your version of Vista then proceed to Method Two.
Method One
1/ Click Start button and in the Search dialogue box type:
gpedit.msc.
2/ When in group policy window proceed as follows:
3/ Click the > button next to Computer Configuration. This will expand the menu
4/ Click the > next to the Windows settings option. Again the menu will expand
5/ Next click the > next to Security settings. The menu will expand again
6/ Now click the > next to Local Policies. The menu will expand again
7/ Now click on the Security Options
8/ The right hand pane of group policies will fill with options
9/ Scroll down to 'Shutdowns; Clear virtual memory page file'
10/ Now right click on this option and, from the menu that appears select Properties
11/ In properties click on the radio button marked 'Enabled'
12/ Now click OK
13/ Finally close group policies
Method Two: The second method can be followed using registry settings as

1/ Click Start button, followed by All Programs, Accessories and then Click the Run option.
2/ In the Run dialog box type: Regedit
3/ User Account Control (UAC) will ask permission to open Regedit. If you are the administrator, then Click the Continue button. If you are not the administrator, then you will need to ask the administrator for the administrator credentials
4/In the Registry Editor Window navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management.
5/ In the list that appears on the right of the Registry window look for the Value Name: ClearPageFileAtShutdown
6/ If the Value does not exist Right Click on the Memory Managment key and, from the drop down menu select New
7/ When you click New another drop down menu will appear. Click DWORD Value
8/ You should now see a box with the words New Value#1.
9/ Right click on this box and select Rename
10/ In the rename box Type: ClearPageFileAtShutdown
11/ After you have renamed the value, right click on it again and select Modify
12/ Change the Value to 1
13/ The registry entry should now look like this: ClearPageFileAtShutdown REG_WORD 0x00000001 (1)
14/ The changes will not come into effect until you have restarted your computer
15/ To disable the feature just reset the Value to 0

Posted by on

Microsoft Windows Vista Home Premium with Service Pack 1: Windows Logo

Related Topics:

Related Questions:

2 Answers

Dear Sir/Madam, Having installed XP 5 years ago. I founded some of problem previously, such that, perform reinstall XP, meanwhile, I can't get back my data when reinstallation. And, I tried to change the original hard to second disk to get back my data, but all fail. Always showing "Access Denied". I remember that set file type to private once first install. At now, how can I do ? Could you help me ? Thousand Thx. Thank you advanc in your help Calvin


Hi,
Please, try the following depending on the XP version you have:

For Windows XP Professional Edition, disable Simple file sharing:

Click Start, and then click My Computer. On the Tools menu, click Folder Options, and then click the View tab. In the Advanced Settings section, clear the Use simple file sharing (Recommended) check box. Click OK. Then, follow these steps:

  • Right-click the folder in question, and choose Properties.
  • Click the Security tab.
  • Click Add, and type in Administrators, click OK.
  • Select Administrators group that you've added now.
  • Put a checkmark near Full Control (Allow) in Permissions box.
  • Click OK.

For Windows XP Home Edition, you need to start Windows in Safe Mode in order to see the Security tab. Remaining steps are the same.

Once you add Administrators group and give them Full Control for the folder, theMake this Folder Private option is automatically disabled. Level 1 permissions are no longer in action.


Good luck!



Mar 21, 2011 | Microsoft Computers & Internet

1 Answer

I've run malware programs, scanned with my antivirus, defragged, made registry repairs, checked my internet connection speed, and everything shows fine. However, all 3 browsers, IE8, Firefox and Chrome are slow and often require "refreshing" the page to get to a website. What can I do next to speed up my browsers? Running Windows XP. Using only 50% of my 140g hard drive. Have 1024 mb ram.


you need to use one or maximum two browser. and
  1. Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
  2. In the left pane, expand My Computer, and then click the drive that contains the paging file. Typically, this is the system drive unless you specified otherwise during Windows Setup.

    NOTE: The paging file (the Pagefile.sys file) is a hidden operating system file. To view these files:
  3. On the Tools menu, click Folder Options.
  4. Click the View tab.
  5. Click to clear the Hide protected operating system files (Recommended) check box. (Note that you may want to select this check box again when you finish this procedure to help protect the system files.)
  6. Click Yes when you are prompted to verify the change, and then click OK.
  7. On the File menu, click Properties. Click the Security tab to view the current permissions.
  8. Click Add, click System, and then click Add.
  9. Click Administrators, click Add, and then click OK. Note that you must click Administrators, not Administrator.
  10. Click System, and then click to select the Full Control check box. This automatically selects the other check boxes.
  11. Click Administrators, and then click to select the Full Control check box. This automatically selects the other check boxes.
  12. Click OK.
  13. Click Start, point to Settings, click Control Panel, and then double-click System.
  14. On the Advanced tab, click Performance Options.
  15. In the Virtual Memory section, note the Total paging file size for all drives value, and then click Change.
  16. Click the drive that contains the paging file. The System and Administrator accounts now have Full Control permissions on this drive so that you can make changes.
  17. In the Initial Size and Maximum Size boxes, type the size for the paging file, and then click Set. For additional information about the proper size for paging files, click the following article number to view the article in the Microsoft Knowledge Base: 197379 (http://support.microsoft.com/kb/197379/ ) Configuring page files for optimization and recovery in Windows Server 2003, in Windows 2000, and in Windows NT
  18. Make sure that the Maximum Registry Size value is at least two times the size of the current registry size.
  19. Click OK.
  20. Quit any running programs, and then restart the computer

Mar 30, 2010 | Linare Desktop, AMD Sempron 2200,40 GB HDD...

1 Answer

everytime i click "stumble!' it says there arent any sites available, and to add more topics. i already have 94 topics im interested in and have only stumble upon for a few days barley visited any sites what do i do?


Hi friend,


You need to clear you cookies and temp files then try ..it will work..



Internet Explorer 6:
> Tools > Internet Options
> Delete Cookies > OK
> Delete Files > OK
> Clear History > Yes
> OK

Internet Explorer 7:
> Tools > Internet Options > Delete...
> Delete files > Yes
> Delete cookies > OK
> Delete history > OK
> Close (browsing history window)
> OK

Dec 30, 2009 | StumbleUpon Social Network

2 Answers

my my internet pages and tabs wont close


Some computers can be slow or short of hard drive space for quite simple reasons.
Windows and other program hide temporary files in lots of different places
The best option is not always a program or utility and if you want to do as much as you can for FREE like I do then you have a few options.
 
1. First you need to be in windows explorer.
 
2. Click TOOLS and FOLDER OPTIONS
 
3. Now click the VIEW tab
 
4. Tick the Show Hidden Files And Folders option
Unpick Hide Protected Operating System Files (it may warn you but you can ignore it)
 
5. Click APPLY then OK
 
6. NOTE some files may not delete this is OK Also DO NOT DELETE the folder itself where mentioned for cleaning.
 
7. Using windows explorer go into the WINDOWS folder and look for a directory called TEMP (it is possible there may be more than one)
 
8. Select all the contents and delete them. Do the same for any other temp folder e.g. temp000
 
9. Now navigate to Documents and Settings
There are quite a few folders in here that can be cleaned up
 
10. Look for folders named "Local Settings" In there you will find more TEMP folders that can be cleaned out
 
11. Now look inside the Temporary Internet Files. Delete anything EXCEPT cookies. Otherwise passwords for some sites you have stored may need you to type the password again.
 
12. Do this for each user / profile you see.
 
13. Now check the C: drive itself and see if there are any Temp folders and clean those out too
 
To prevent accidental deletion of any files windows needs you should go back to step (4) and change the two settings back to their original

Bob
Moderator

It would be polite and decent of you to consider the quality of our experts answers and judge them accordingly.
Thank you.

Nov 23, 2009 | Gateway Computers & Internet

Not finding what you are looking for?

536 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2716 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18390 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...