Clearing the Pagefile at Shutdown (Windows Embedded Standard 2009)

4/23/2012

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
    Value Name: ClearPageFileAtShutdown
    Type: REG_DWORD
    Value: 1

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

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

See Also

Other Resources

Best Practices for Security
Network Security Considerations
Local Security Considerations