encrypting and deleting pagefile

Anderson2

New member
Power User
Local time
11:00 AM
Messages
188
I'm very new to W 7 so please forgive me if the answer is obvious. I'm using W 7 Home Premium 64 bit.

This is a home laptop but I do have some personal financial info on it (which I encrypt using TrueCrypt) and therefore am concerned about the pagefile should the laptop be stolen. I therefore would like to know how to:

1) encrypt the page file. Would that slow things a great deal?

2) delete the page file on shutdown.

3) Other security problems I should know about concerning the pagefile.

Thanks,

Jeff
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
I'm very new to W 7 so please forgive me if the answer is obvious. I'm using W 7 Home Premium 64 bit.

This is a home laptop but I do have some personal financial info on it (which I encrypt using TrueCrypt) and therefore am concerned about the pagefile should the laptop be stolen. I therefore would like to know how to:

1) encrypt the page file. Would that slow things a great deal?

2) delete the page file on shutdown.

3) Other security problems I should know about concerning the pagefile.

Thanks,

Jeff
.
I dont' know about encryption, but you can set an option to have the pagefile deleted on shutdown. It may slow the shutdown process though.
 

My Computer My Computer

At a glance

Windows 7 x64Intel Core2 Extreme Q6850 3.00GHz8 GBRadeon R7 260X
Computer type
PC/Desktop
OS
Windows 7 x64
CPU
Intel Core2 Extreme Q6850 3.00GHz
Motherboard
EVGA 132-CK-NF79
Memory
8 GB
Graphics Card(s)
Radeon R7 260X
Sound Card
Xonar DS
Hard Drives
Hitachi Deskstar 1 tb
Thanks. How do I have the pagefile deleted on shutdown? (I thought that happened automatically).
Jeff
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
- Type "regedit" at the start menu.
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\
- Right click on Memory Management and select New DWORD (32-bit) Value.
- Name the DWORD value “ClearPageFileAtShutdown”
- Double-click on the DWORD value and type “1″

After that restart your PC to apply the changes.
Hope this helps.:)

*Note - this will increase your shutdown time.
 

My Computer My Computer

At a glance

Win 7 Ultimate SP1 x64Intel Pentium Dual Core E5300 OC'd @ 3GHzKingston 2x2GB DDR2-800 Dual Channel SDRAMIntegrated Intel GMA X4500
Computer Manufacturer/Model Number
D3f's Customs
OS
Win 7 Ultimate SP1 x64
CPU
Intel Pentium Dual Core E5300 OC'd @ 3GHz
Motherboard
Asus P5G41-M LE
Memory
Kingston 2x2GB DDR2-800 Dual Channel SDRAM
Graphics Card(s)
Integrated Intel GMA X4500
Sound Card
Realtek 5.1 HD Audio (ALC887)
Monitor(s) Displays
LG Flatron W1943S @ 60Hz
Screen Resolution
1360 x 768
Hard Drives
Internal - WD Caviar Blue 500GB, External - WD My Passport Essential 500GB
PSU
Headway 450w PSU
Case
Pixxo Slim Black mATX Case
Cooling
Stock Cpu Fan, 1 x Top Case Fan
Keyboard
Logitech K120
Mouse
Logitech LS1 Laser Mouse
Internet Speed
17.66Mb/s Down, 0.82Mb/s Up
Other Info
Creative SBS A300 2.1 Speaker System, LG GH22NS50 22x Internal Super-Multi DVD-RW, 2Wire 5012NV Wireless Modem Router
Thank you. ClearPageFileAtShutdown already existed in my system. I changed it from 0 to 1. Will try it out.
Thanks.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Thank you. ClearPageFileAtShutdown already existed in my system. I changed it from 0 to 1. Will try it out.
Thanks.
You're welcome....:)
 

My Computer My Computer

At a glance

Win 7 Ultimate SP1 x64Intel Pentium Dual Core E5300 OC'd @ 3GHzKingston 2x2GB DDR2-800 Dual Channel SDRAMIntegrated Intel GMA X4500
Computer Manufacturer/Model Number
D3f's Customs
OS
Win 7 Ultimate SP1 x64
CPU
Intel Pentium Dual Core E5300 OC'd @ 3GHz
Motherboard
Asus P5G41-M LE
Memory
Kingston 2x2GB DDR2-800 Dual Channel SDRAM
Graphics Card(s)
Integrated Intel GMA X4500
Sound Card
Realtek 5.1 HD Audio (ALC887)
Monitor(s) Displays
LG Flatron W1943S @ 60Hz
Screen Resolution
1360 x 768
Hard Drives
Internal - WD Caviar Blue 500GB, External - WD My Passport Essential 500GB
PSU
Headway 450w PSU
Case
Pixxo Slim Black mATX Case
Cooling
Stock Cpu Fan, 1 x Top Case Fan
Keyboard
Logitech K120
Mouse
Logitech LS1 Laser Mouse
Internet Speed
17.66Mb/s Down, 0.82Mb/s Up
Other Info
Creative SBS A300 2.1 Speaker System, LG GH22NS50 22x Internal Super-Multi DVD-RW, 2Wire 5012NV Wireless Modem Router
If you machine is encrypted with true crypt then why are you worrying about the page file? Even if you simply chose "partition encryption" your pagefile will fall under the encryption anyway. You set a password on the drive. Nobody without that password could get to your page file if your laptop was stolen.
 

My Computer My Computer

At a glance

