If you have a backup of your files, you may be able to restore your machine to factory settings using a hidden recovery partition. Or it might be a case of reinstalling Windows. Then you'll have to reinstall your apps and copy over your backed-up files.
"One of the best protection mechanisms are patches", said Marty P. Kamden, CMO of NordVPN.
"Another way to protect yourself is to disrupt a system before it boots, as the ransomware runs on boot. After the device gets infected with a ransomware, it will wait for about an hour until reboot. Reboot is required for a malware to encrypt the system, so in certain cases, if the device gets terminated in the encryption process, it gets disrupted and information can be saved."
His advice is also to avoid clicking on any warning messages, instead closing them down using a keyboard command (such as Alt + F4) or right-clicking on the icon on the Taskbar and closing them that way.
Sign up for CIO Asia eNewsletters.