Technical Anshu
Tutorials Blog
Defender Settings

Microsoft Defender Settings That Matter Most Against Ransomware

Two PCs with the same antivirus can behave completely differently in a ransomware test. The difference is usually four toggles. Here they are, in the order to check them.

By Technical AnshuWindows 11Settings Guide
Watch: the video on this channel puts a real ransomware test in front of Windows 11 25H2 inside an isolated lab - this guide explains the defence layers such a test exercises, so you can switch them on

People often ask which antivirus won a ransomware test. The more useful question is which settings the PC had. Microsoft Defender ships strong, but PCs in the real world get tweaked - a debloat script here, a helpful forum tip there - and four specific settings quietly end up off. Those four decide whether Defender sees a brand-new threat in time, and whether anything can switch Defender itself off before the attack starts. Open Windows Security > Virus & threat protection > Virus & threat protection settings > Manage settings and walk this list.

Virus & threat protection settings (illustrative panel)
Real-time protection [ On ] Cloud-delivered protection [ On ] Automatic sample submission [ On ] Tamper Protection [ On ] Any one of these found OFF on a normal PC is a finding worth fixing - and worth asking how it got off.
Illustrative settings panel - check your own PC against this list
1

Real Time Protection - the Non Negotiable One

Real-time protection is Defender actually watching files as they are opened, copied and run. With it off, Defender becomes a manual scanner that only helps when someone remembers to run it. It should be On, permanently. If you ever paused it for a specific task, set a same-day reminder to turn it back on - "temporarily off" is how many infections begin.

2

Cloud Delivered Protection - How New Threats Get Recognised Fast

A signature database on your PC can only contain threats someone has already catalogued. Cloud-delivered protection lets Defender ask Microsoft's live intelligence about a suspicious file at the moment it appears, using behavioural and machine-learning analysis that is updated continuously. For ransomware - where the exact file may be hours old - this is frequently the difference between "unknown file, allowed" and "blocked on sight". Keep it On.

3

Automatic Sample Submission - the Quiet Helper

When Defender meets a file it cannot judge locally, sample submission can send that file (or details about it) to Microsoft for deeper analysis and a fast verdict. Turning this off does not make you more private in any meaningful everyday sense - it mostly makes your PC slower to learn. Keep it On; in managed office environments it can be set centrally, which is covered in our Group Policy guide.

4

Tamper Protection - the Guard That Guards the Guards

Attackers know Defender is the obstacle, so a common early move in an intrusion is trying to switch Defender off or add an exclusion for the malicious file. Tamper Protection exists to refuse exactly that: security settings cannot be changed by other programs, scripts or registry edits - only by you, in the Windows Security app, as an administrator. If you find Tamper Protection off on a PC where nobody remembers turning it off, treat that as a warning sign in itself and run a full scan, then an offline scan, before trusting the machine again.

5

Two Habits That Sit Behind the Toggles

  1. Run a full scan after any scare - and use Microsoft Defender Offline scan when something feels wrong but normal scans come back clean; it reboots into a clean environment where hiding is harder.
  2. Keep Windows and Defender intelligence updated automatically. Security intelligence updates arrive far more often than feature updates, and a PC that has been offline or paused for weeks is working from an old map of the threat world.

None of this costs money or needs third-party tools. It is the factory defence, fully awake.

Never add exclusions to Defender because a download site or a video told you to. An exclusion is a permanent blind spot placed exactly where an untrusted file wants to live. If a program genuinely needs one in a managed office, that decision belongs to IT - not to a pop-up.

Watch the Full Video

See the test setup and the defences in action on the Technical Anshu channel, then come back and apply the settings on your own PC.

Watch Full Video
Frequently Asked Questions

Can ransomware turn Defender off by itself?

That is precisely what Tamper Protection is designed to prevent - settings cannot be changed by programs or scripts, only by a signed-in administrator in the Windows Security app. Keeping it on, and using a standard (non-admin) account for daily work, makes silent disabling far harder.

Should I install a second antivirus alongside Defender?

Running two real-time antiviruses usually causes conflicts and slowdowns rather than double safety. A well-configured Defender with cloud protection and Controlled Folder Access is the setup these guides build. Whatever you choose, keep exactly one real-time shield and keep it fully on.

How do I check my settings quickly?

Open Windows Security, go to Virus & threat protection, then Manage settings under Virus & threat protection settings. Real-time protection, cloud-delivered protection, automatic sample submission and Tamper Protection should all read On.

This guide is based on the Technical Anshu Windows 11 ransomware test video - defensive guidance only. Stuck on a step? Ask in the video comments - you will get a reply.