Cannot enable write cache on WD RED 4TB (WD40EFRX-68WT0N0)

If the write cache setting is stored within the Green drive’s Identity module (firmware module 02), as I suspect, then the appropriate byte(s) will probably be located within the same section of your Red drive.

Analysis of Western Digital ROYL firmware MOD 02:
http://www.alexsoft.org/viewtopic.php?f=59&t=821

BTW, WD’s “wd5741.exe” tool appears to modify one or more bytes in MOD 02. It does not update the firmware, per se. In fact WD’s firmware is modular. Some modules are stored in flash memory (aka “ROM”) on the PCB, while the bulk of the firmware is stored in a hidden System Area (SA) on the platters. A firmware update generally only targets a few of these modules.