Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Page File Encryption - Enable or Disable



Page File Encryption - Enable or Disable

How to Enable or Disable Page File Encryption in Vista and Windows 7
Published by Brink
10 Feb 2011
Published by

How to Enable or Disable Page File Encryption in Vista and Windows 7

information   Information
This will show you how to enable or disable encrypting the virtual memory page file in Vista and Windows 7.

Encrypting the page file prevents malicious users from reading data that has been paged to a NTFS disk, but will also add processing overhead for file system operations.

You must be logged in as an administrator to be able to do this tutorial.






OPTION ONE
Using a REG File Download
1. To Enable Page File Encryption
A) Click on the Download button below to download the file below.
Enable_Page_File_Encryption.reg
download
B) Go to step 3.
2. To Disable Page File Encryption
NOTE: This is the default setting.
A) Click on the Download button below to download the file below.
Disable_Page_File_Encryption.reg
download
3. Click on Save, and save the .reg file to the desktop.

4. Right click on the downloaded .reg file and click on Merge.

5. Click on Run, Continue (UAC-Vista) or Yes (UAC-Windows 7), Yes, and OK when prompted.

6. Restart the computer to apply.

7. When done, you can delete the downloaded .reg file if you like.






OPTION TWO
Through the Local Group Policy Editor

NOTE: This option is only available in Windows 7, and is not in Vista.
1. Open the Local Group Policy Editor.
2. In the left pane, click on to expand Computer Configuration, Administrative Templates, System, Filesytem, and NTFS. (see screenshot below)
Page File Encryption - Enable or Disable-gpedit-1.jpg
3. In the right pane, right click on Enable NTFS pagefile encryption and click on Edit. (see screenshot above)

4. To Disable Page File Encryption
NOTE: This is the default setting.
A) Select (dot) either Not Configured or Disabled. (see screenshot below step 6)
B) Go to step 6.
5. To Enable Page File Encryption
A) Select (dot) Enabled. (see screenshot below step 6)
6. Click on OK. (see screenshot below)
Name:  GPEDIT-2.jpg
Views: 2754
Size:  73.5 KB
7. Close the Local Group Policy Editor window.

8. Restart the computer to apply.




OPTION THREE
Using a Elevated Command Prompt
1. Open a elevated command prompt (Run as administrator).

2. To Enable Page File Encryption
A) In the elevated command prompt, copy and paste the command below and press Enter.
fsutil behavior set encryptpagingfile 1
B) Go to step 4.
3. To Disable Page File Encryption
NOTE: This is the default setting.
A) In the elevated command prompt, copy and paste the command below and press Enter.
fsutil behavior set encryptpagingfile 0
4. Close regedit, and restart the computer to apply.

5. To Verify the Page File Encryption Setting
A) Open a elevated command prompt.

B) In the elevated command prompt, copy and paste the command below and press Enter.
NOTE: 0 = disabled and 1 = enabled
fsutil behavior query encryptpagingfile
That's it,
Shawn





10 Feb 2011   #1
StalkeR

Windows 7 Ultimate SP1 x64
 
 

Very nice.. as usual Shawn!

My System SpecsSystem Spec
10 Feb 2011   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Thank you Boshko.
My System SpecsSystem Spec
10 Feb 2011   #3
EzioAuditore

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
 
 

Thank you Shawn, just did it.

By the way, I think a mistake's there in language. The part in blue seems to have inter-changed.

Quote:
4. To Enable Page File Encryption
A) Select (dot) either Not Configured or Disabled. (see screenshot below step 6)
B) Go to step 6.
5. To Disable Page File Encryption
NOTE: This is the default setting.A) Select (dot) Enabled. (see screenshot below step 6)
My System SpecsSystem Spec
.


10 Feb 2011   #4
Fayla

Windows 7 Professional 64 Bit SP1
 
 

Interesting option! I tried enabling it via the registry file but it told me that "the key did not exist"? So I just configured it via the GP Editor.
My System SpecsSystem Spec
10 Feb 2011   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Quote   Quote: Originally Posted by EzioAuditore View Post
Thank you Shawn, just did it.

By the way, I think a mistake's there in language. The part in blue seems to have inter-changed.

Quote:
4. To Enable Page File Encryption
A) Select (dot) either Not Configured or Disabled. (see screenshot below step 6)

B) Go to step 6.

5. To Disable Page File Encryption
NOTE: This is the default setting.A) Select (dot) Enabled. (see screenshot below step 6)
Thank you Ezio. It has been corrected.
My System SpecsSystem Spec
10 Feb 2011   #6
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Quote   Quote: Originally Posted by Lost Colonist View Post
Interesting option! I tried enabling it via the registry file but it told me that "the key did not exist"? So I just configured it via the GP Editor.
Hello Lost Colonist,

Was it a "file association does not exist..." type error instead?

When you right click on the REG file, did you have a Merge option in the context menu?

Were you logged in an adminsitrator account when using the REG file?
My System SpecsSystem Spec
07 Mar 2011   #7
Windows 911

Windows 8 Pro
 
 

Hello guys, I am wondering if I should encrypt the virtual page file... or just have it deleted on shutdown. What do you recommend? Or should I even bother with it? I just have a simple laptop..
My System SpecsSystem Spec
07 Mar 2011   #8
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Windows 911,

Usually you would only encrpyt or delete the page file on exit if you are concerned about the possibily of someone reading it's contents. Encrypting the page file will get a small negative performance hit in Windows since it will take a bit longer to encrypt and decrypt everything in and out of the page file. Deleting the page file on exit will cause a delay at shutdown while you wait on the page file to be deleted.

I would not recommend to turn off the page file. Some programs, usually older ones though, will require the page file to be turned on for them to run properly no matter how much RAM you have installed.

Hope this helps some,
Shawn
My System SpecsSystem Spec
07 Mar 2011   #9
Windows 911

Windows 8 Pro
 
 

Thank you for the quick reply Im thinking about encrypting at least, especially that I carry my computer around frequently. Is the performance impact negligible, or obvious? I don't care if it adds a couple seconds to startup or shutdown. Do you use it on your system Brink?
My System SpecsSystem Spec
Comment

 Page File Encryption - Enable or Disable




Tutorial Tools



Similar help and support threads for2: Page File Encryption - Enable or Disable
Windows 7 Tutorial Category
Open File Security Warning - Enable or Disable Tutorials
Taskbar Always On Top - Disable or Enable Tutorials
Should I disable my Page File? Performance & Maintenance
Windows Key - Enable or Disable Tutorials
How to enable HTTPS/SSL encryption to secure your Facebook account Security News
file encryption System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:46 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33