Ransomware protection basics
Ransomware locks your files and demands payment to release them. No single tool stops every attack, so the goal is several small layers plus a backup you can restore from.
How it usually arrives
- Email attachments or links that look like invoices or delivery notices.
- Pirated or unofficial software installers.
- Outdated software with known security holes.
- Weak or reused passwords on remote access tools.
Build your layers
- Update everything. Install Windows, browser and app updates promptly.
- Keep Defender on. Real-time and cloud-delivered protection should both be enabled (see the Defender setup guide).
- Enable Controlled folder access. In Windows Security, open Ransomware protection and switch it on to guard Documents, Pictures and other folders.
- Back up offline. Keep one backup copy on a drive that is unplugged when not in use, plus a cloud copy with version history. See the backup guide.
- Think before you click. Check the sender address, hover over links and be careful with unexpected attachments, especially Office files asking you to enable macros.
- Use a standard account for daily work and an administrator account only for installing software.
- Protect remote access. Turn off Remote Desktop if you do not use it and use strong, unique passwords with two-step sign-in.
If your files are locked
- Disconnect the PC from Wi-Fi and the network straight away.
- Do not restart repeatedly or delete the ransom note. It can help identify the strain.
- Photograph the message, then run a Full and an Offline scan with Defender.
- Check nomoreransom.org for free decryption tools for known strains.
- Restore from your clean backup after the PC has been cleaned. Consider a Windows reset if the infection persists.
- Report the incident to your local cybercrime authority. In the US, use the FBI Internet Crime Complaint Center at ic3.gov.
About paying: security agencies advise against it. Payment gives no assurance that your files will come back and can mark you as a repeat target.
More help: browse the antivirus section or malware removal steps.