How to disable disk write cache?

R

Ricky

Is there a way to disable the write cache on my CF via registry or
scripting?

Thanks a lot.

Ricky
 
S

Sean Liming \(MVP\)

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
 
G

Guest

Or you can use the dskcache tool from Microsoft see
http://microsoft-personal-operating...blic.windowsxp.embedded/582104/1/Default.aspx

I have got a written statement from Microsoft that the Eula is wrong and you
are allowed to use it with Win XP.

Regards,
Burkhard

Sean Liming (MVP) said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top