Stop Ransomware Cold: Turn On Windows' Hidden Folder Shield

Controlled folder access is built into Windows Security, free and switched off by default. Here's how to turn it on without breaking your apps.

FREE$34.95UpdateStar PremiumShare a link to claimPicture this: you open your Pictures folder and every family photo has a strange new file extension. A text file in the middle demands payment in crypto. Ransomware is every PC owner's nightmare, and antivirus doesn't always catch a brand-new strain in time. The good news: Windows 11 and Windows 10 include an extra lock called Controlled folder access. It only lets trusted programs change files in your most important folders, and everything else gets bounced at the door. The catch? Microsoft ships it switched off. Let's change that.

Before you start: check your antivirus

Controlled folder access is part of Windows Security and needs Microsoft Defender Antivirus as your active antivirus with real-time protection turned on. If you use a third-party suite, Windows turns Defender off automatically, and this feature won't be available. In that case, look for a similar ransomware shield in your own security product.

Step 1: Switch on Controlled folder access

  1. Open the Start menu, type Windows Security and open the app.
  2. Click Virus & threat protection.
  3. Scroll down and click Manage ransomware protection.
  4. Under Controlled folder access, flip the switch to On and confirm the User Account Control prompt with Yes.

Can't find the link? The same page is also reachable via Virus & threat protection settings > Manage settings, then Manage controlled folder access further down. Either way, you land on the Ransomware protection page.

Once the switch is on, two new links appear: Protected folders and Allow an app through Controlled folder access. Those are your control panel.

Step 2: Check and extend your protected folders

By default, Windows guards common folders such as Documents, Pictures, Videos and Music. You can't remove these defaults, but you can add your own. That matters if your photos live on a second drive or your work sits in a folder like D:\Projects.

  1. Click Protected folders and confirm with Yes.
  2. Click Add a protected folder.
  3. Pick the folder and confirm.

Repeat for every place that holds files you couldn't bear to lose. Network shares can also be added, though access to them may get a little slower.

Step 3: Let your trusted apps through

Most well-known programs, like Office or your browser, are recognised and allowed automatically. Less common tools, older games or niche editors may suddenly fail to save files. When that happens, Windows shows a notification that an app was blocked. Don't switch the protection off. Instead, allow the app:

  1. On the Ransomware protection page, click Allow an app through Controlled folder access and confirm with Yes.
  2. Click Add an allowed app.
  3. Choose Recently blocked apps to pick the program from a list of recent blocks. If it's not there, choose Browse all apps and select the program's .exe file.
  4. Restart the app. The new permission only takes effect when the program starts.

Only allow software you actually trust. Any app on this list gets full access to your protected folders. If you lost a save in the moment, store the file somewhere else first, allow the app, then save it to its usual place again.

Want to see what was blocked and when? Open Protection history in Windows Security, where recent blocks and other security events are listed.

Trick 4: Block sneaky bundled software too

While you're in Windows Security, check one more setting that keeps unwanted extras off your PC:

  1. Click App & browser control.
  2. Under Reputation-based protection, click Reputation-based protection settings.
  3. Make sure Potentially unwanted app blocking is switched on.

It stops adware and other unwanted extras that sneak in bundled with free downloads, a common first step towards nastier infections.

Trick 5: Add a recovery plan with OneDrive

Blocking attacks is great, but a backup is what saves you when something slips through. The Ransomware data recovery section on the same page is linked with OneDrive. If you back up your Desktop, Documents and Pictures with OneDrive, Windows can guide you through getting your files back after an attack.

Microsoft 365 subscribers get an extra safety net: OneDrive can roll back your entire cloud storage to any point in the last 30 days.

  1. Sign in at onedrive.com and open Settings > Options.
  2. Click Restore your OneDrive.
  3. Pick a date from the list or choose Custom date and time, review the activity, then click Restore.

If OneDrive detects a ransomware attack itself, it suggests a restore date for you. Free accounts don't get the full rollback, so consider an additional offline backup on an external drive that you unplug after each run.

Our verdict

Controlled folder access is one of the most effective free security features in Windows, and almost nobody uses it. Home users with irreplaceable photos and documents gain the most, and the only price is allowing the occasional app by hand. If you do one thing today, flip that switch in Manage ransomware protection and add any folders outside your user profile.

Related on UpdateStar

about author