https://www.tomsguide.com/us/petya-ransomware-attack,news-25389.html
"I found a way to stop the malware," Serper tweeted. "Create a file in c:windows called perfc with no extension and #petya #Nopetya won't run!"
Remember to change the file permissions and make it read only.