When creating an XPE system with the EWF function in RAM mode, we will pay attention to whether the current hardware configuration is sufficient to support the consumption of RAM write protection, if the configuration is too low, one or more problems will occur during system operation. If the memory is less than 100 MB, do you dare not COPY or decompress files in protected partitions ??, It is very difficult because "failed to write cache" will harass you from time to time.
When a write cache failure occurs, you will find that the system's physical memory is almost exhausted, which is the "powerful" of EWF write protection. Therefore, if the hard disk configuration is relatively low, we need to think about it: is it necessary to add the write protection function and use EWF to protect it? Whether it is system security or data security. Otherwise, such ambiguous solutions will only cause unnecessary troubles to the work.
If we use EWF to protect the system disk from external attacks, just like the shadow sub-system, we can take some measures to avoid "Write cache failure, the main idea is very simple. It is to avoid writing to the system disk, and the measures are very simple. That is, to map most of the write operations involving disk C to other disks, in this way, the write operation on disk C is avoided, so as to avoid the "Write cache failure" problem ".
The specific method is:
1. Map the temporary folder of the system to another disk (take disk D as an example)
The system temporary files include the "Temp" folder under Local Settings and the TEMP folder under WINDOWS, copy them to a certain place on the d drive, and modify the environment variables to map the temporary files.
Right-click my computer and choose advanced> environment variable.
User variable:
TEMP = "D: \... \ Local Settings \ Temp"
TMP = "D: \... \ Local Settings \ Temp"
System variables:
TEMP = "D: \... \ WINDOWS \ TEMP"
TMP = "D: \... \ WINDOWS \ TEMP"
2. Map the temporary network folder to another disk.
Copy the "Temporary Internet Files" folder under "Local Settings" to a directory on disk D.
Then modify the path of the IE cache file:
IE tool menu-> internet Options-> General-> browsing history-> setting mobile folders... -> "D :\...... \ Local Settings \ Temporary Internet Files "-> OK
3. Map my documents to other disks
Copy the "Documents and Settings" Administrator \ My Documents "folder to a directory on disk D.
Right-click my documents on the desktop --> properties --> Update the target file path to drive d --> OK.
4. Map desktop folders to other disks
Copy the "Documents and Settings" Administrator \ Desktop "folder to a directory on disk D.
Open the Registry: Desktop under HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders, and change the Desktop value to the Desktop path of the current D disk.
5. other files that need to be frequently written (including later application files) can also be removed from the system disk.
6. regularly clear the ing files on other disks.
Do not forget to submit the COMMIT after completing the above operations !!!