Ransomware is one of the most serious cybersecurity threats facing computer users today. This type of malware can lock, encrypt, or block access to your personal files and then demand payment to restore them. Important documents, family photos, videos, work projects, and financial records can all become inaccessible within minutes if a ransomware attack succeeds.
To help protect users from these threats, Windows 11 includes built-in ransomware protection through Windows Security and Microsoft Defender Antivirus. One of the key features is Controlled Folder Access, which prevents unauthorized applications from making changes to protected folders. Windows also provides additional ransomware protection tools such as OneDrive recovery options and protection history monitoring.
Although Windows 11 includes these security features, ransomware protection may not always be enabled by default. Fortunately, turning it on is simple and takes only a few minutes. Once enabled, Windows actively monitors protected folders and blocks suspicious applications from modifying your files.
This guide explains several ways to turn on ransomware protection in Windows 11 and configure it for maximum security.
What Is Ransomware Protection?
Ransomware protection is a security feature within Windows Security designed to protect important files from unauthorized changes.
The feature works by:
- Monitoring protected folders.
- Blocking suspicious applications.
- Preventing unauthorized file encryption.
- Alerting users to potential threats.
- Helping recover files through cloud backup services.
The main component of Windows ransomware protection is Controlled Folder Access, which restricts file modifications to trusted applications only.
Method 1: Turn On Ransomware Protection Through Windows Security
This is the easiest and most commonly used method.
Follow these steps:
- Press Windows + S.
- Type Windows Security.
- Open the application.
- Click Virus & Threat Protection.
- Scroll down and select Manage Ransomware Protection.
- Turn on Controlled Folder Access.
- Click Yes if prompted by User Account Control.
Once enabled, Windows begins protecting important folders immediately.
This feature helps stop ransomware before it can encrypt your files.
Method 2: Turn On Ransomware Protection Through Settings
You can also access ransomware protection through Windows Settings.
Follow these steps:
- Press Windows + I.
- Select Privacy & Security.
- Click Windows Security.
- Choose Open Windows Security.
- Click Virus & Threat Protection.
- Select Manage Ransomware Protection.
- Enable Controlled Folder Access.
The protection will activate instantly and begin monitoring protected folders.
Method 3: Enable Ransomware Protection Using PowerShell
Advanced users can use PowerShell to enable the feature.
Follow these steps:
- Press Windows + X.
- Select Terminal (Admin).
- Enter:
Set-MpPreference -EnableControlledFolderAccess Enabled
- Press Enter.
Windows Defender will enable ransomware protection immediately.
This method is useful for system administrators and users who prefer command-line tools.
Method 4: Verify That Ransomware Protection Is Enabled
After enabling the feature, you should verify that it is active.
Follow these steps:
- Open Windows Security.
- Select Virus & Threat Protection.
- Click Manage Ransomware Protection.
- Confirm that Controlled Folder Access is turned on.
You can also verify using PowerShell:
Get-MpPreference
Check the Controlled Folder Access settings in the results.
Verification ensures your protection is working correctly.
Method 5: Add Additional Protected Folders
By default, Windows protects common user folders, but you can add more.
Follow these steps:
- Open Manage Ransomware Protection.
- Click Protected Folders.
- Select Add a Protected Folder.
- Browse to the folder you want to secure.
- Click Select Folder.
This is useful for:
- Business documents
- Project folders
- External drives
- Financial records
- Backup directories
Adding important folders increases protection against ransomware attacks.
Method 6: Allow Trusted Applications
Sometimes legitimate software may be blocked from modifying protected files.
Follow these steps:
- Open Manage Ransomware Protection.
- Select Allow an App Through Controlled Folder Access.
- Click Add an Allowed App.
- Choose the trusted application.
- Confirm your selection.
Only allow applications that you completely trust.
This ensures security while preventing disruptions to legitimate software.
Method 7: Review Protection History
Windows records ransomware-related events and blocked applications.
Follow these steps:
- Open Windows Security.
- Select Protection History.
- Review recent events.
You can identify:
- Blocked applications
- Security warnings
- Potential ransomware attempts
- Controlled Folder Access actions
Regularly reviewing protection history helps you monitor security activity.
Method 8: Configure OneDrive Recovery Protection
Windows ransomware protection integrates with OneDrive.
Follow these steps:
- Open Manage Ransomware Protection.
- Locate OneDrive Recovery.
- Sign in to OneDrive if necessary.
- Enable file synchronization.
If ransomware affects your files, cloud backups can help restore previous versions.
This provides an additional layer of protection beyond local security measures.
Method 9: Enable Microsoft Defender Real-Time Protection
Ransomware protection works best when Microsoft Defender is fully active.
Follow these steps:
- Open Windows Security.
- Click Virus & Threat Protection.
- Select Manage Settings.
- Enable:
- Real-Time Protection
- Cloud-Delivered Protection
- Tamper Protection
These features help identify ransomware before it reaches protected folders.
Keeping them enabled strengthens overall system security.
Method 10: Keep Windows Security Updated
Updated security intelligence improves ransomware detection.
Follow these steps:
- Open Windows Security.
- Select Virus & Threat Protection.
- Click Protection Updates.
- Choose Check for Updates.
You should also install Windows updates regularly through Settings.
Updated definitions help Microsoft Defender recognize the latest ransomware threats.
How Ransomware Protection Works
When ransomware protection is active:
- Windows monitors protected folders.
- Trusted applications are allowed to make changes.
- Unknown applications are blocked.
- Suspicious activity generates alerts.
- Unauthorized encryption attempts are prevented.
This process happens automatically in the background without affecting normal computer usage.
For most users, ransomware protection provides strong defense against one of the most dangerous forms of malware.
Benefits of Turning On Ransomware Protection
Enabling ransomware protection offers several advantages:
- Protects personal files.
- Blocks unauthorized file changes.
- Reduces ransomware risks.
- Works automatically in the background.
- Integrates with Microsoft Defender.
- Supports OneDrive recovery options.
- Protects custom folders.
- Provides real-time monitoring.
These benefits make it one of the most valuable security features in Windows 11.
Frequently Asked Questions
1. Is ransomware protection available in Windows 11 Home?
Yes. Ransomware protection is available in Windows 11 Home and other editions that include Microsoft Defender Antivirus.
2. Can ransomware protection block legitimate applications?
Yes. Occasionally, trusted applications may be blocked. You can add them to the allowed apps list if necessary.
3. Does ransomware protection slow down my computer?
In most cases, the performance impact is minimal and not noticeable during everyday use.
4. Should I keep ransomware protection enabled all the time?
Yes. Keeping ransomware protection enabled provides continuous protection against unauthorized file modifications and ransomware attacks.
Final Thoughts
Ransomware attacks can cause significant damage by encrypting important files and demanding payment for their recovery. Fortunately, Windows 11 includes powerful built-in ransomware protection through Windows Security and Microsoft Defender Antivirus. By enabling Controlled Folder Access and related security features, you can greatly reduce the risk of losing valuable data to ransomware.
Windows makes it easy to activate ransomware protection through Windows Security, Settings, or PowerShell. You can also customize protected folders, allow trusted applications, review security events, and integrate cloud backup solutions such as OneDrive for additional protection.
For the best security, keep ransomware protection enabled, maintain updated Windows Security definitions, use real-time protection, and regularly back up important files. Together, these measures provide a strong defense against modern ransomware threats and help keep your data safe in Windows 11.


