Change the Location of the Temporary Files Folder (Standard 7 SP1)
7/8/2014
You can improve Enhanced Write Filter (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%\AppData\Local\Microsoft\Windows folder.
To change the location of the temporary files folder
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> - 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>
- Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders
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>
- Key: HKEY_CURRENT_USER\Environment