7 Pro
OS
7 Pro
http://www.truecrypt.org/docs/?s=paging-file said:
Paging File
Note: The issue described below does not affect you if the system partition or system drive is encrypted (for more information, see the chapter System Encryption) and if all paging files are located on one or more of the partitions within the key scope of system encryption, for example, on the partition where Windows is installed (for more information, see the subsection 'Solution' below).
Also called 'swap file'; Windows uses this file (usually stored on a hard drive) to hold parts of programs and data files that do not fit in memory. This means that sensitive data, which you believe are only stored in RAM, can actually be written unencrypted to a hard drive by Windows without you knowing.

TrueCrypt always attempts to lock the memory areas in which cached passwords, encryption keys, and other sensitive data are stored, in order to prevent such data from being leaked to paging files. However, note that Windows may reject or fail to lock memory for various (documented and undocumented) reasons. Furthermore, TrueCrypt cannot prevent the contents of sensitive files that are opened in RAM from being saved unencrypted to a paging file (note that when you open a file stored on a TrueCrypt volume, for example, in a text editor, then the content of the file is stored unencrypted in RAM).

more info and how to prevent it: TrueCrypt - Free Open-Source Disk Encryption - Documentation - Paging File

Hope it will help you ;)
 

My Computer My Computer

At a glance

Windows 7 Ultimate x86 SP1
OS
Windows 7 Ultimate x86 SP1
encrypting pagefile

This link takes you to an Infoworld discussion about encrypting your pagefile; Infoworld

Here is how to do it in Vista; Vista: Encrypt the Pagefile I would imagine it is done the same way in W7.

Windows club has a 'Tweak" program that will make the setting change for you at WindowsClub. PC World recommends this program.

Depending on your system, you may not notice the impact of encrypting the pagefile to its performance. It would not be necessary to delete it during each shutdown if it is encrypted, and that in itself is a huge performance gain.
 

My Computer My Computer

At a glance

W7
OS
W7
If you machine is encrypted with true crypt then why are you worrying about the page file? Even if you simply chose "partition encryption" your pagefile will fall under the encryption anyway. You set a password on the drive. Nobody without that password could get to your page file if your laptop was stolen.
The machine is not encrypted with True Crypt. Only a couple of file containers are encrypted. The rest of the partition is not encrypted.
 
Last edited:

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
This link takes you to an Infoworld discussion about encrypting your pagefile; Infoworld

Here is how to do it in Vista; Vista: Encrypt the Pagefile I would imagine it is done the same way in W7.

Windows club has a 'Tweak" program that will make the setting change for you at WindowsClub. PC World recommends this program.

Depending on your system, you may not notice the impact of encrypting the pagefile to its performance. It would not be necessary to delete it during each shutdown if it is encrypted, and that in itself is a huge performance gain.
Thanks, I'll look into that.

When I tried the deleting of the pagefile at shutdown, I find it slowed shutdown too much and therefore reversed it.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Just encrypt your whole system drive with Truecrypt. That is the safest method to encryption. I wouldn't rely on containers if the information is highly confidential. Even deleting or encrypting page file on an unencrypted drive might not do the trick.
 

My Computer My Computer

At a glance

Windows 7 Home Premium 64-bitIntel Core2 Quad 8300 @ 2.5GHz8GBATI Radeon 4800 Series
Computer Manufacturer/Model Number
HP Elite PC
OS
Windows 7 Home Premium 64-bit
CPU
Intel Core2 Quad 8300 @ 2.5GHz
Memory
8GB
Graphics Card(s)
ATI Radeon 4800 Series
Monitor(s) Displays
Dell 23" Widescreen
Screen Resolution
1920x1080
Hard Drives
685GB SATA3G
Case
HP Elite
Keyboard
HP Keyboard
Mouse
Microsoft optical mouse
Internet Speed
1MBps download / 60kbps upload
i encrypted my whole desktop HDD just in case somebody were to break into my house and steal it, my neighbors got their goods stolen so i saw the need to encrypt my HDD to keep my personal things safe in case they were stolen they would have to wipe it out and wouldn't be able to recover my files since i encrypted it with 7 wipe passes

so i would suggest encrypting the whole drive with 7wipe passes to be sure ,will take couple days but its worth it and you can stop it and continue it when ever even if you turn off your pc
 

My Computer My Computer

At a glance

Windows 10 64bitAMD Phenom II X4 925 (Deneb)(2.8GHz) OC 3.4GHzCorsair Vengeance DDR3 4GBX2 (8192MB)XFX HD 6870 1GB (OC)- 940MHz core, mem 1150MHz
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Windows 10 64bit
CPU
AMD Phenom II X4 925 (Deneb)(2.8GHz) OC 3.4GHz
Motherboard
M5A78L-MLX Plus
Memory
Corsair Vengeance DDR3 4GBX2 (8192MB)
Graphics Card(s)
XFX HD 6870 1GB (OC)- 940MHz core, mem 1150MHz
Monitor(s) Displays
Vizio 26' 1920x1080 / Acer 1336x768
Screen Resolution
1920x1080 60Hz /1336x768
Hard Drives
Kingston Digital 60GB SSDNow V300/500gb HDD Western Digital 7200rpm (/WD 160GB HDD 7200rpm
PSU
CORSAIR CX600 600w
Case
AZZA Orion 202 EVO
Cooling
cooler master hyper TX3 cpu cooler
Keyboard
Razer DeathStalker
Mouse
Logitech Optical Gaming Mouse G400
Antivirus
Defualt on win 10
Browser
Firefox
Other Info
cpu is overclocked in bios
Back
Top