Family Encyclopedia >> Electronics

How to Protect Your PC from Ransomware Using Windows Built-in Security Features

Ransomware—malicious software that locks access to your files until you pay the attackers—has plagued PC users and businesses for years. With the risk of losing irreplaceable documents, family photos, or critical data, proactive protection is essential. Since Windows 10, Microsoft has integrated powerful ransomware defenses into Windows Security, helping safeguard your system effectively.

Windows offers two key layers of ransomware defense. First, real-time malware scans (enabled by default) prevent infections. However, if ransomware slips through, these scans alone can't protect your files.

The second layer, Controlled Folder Access, must be enabled manually. It restricts changes to protected folders to trusted apps only, blocking ransomware from encrypting files. Note: While highly effective, it may occasionally block legitimate apps, requiring minor troubleshooting—a trade-off for enhanced security I've encountered during testing.

How to Enable Ransomware Protection

Access Windows Security via the Start menu search or Settings > Privacy & Security > Windows Security.

How to Protect Your PC from Ransomware Using Windows Built-in Security Features

Go to "Virus & threat protection" and select "Manage ransomware protection."

How to Protect Your PC from Ransomware Using Windows Built-in Security Features

Toggle on "Controlled folder access" to shield Documents, Pictures, Videos, and Music folders from untrusted apps.

How to Protect Your PC from Ransomware Using Windows Built-in Security Features

How to Customize Controlled Folder Access

Once enabled, manage settings via "Block history," "Protected folders," and "Allow an app through controlled folder access." By default, only Microsoft-approved apps can modify protected folders.

Add custom folders or allow specific apps as needed.

How to Protect Your PC from Ransomware Using Windows Built-in Security Features

Block History

Microsoft deems certain apps "friendly," but others may trigger blocks. Check "Block history" for errors like "file not found" when saving—a common issue I've seen. It lists blocked apps and targeted folders.

How to Protect Your PC from Ransomware Using Windows Built-in Security FeaturesHow to Protect Your PC from Ransomware Using Windows Built-in Security Features

Protected Folders

Protect extras like Desktop: Select "Protected folders" > "+ Add a protected folder."

How to Protect Your PC from Ransomware Using Windows Built-in Security Features

Choose the folder and select it. Remove custom ones via the same screen.

How to Protect Your PC from Ransomware Using Windows Built-in Security Features

Allow an App Through Controlled Folder Access

On the Ransomware protection page, choose "Allow an app through controlled folder access" > "+ Add an allowed app."

Select from "Recently blocked apps" and add with the + button.

How to Protect Your PC from Ransomware Using Windows Built-in Security FeaturesHow to Protect Your PC from Ransomware Using Windows Built-in Security Features

This is typically a one-time fix per app. Disable protection cautiously if you're at high risk without backups.

Additional Ways to Protect Yourself

Treat Windows protection as a safety net. Combine it with these expert-recommended practices for comprehensive defense.

Stay Safe Online

Ransomware spreads via phishing emails, outdated software exploits, or fake downloads. Verify file extensions (right-click > Properties); avoid .exe or .msi disguised as docs. Microsoft's guide highlights common infection vectors like malicious links or attachments.

Keep Software Updated

Ensure Windows, browsers, and apps have the latest patches. Check via Settings > Windows Update or Microsoft Store > Library > Get updates.

Maintain Regular Backups

No defense is foolproof. Back up files locally and to the cloud to recover from attacks, hardware failure, or loss.

What to Do If Infected

Act quickly:

  1. Disconnect from the internet to prevent spread.
  2. Never pay the ransom—it's often illegal and no guarantee of file recovery.
  3. Avoid connecting backups, as ransomware may target them.

Run a full Windows Security scan or try Malwarebytes (free for personal use). If unsuccessful, reset your PC or seek professional help. Restore from clean backups only after verification.