Works on Windows Vista and later / Windows Server 2008 and later
1. Run
cmd.exe as administrator (
Win Vista / Win 7) ,
Win 8 / Win 10)
2. Type command
fsutil behavior set encryptpagingfile 1 (for disabling use command
fsutil behavior set encryptpagingfile 0)
3. Restart computer
Note:
To check the current state can be used command
fsutil behavior query encryptpagingfile