The actual paramter is based on the drive ID. here is an example of the
registery key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\DiskVirtual_HD______________________________1._1____\5&35dc7040&0&0.0.0\Device
Parameters\Disk]
"UserWriteCacheSetting"=dword:00000000
You fist have to find the ID for the disk and then use it to turn off disk
cache.
Regards,
Sean Liming
www.sjjmicro.com /
www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Ricky said:
Is there a way to disable the write cache on my CF via registry or
scripting?
Thanks a lot.
Ricky