Public Files

 

Public Docs

 

^ -- Up

 

Encrypt Windows Swap File

From Vista onwards, it is now possible to encrypt the page file, if it is stored on a NTFS filesystem. (Which it already should be. If its not your #doingitwrong).

 

The page file could contain sensitive information that is temporally stored to disk so this should be encrypted, to stop confidential data from being exposed. Fire up cmd.exe and lets get going:

Check if page file encryption is active

  • fsutil behavior query encryptpagingfile
  • To Enable encryption

  • fsutil behavior set encryptpagingfile 1
  • To Disable encryption

  • fsutil behavior set encryptpagingfile 0