Article ID: 811392 - Last Review: October 27, 2006 - Revision: 5.3 Obtain the Dskcache.exe tool to configure the "Power Protected" Write Cache option
On This PageSUMMARYThis article describes how to obtain the Dskcache.exe tool. Dskcache.exe is a command-line tool that you can use to configure the
Power Protected write cache option that is available in the hotfix that is described in the
following Microsoft Knowledge Base article: 332023
(http://support.microsoft.com/kb/332023/
)
Slow disk performance with Write Caching enabled
Note You must install the update described in 332023 KB.EN-US and then restart your computer before you use the Dskcache.exe tool to configure the Power Protected write cache option.MORE INFORMATIONWarning If you turn on the Power Protected write cache option for a write-caching disk drive, you turn off routines that are built in to the Windows 2000 disk drivers that make sure that critical data is written to the disk immediately, instead of being written to the disk later from the disk's built-in write cache. Do not turn on the Power Protected write cache option unless your computer and any
connected hard disks are protected against accidental or inadvertent power
loss through hardware design that may include such features as redundant battery-backed power supplies or onboard batteries on caching controllers. Contact the vendors of your computer and storage devices to determine the degree of protection afforded by your hardware. Do not turn on the Power Protected write cache option unless you understand and accept the level of risk that may be involved, and are confident that this risk has been mitigated through appropriate hardware power protection. For more information about this issue, click the following article number to view the article in the Microsoft Knowledge Base: 281672
(http://support.microsoft.com/kb/281672/
)
Possible data loss after you enable the "Write Cache Enabled" feature
Note In Windows XP, the Power Protect mode is not displayed in the output of the Dskcache.exe tool.A supported feature that modifies the default behavior of the product is available from Microsoft. However, this feature is intended to modify only the behavior that this article describes. Apply this feature only to systems that specifically require it. This feature might receive additional testing. Therefore, if the system is not severely affected by the lack of this feature, we recommend that you wait for the next software update that contains this feature. If the feature is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the feature. Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific feature. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the feature is available. If you do not see your language, it is because the feature is not available for that language.The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. Date Time Version Size File name ------------------------------------------------- 24-Feb-2003 20:19 1.0.0.0 10,512 Dskcache.exe Dskcache.exe Usage Informationdskcache [ +p | -p ] [ +w | -w ] [/i | /s | Drive_Specifier ]
Note The Power Protected write cache option can only be turned on for disks that are currently present. Because the Power Protected write cache option is turned off by default, this option is turned off for any disks that may be added after you apply this setting. If you add additional disks, you must turn on the Power Protected write cache option for those added disks for the setting to take effect. Dskcache.exe Command OutputIf you run Dskcache without any parameters, the current write cache settings for all hard disks are displayed. For each hard disk currently present on your computer, the following information is displayed:Disk device:
If you run Dskcache with the w switch or the p switch, the specified settings are applied to the specified disks immediately. This behavior occurs if the disks and their drivers support querying and modifying the requested configuration options. (See "Common Error Messages" below.)Volume name of the form: \\?\Volume{8fc37c41-bdd3-11d5-b897-806d6172696f}\ Current Settings: Write Cache is [ enabled | disabled ] Power Protect is [ enabled | disabled ] For each fixed disk that is currently present on your computer, the following information is displayed: Disk device:
Volume name of the form: \\?\Volume{8fc37c41-bdd3-11d5-b897-806d6172696f}\ Current Settings: Write Cache is [ enabled | disabled ] Power Protect is [ enabled | disabled ] New Settings: Write Cache is [ enabled | disabled ] Power Protect is [ enabled | disabled ] Common Error MessagesYou may receive one of the following error messages:Error setting Write Cache value. (1) Incorrect function.
Error getting Write Cache value.
(50) The write cache is not modifiable. Error getting Write Cache value.
(1117) The request could not be performed because of an I/O device error. To resolve this issue, contact the vendor of the disk device. Error getting Power Protect value.
(21) The device is not ready. To apply the Power-Protected write cache setting to all servers in the cluster, follow these steps:
APPLIES TO
| Article Translations
|
Back to the top
