Disc write cache on Windows domain controller | always disabled by default?

enter image description here

Is it true that on a Windows 2016 domain controller (bare metall installation), the disc write cache is turned off even if a battery-buffered RAID controller is installed and recognized by the system (by default after every reboot)? (We don't have experience in Windows bare metall installations and there are contradictory informations on the internet)

marsh-wiggle asked Nov 14, 2018 at 16:38 marsh-wiggle marsh-wiggle 2,195 6 6 gold badges 31 31 silver badges 48 48 bronze badges If you set the read/write cache in your controller's BIOS, how should Windows influence this? Commented Nov 14, 2018 at 16:45

@Lenniey In the properties of the hard disc (windows device manager) you can configure the write cache policy. On our test system (unbuffered cache) the cache can be enabled / disabled there, regardless to the bios settings.

Commented Nov 14, 2018 at 16:55

Ah OK. I don't exactly know what this setting does in combination with a dedicated HDD controller with RAM and a BBU, but I do know that this setting is disabled by default to prevent data loss of the AD database in case of a power outage.

Commented Nov 14, 2018 at 17:11

Yes, Active Directory attempts to disable the disk write cache when the service starts. Any disk that holds a database should never have write caching enabled. That includes Exchange and SQL Server. Disk write caching should also be disabled if there is an array controller cache.

Commented Nov 14, 2018 at 17:43

@GregAskew After reading this my question sounds a bit naive to me. I would humbly accept this as answer :-)