![Virus](/sites/internet-lab.ru/files/styles/shirokiy/public/2019-07/virus.png?itok=Qv7EcmVN)
Для защиты от WannaCry и Petya в Windows 7 достаточно отключить устаревший протокол SMBv1. Выполняем в powershell:
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 0 -Force
Перезагружаемся.