Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Registry key for write-behind caching

Posted on 1997-07-22
2
Medium Priority
?
285 Views
Last Modified: 2013-12-23
What is the registry key to disable write behind caching, and what must it be set to to turn it on.

ie:  I want to disable write behind caching for all PCs on site, but I want to do it in the logon script, and if I know the key, I can write a script to do it.
0
Comment
Question by:Chrism
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
dmethvin earned 200 total points
ID: 1547796
I think you're referring to to the check box "Disable Write Behind Caching for All Drives" that's in the Control Panel/System/Performance/FileSystem/Troubleshooting dialog.

To disable write-behind caching, you set the key
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem\DriveWriteBehind to the binary value 0.

However, I'm pretty sure that the system only checks this value on boot-up, before you'll have a chance to change it in a batch file. Your change will only take effect after the next reboot.

Also, if you're looking for absolute safety in disk operations, you should know that virtually all EIDE drives write-cache in their on-disk buffers. If you lose power or have a system failure the bits you thought you wrote may not be there.  SCSI disks generally have configurable write cache, with the default being off.

Finally, if you're doing this because of some bad experiences from Windows 3.1 and Smartdrive, you should know that Win95 is a lot more conservative in the write caching. That is, unless you "Enable Synchronous Buffer Commits" (in same screen as the disable write-back above) which brings back the risky but faster behavior.
0
 
LVL 2

Author Comment

by:Chrism
ID: 1547797
Nah, I have to do it for a certain piece of software that we use on site.

Thanks for the info though.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question