Windows 10: Enable or Disable Virtual Memory Pagefile Encryption in Windows 10  

    Enable or Disable Virtual Memory Pagefile Encryption in Windows 10

    Enable or Disable Virtual Memory Pagefile Encryption in Windows 10

    How to Enable or Disable Virtual Memory Pagefile Encryption in Windows 10
    Published by Category: Virtualization
    22 Mar 2018
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 29,983

    Show Printable Version 


    How to Enable or Disable Virtual Memory Pagefile Encryption in Windows 10


    Encrypting the pagefile prevents malicious users from reading data that has been paged to disk, but also adds processing overhead for filesystem operations.

    This tutorial will show you how to enable or disable virtual memory pagefile encryption in Windows 10.

    You must be signed in as an administrator to be able to enable or disable NTFS pagefile encryption.


    CONTENTS:
    • Option One: To Enable or Disable Virtual Memory Pagefile Encryption in Local Group Policy
    • Option Two: To Enable or Disable Virtual Memory Pagefile Encryption using a REG file
    • Option Three: To Enable or Disable Virtual Memory Pagefile Encryption in Command Prompt





    Enable or Disable Virtual Memory Pagefile Encryption in Windows 10 OPTION ONE Enable or Disable Virtual Memory Pagefile Encryption in Windows 10
    To Enable or Disable Virtual Memory Pagefile Encryption in Local Group Policy


    The Local Group Policy Editor is only available in the Windows 10 Pro, Enterprise, and Education editions.

    All editions can use Option TWO or Option THREE below.

    1. Open the Local Group Policy Editor.

    2. In the left pane of Local Group Policy Editor, navigate to the location below. (see screenshot below)

    Computer Configuration\Administrative Templates\System\Filesystem\NTFS

    Name:  Pagefile_encryption_gpedit-1.jpg
Views: 2672
Size:  94.9 KB

    3. In the right pane of the NTFS key in Local Group Policy Editor, double click/tap on the Enable NTFS pagefile encryption policy to edit it. (see screenshot above)

    4. Do step 5 (disable) or step 6 (disable) below for what you would like to do.


     5. To Disable Virtual Memory Pagefile Encryption

    A) Select (dot) Not Configured or Disabled, click/tap on OK, and go to step 7 below. (see screenshot below)

    Not Configured[/B] is the default setting.


     6. To Enable Virtual Memory Pagefile Encryption

    A) Select (dot) Enabled, click/tap on OK, and go to step 7 below. (see screenshot below)

    Name:  Pagefile_encryption_gpedit-2.jpg
Views: 2516
Size:  62.3 KB

    7. When finished, you can close the Local Group Policy Editor if you like.

    8. Restart the computer to apply.





    Enable or Disable Virtual Memory Pagefile Encryption in Windows 10 OPTION TWO Enable or Disable Virtual Memory Pagefile Encryption in Windows 10
    To Enable or Disable Virtual Memory Pagefile Encryption using a REG file


    The downloadable .reg files below will modify the DWORD values in the registry keys below.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

    NtfsEncryptPagingFile DWORD

    0 = Disable
    1 = Enable

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies

    (delete) NtfsEncryptPagingFile DWORD

    1. Do step 2 (enable) or step 3 (disable) below for what you would like to do.


     2. To Enable Virtual Memory Pagefile Encryption

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Enable_Pagefile_Encryption.reg

    download


     3. To Disable Virtual Memory Pagefile Encryption

    This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Disable_Pagefile_Encryption.reg

    download

    4. Save the .reg file to your desktop.

    5. Double click/tap on the downloaded .reg file to merge it.

    6. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    7. Restart the computer to apply.

    8. If you like, you can now delete the downloaded .reg file.





    Enable or Disable Virtual Memory Pagefile Encryption in Windows 10 OPTION THREE Enable or Disable Virtual Memory Pagefile Encryption in Windows 10
    To Enable or Disable Virtual Memory Pagefile Encryption in Command Prompt

    1. Open an elevated command prompt.

    2. Do step 3 (status), step 4 (enable), or step 5 (disable) below for what you would like to do.


     3. To See if Virtual Memory Pagefile Encryption is Currently Enabled or Disabled

    A) Enter the command below into the elevated command prompt, press Enter, and go to step 4 (enable) or step 5 (disable) below. (see screenshot below)

    fsutil behavior query encryptpagingfile

    0 = disabled

    1 = enabled

    Name:  Determine_pagefile_encryption_command.jpg
