 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has 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
02-10-2011
| Page File Encryption - Enable or Disable How to Enable or Disable Page File Encryption in Vista and Windows 7  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 EncryptionA) Click on the Download button below to download the file below.Enable_Page_File_Encryption.reg  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 
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) 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) 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 EncryptionA) 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 SettingA) 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 = enabledfsutil behavior query encryptpagingfile That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 37,304 | |
 Tutorial Tools | | | | | | | | | |
02-10-2011
|
#1 | | Windows 7 Ultimate SP1 x64 |
Very nice.. as usual Shawn! | My System Specs | | System Manufacturer/Model Number MS 7592 OS Windows 7 Ultimate SP1 x64 CPU Intel Pentium Dual Core E5400 @2.7Ghz Motherboard MSI G41M4-F Memory 4GB DDR2 2x2GB / 800MHz Graphics Card Integrated Sound Card Integrated Monitor(s) Displays Philips 192EL Screen Resolution 1366 x 768 Keyboard Delux K5002 Mouse WinGate WMS-o270 PSU 450W Case Delux costumized... Cooling 120mm Hantol, Spire 80mm Hard Drives Samsung HD256GJ 250GB/16MB & WD Caviar Blue 320GB/16MB Internet Speed 10 Mbit Other Info Genius SW-2.1 355 Speakers,Camera,Joystick |
02-10-2011
|
#2 | | Windows 7 Ultimate x64 SP1 |
Thank you Boshko. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
02-10-2011
|
#3 | | 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 EncryptionA) 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 Specs | | System Manufacturer/Model Number HCL OS Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS CPU Core 2 Duo e7400 @ 2.90GHz Motherboard Gigabyte G31M-ES2L Memory 3GB DDR2 Graphics Card Asus Nvidia GTX 560Ti 1GB Sound Card On-board Monitor(s) Displays HCL eZeeBee 18.5" LCD Screen Resolution 1366x768 @ 60Hz Keyboard Stock Mouse Stock PSU Corsair CX500 V2 500W Cooling Stock Hard Drives Western Digital 320GB Internet Speed 15-25kBps D/L | 10kBps U/L | Hey Don't laugh |
02-10-2011
|
#4 | | 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 Specs | | System Manufacturer/Model Number HP DV6 1330sa OS Windows 7 Professional 64 Bit SP1 CPU INTEL DUAL CORE 2.1Ghz Motherboard N/A Memory 4GB DDR3 Graphics Card INTEL Sound Card LAPTOP Monitor(s) Displays 2 Screen Resolution 3200x1080 Keyboard SOLID YEAR 260U Mouse USB PSU LAPTOP Case LAPTOP Cooling LAPTOP Hard Drives 250GB Internet Speed 20 MB/S |
02-10-2011
|
#5 | | Windows 7 Ultimate x64 SP1 |

Quote: Originally Posted by EzioAuditore 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 EncryptionA) 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 Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
02-10-2011
|
#6 | | Windows 7 Ultimate x64 SP1 |

Quote: Originally Posted by Lost Colonist 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 Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
03-07-2011
|
#7 | | Windows 7 Ultimate x64 SP1 |
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 Specs | | System Manufacturer/Model Number Dell Studiio 1555 OS Windows 7 Ultimate x64 SP1 CPU Core 2 Duo P8600 2.4 ghz Memory 4GB DDR2 Graphics Card ATI Radeon 4570 512MB Sound Card IDT High Definition Monitor(s) Displays 15.6" Screen Resolution 1920x1080 Hard Drives 250GB 7200 RPM SATA |
03-07-2011
|
#8 | | Windows 7 Ultimate x64 SP1 |
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 Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
03-07-2011
|
#9 | | Windows 7 Ultimate x64 SP1 |
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 Specs | | System Manufacturer/Model Number Dell Studiio 1555 OS Windows 7 Ultimate x64 SP1 CPU Core 2 Duo P8600 2.4 ghz Memory 4GB DDR2 Graphics Card ATI Radeon 4570 512MB Sound Card IDT High Definition Monitor(s) Displays 15.6" Screen Resolution 1920x1080 Hard Drives 250GB 7200 RPM SATA Page File Encryption - Enable or Disable problems? All times are GMT -5. The time now is 12:33 AM. |  |