Clearing the Pagefile at Shutdown

5/10/2007

If your run-time image includes pagefile support, you can help protect potentially sensitive data by clearing out the pagefile before the system shuts down.

To clear the pagefile at shutdown

- or -

  • You can edit the registry of your run-time image to clear the pagefile at shutdown. Add or edit the following registry key:
    Key Name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

For more information about adding registry data to a configuration in Target Designer, see Adding Registry Data to a Configuration in Windows XP Embedded Studio Help.

For more information about adding registry data to a component in Component Designer, see Component Registry Data in Windows XP Embedded Studio Help.

- or -

  • You can edit the registry of your run-time image to clear the pagefile at shutdown. Add or edit the following registry key:
    Key Name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

For more information about adding registry data to a configuration in Target Designer, see Adding Registry Data to a Configuration in Windows XP Embedded Studio Help.

For more information about adding registry data to a component in Component Designer, see Component Registry Data in Windows XP Embedded Studio Help.

See Also

Other Resources

Best Practices for Security
Network Security Considerations
Local Security Considerations