Views: 2467
Size:  42.8 KB


     4. To Enable Virtual Memory Pagefile Encryption

    A) Enter the command below into the elevated command prompt, press Enter, and go to step 6 below. (see screenshot below)

    fsutil behavior set encryptpagingfile 1

    Click image for larger version. 

Name:	Enable_pagefile_encryption_command.jpg 
Views:	125 
Size:	53.0 KB 
ID:	122265


     5. To Disable Virtual Memory Pagefile Encryption

    A) Enter the command below into the elevated command prompt, press Enter, and go to step 6 below. (see screenshot below)

    fsutil behavior set encryptpagingfile 0

    Click image for larger version. 

Name:	Disable_pagefile_encryption_command.jpg 
Views:	129 
Size:	51.4 KB 
ID:	122264

    7. When finished, you can close the elevated command prompt if you like.

    8. Restart the computer to apply.


    That's it,
    Shawn


  1.    22 Mar 2018 #1

    HI Brink think i may do just this one how much overhead does it cause do you know in terms of processing overhead ?
      My ComputerSystem Spec


  2. Posts : 29,983
    64-bit Windows 10 Pro build 17692
    Thread Starter
       22 Mar 2018 #2

    Hey Tony, :)

    It really depends on your system.

    If it's pretty fast, then you may not notice too much overhead.

    If you do notice too much overhead, you could always undo it.
      My ComputersSystem Spec

  3.    22 Mar 2018 #3

    ok will give it go this one sounds like the more better option then clearing it i been reading about the clearing it and it seems like it adds a considerable slow down on pc performance, so this looks like the better option to me, unless i do whole disk encryption again but that was pain i got locked out everytime, i changed something it was a big pain in my back side lol, JUst set that up going to reboot and see how slow i get :).
      My ComputerSystem Spec

  4.    22 Mar 2018 #4

    Brink said: View Post
    Hey Tony, :)

    It really depends on your system.

    If it's pretty fast, then you may not notice too much overhead.

    If you do notice too much overhead, you could always undo it.
    Good news not much of one at all :) anything is better than none at all. ALso now anything about veracrypt ? is it better in terms of whole disk encryption then bitlocker as that thing drove me bonkers always locking me out lol.
      My ComputerSystem Spec


  5. Posts : 29,983
    64-bit Windows 10 Pro build 17692
    Thread Starter
       22 Mar 2018 #5

    I haven't used Veracrypt, but I hear good things about it.
      My ComputersSystem Spec

  6.    22 Mar 2018 #6

    If i do decide to do a whole disk encryption at some point should i disable this one first ?
      My ComputerSystem Spec


  7. Posts : 29,983
    64-bit Windows 10 Pro build 17692
    Thread Starter
       22 Mar 2018 #7

    There's no need to unless you just wanted to.
      My ComputersSystem Spec

  •    22 Mar 2018 #8

    ok awesome Brink have a great day my friend :)
      My ComputerSystem Spec


  • Posts : 29,983
    64-bit Windows 10 Pro build 17692
    Thread Starter
       22 Mar 2018 #9

    You as well mate. :)
      My ComputersSystem Spec


  •  

    Tutorial Categories

    Enable or Disable Virtual Memory Pagefile Encryption in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


    Related Threads
    How to Clear Virtual Memory Pagefile at Shutdown in Windows 10 Virtual memory support uses a system pagefile to swap pages of memory to disk when they are not used. On a running system, this pagefile is opened exclusively by the operating...
    How to Manage Virtual Memory Pagefile in Windows 10 Paging is a memory management scheme by which a PC stores and retrieves data from secondary storage for use in main memory. In this scheme, the operating system retrieves data from secondary...
    Should I disable the pagefile? in Performance & Maintenance
    Just curious if I have enough memory to disable the pagefile without causing any harm?? 91117 I have no idea how this happened! It's an older laptop that hasn't been booted in a year or so. It really has 8 GB of system memory, but...
    Issues with Pagefile.sys / Virtual Memory in Performance & Maintenance
    Hi there, I have issues with my PC seeming quite sluggish at times, and sometimes freezing altogether for a few seconds. I have had MS look at this, and they cannot seem to find any issues. My main question is about VM/pagefile.sys. Looking at...
    Hello. Suddenly I was enable device encryption. Then I forget it . Few days later , I got some problem such as photo ,snapshot couldn't save , couldn't delete anything from SD card. I downloaded some important document file after few min I can't...
    Our Sites
    Site Links
    About Us
    Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 09:21.
    Find Us