Man of Honour
- Joined
- 17 Oct 2007
- Posts
- 3,871
I never get BSOD's/hangs from disabling swap. It's common practise in some security conscious sectors like the one I work in (lessens the chance of unencrypted data being written to disk).
In regards to the security risks of the paging file, whilst it's possible for someone who has physical access to the machine to read the data which had been paged out when the system was running, you can configure the system to clear the paging file upon shutdown. To do so, if you open open Regedit and navigate to the following key:
Code:
HKEY_Local_Machine\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Change the ClearPageFileAtShutdown data value to 1.
Edit:
Actually, here is a quote from the Windows Internals Fifth Edition Book regarding this:
[QUOTE="Windows Internals Fifth Edition]
Because the page file contains parts of process and kernel virtual memory, for security reasons the system can be configured to clear the page file at system shutdown. To enable this, set the registry value HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\CleaPageFileAtShutdown to 1. Otherwise, after shutdown, the page file will contain whatever data happened to have been paged out while the system was up. This data could then be accessed by someone who gained physical access to the machine.[/QUOTE]