Export (0) Print
Expand All

Changing the Location of the Temporary Files Folder

5/10/2007

You can improve EWF performance on a run-time image by changing the temporary files location to a different partition that is not EWF-protected. By default, temporary Internet files are stored in the %USERPROFILE%\Local Settings\Temporary Internet Files folder.

  1. Modify one or both of the following registry keys on your run-time image:

    Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders

    Name: Cache

    Type: REG_EXPAND_SZ

    Value: <path_to_a_folder_on_an_unprotected_volume>

    - or -

    Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

    Name: Cache

    Type: REG_EXPAND_SZ

    Value: <path_to_a_folder_on_an_unprotected_volume>

  2. You can also redirect the TMP and TEMP folders to an unprotected volume by modifying the following registry settings:

    Key: HKEY_CURRENT_USER\Environment

    Name: TEMP

    Type: REG_SZ

    Value: <path_to_a_folder_on_an_unprotected_volume>

     

    Key: HKEY_CURRENT_USER\Environment

    Name: TMP

    Type: REG_SZ

    Value: <path_to_a_folder_on_an_unprotected_volume>

For more information about how to add this registry key to your configuration, see Adding Registry Data to a Configuration in Windows XP Embedded Studio Help.

  1. Modify one or both of the following registry keys on your run-time image:

    Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders

    Name: Cache

    Type: REG_EXPAND_SZ

    Value: <path_to_a_folder_on_an_unprotected_volume>

    - or -

    Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

    Name: Cache

    Type: REG_EXPAND_SZ

    Value: <path_to_a_folder_on_an_unprotected_volume>

  2. You can also redirect the TMP and TEMP folders to an unprotected volume by modifying the following registry settings:

    Key: HKEY_CURRENT_USER\Environment

    Name: TEMP

    Type: REG_SZ

    Value: <path_to_a_folder_on_an_unprotected_volume>

     

    Key: HKEY_CURRENT_USER\Environment

    Name: TMP

    Type: REG_SZ

    Value: <path_to_a_folder_on_an_unprotected_volume>

For more information about how to add this registry key to your configuration, see Adding Registry Data to a Configuration in Windows XP Embedded Studio Help.

Show:
© 2014 Microsoft