Solved

Registry key for write-behind caching

Posted on 1997-07-22
2
275 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 50 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error 0X800704C8 - Plex App 2 58
forward schedule of change 1 91
Surface Pro 4 wifi 4 51
Reconfigure Corporate IP Address Scheme 2 64
Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

710 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