Re: Location of cache file for EWF
- From: HA <HA@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Feb 2007 16:39:05 -0800
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
"KM" wrote:
If by "cache file" you meant pagefile, then yes, it is recommended to move it out of the protected volume..
Assuming your drive D is a separate disk in the target hardware from the boot disk.
If you second disk is unprotected, chkdsk will run at the system boot if the dirty flag was set on that drive. It should not do that
again on the next boot if the disk was unprotected (so that the dirty flag can be cleaned and the change is persistent).
--
=========
Regards,
KM
I heard it is recommended to locate cache file out of EWF volume. However, if
I locate it on D dirve, it will be difficult to run chkdsk to D drive.
It won't run directly and runs after boot time. However, the setting chkdsk
after boot is canceled by EWF function.
Actually, it won't be possible to run chkdsk at the customer side.
What is the solution for this problem?
Thanks for your help.
- Follow-Ups:
- Re: Location of cache file for EWF
- From: KM
- Re: Location of cache file for EWF
- References:
- Re: Location of cache file for EWF
- From: KM
- Re: Location of cache file for EWF
- Prev by Date: Re: Enhanced Write filter: EwfMgrCommitFile
- Next by Date: Re: Location of cache file for EWF
- Previous by thread: Re: Location of cache file for EWF
- Next by thread: Re: Location of cache file for EWF
- Index(es):
Relevant Pages
|