Changing the Location of the Pagefile (Windows Embedded Standard 2009)
To improve the performance of EWF on a system that uses a pagefile, you can relocate the system pagefile to an alternate partition that is not EWF-protected. This requires at least two partitions: one partition that EWF protects, and another partition that is writeable.
After a run-time image is deployed, edit the following registry key:
Key Name: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\
Value Name: PagingFiles
Data: C:\pagefile.sys 150 500
In the Data field, change the path and file name of the pagefile, along with the minimum and maximum file size values (in megabytes).
For more information about how to add this registry key to your configuration, see Adding Registry Data to a Configuration in Windows Embedded Studio Help.