On Windows 10, start by pressing Windows key + X, selecting PowerShell (Admin), and pasting the following code:
1 | Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol |
The SMB1 is an old protocol. More recent versions are not vulnerable to the WanaCryptor 2.0 variant.