Raccine, an open source 'vaccine,' prevents ransomware threat actors from using a Windows utility to delete shadow copies of a system's data, but there are a few drawbacks.
https://searchsecurity.techtarget.com/news/252490230/Raccine-A-ransomware-vaccine-with-a-few-catches