Yes, Avast can detect and block WannaCry on your Windows computer. Whether you use Windows 11, Windows 10, or any other version, you can use the Avast One to detect and remove WannaCry ransomware from your computer. It is one of the best options when you want to get a shield against this ransomware.