Encrypt Windows swap file

Beginning from Windows Vista and Windows Server 2008 it is possible to encrypt Windows paging file. Paging file can contain your credentials, passwords, session data, temporary data from database, etc.

To check if encryption is enabled use the following command in cmd window:
fsutil behavior query encryptpagingfile

To enable encryption:
fsutil behavior set encryptpagingfile 1

P.S. After enabling, your system may work a little bit slower, but normally you won’t notice it.
P.S.S. This works only on NTFS and will not work on FAT32.

Also, encrypt the Temp folder on your hard disk to ensure that your encrypted documents remain encrypted during editing.