Note: By enabling write caching, file system corruption and/or data loss could occur if the machine experiences a power, device or system failure and cannot be shutdown properly. More details about these options are available in ASK Answer-ID: 13128 Some of the listed RAID controllers offer additional settings, which allow to change the drive and/or array caching, independant of the used operating system.
The only other way to accomplish this would be to contact the hard drive mananufacturer and find out what the proper procedure would be to change the write cache on the hard drive.
This is because not all drives have Non-Volatile Random Access Memory (NVRAM) area to allow the enable or disable and save the cache setting. They will report that the write cache is back to the original setting after the computer is restarted. Some hard disks do not support the option to enable or disable the write cache on a permanent basis.