Thank you, KM.
Yes, I mean cache file pagefile and it is located on the different partition
on the same drive as boot disk.
When I run chkdsk for D drive, system answers it will be run at the next
boot. This setting is actually set to protected system disk. The setting for
the running chkdsk will be lost at the time of the next boot, since it is
written on the protected partition. In other word, the setting of running
chkdsk in the boot sequence won't be written to the system disk.
In order to run it actually, we need to disable the EWF function, but I
don't think it is a good idea to let the customer to turn off EWF.
I'd like to know if there is a good solution for this.
Is there an automated way to do the following process?
1. Turn off EWF (reboot)
2. Set chkdsk -> reboot -> running chkdsk
3. Turn EWF back on (reboot)
I have followed the instruction "EWF Performance Considerations"
http://msdn2.microsoft.com/en-us/library/ms912916.aspx
Especially with following items.
"Changing the Location of the pagefile"
http://msdn2.microsoft.com/en-us/library/ms912851.aspx
Key Name: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management\
Value Name: PagingFiles
Type: REG_MULT_SZ
Data: D:\temp\pagefile.sys 150 500
"Changing the Location of the Temporary Files Folder"
http://msdn2.microsoft.com/en-us/library/ms940828.aspx
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: D:\temp
- or -
Key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders
Name: Cache
Type: REG_EXPAND_SZ
Value: D:\temp
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: D:\temp
Key: HKEY_CURRENT_USER\Environment
Name: TMP
Type: REG_SZ
Value: D:\temp
Thanks,
HA