Thousands of computers from all over the world were infected by the ransomware, WannaCry, last week. Fortunately, the malware was stopped by a 22-year-old computer security researcher before it could create further damage.

If you’re concerned about your Windows PC being infected by the malware in the future, here are a few things that you can do to prevent WannaCry from attacking your Operating System.

Always backup your operating system

The first thing you should do is make a backup of your Windows operating system. Just in case you’ve been infected by the malware, you have your files protected in either the cloud or on an external hard drive.

Install patches for your Windows PC

WannaCry attacks a vulnerable code in Windows 10, which was already patched by Microsoft on March 14. If you have set your Windows PC to install patches automatically, the chances of you being attacked by the malware are slim. However, if you haven’t installed the patch, it’s very prudent to download and install the security update as soon as possible.

It’s important to know which version of Windows operating system is running on your computer to know the exact patch to download. For those running Windows 10, go to the “Start” button, type “About Your PC.” Under the PC version, take a look at the edition and system type, whether it’s a 32-bit or 64-bit version.

Avoid using pirated software for your Windows PC

The majority of the infected computers came from Asia and Eastern Europe. It is speculated that these regions are hit more than others simply because of their higher use of pirated or unofficial software. Pirated software cannot be registered on a Windows PC, thus Microsoft won’t be able to send important security updates for non-registered users.

In addition, if you’re using a public WiFi network, let your operating system know that you are on a public network. This enables your Windows PC to close vulnerable software ports that can be jeopardized by outside threats.

It is also highly recommended that you install a security program for your computer that provides some type of protection.

It may not fully protect you from malware; however, it does remind you to be more cautious if you are downloading potentially infected files from the internet.

Have you been infected by the ransomware WannaCry? What precautions do you take to prevent your Windows from being attacked? Let us know in the comments below and don’t forget to like and share this article.