You still have two AVs registered: Microsoft Defender and Kaspersky Internet Security. With any 3rd‑party AV present, Defender goes into passive mode and Controlled Folder Access (CFA) can’t be managed. Decide which you want to use:
Option A — Use Microsoft Defender + CFA (remove Kaspersky)
1) Uninstall Kaspersky (Apps > Installed apps > Kaspersky Internet Security > Uninstall), reboot.
2) Run Kaspersky’s cleanup tool (kavremover) if you ever had older versions, reboot again.
3) Verify only Defender is registered:
Get-CimInstance -Namespace root/SecurityCenter2 -Class AntivirusProduct
4) Start/enable Defender and turn on CFA:
sc.exe config WinDefend start= auto
sc.exe start WinDefend
Set-MpPreference -EnableControlledFolderAccess Enabled
(Optional allow‑lists)
Add-MpPreference -ControlledFolderAccessAllowedApplications "C:\Path\App.exe"
Add-MpPreference -ControlledFolderAccessProtectedFolders "D:\Data"
If the Windows Security UI still shows “limited access,” reset it:
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
Option B — Keep Kaspersky
- CFA in Windows will remain unavailable. Use Kaspersky’s own ransomware/“Protected Folders” features (System Watcher/Ransomware Remediation) and configure allow‑lists there.
- If you still want occasional Defender scans, enable “Periodic scanning” in Windows Security.
Tell me which path you want, and if you go with Option A but Defender still won’t enable CFA, paste:
Get-MpComputerStatus | select AMServiceEnabled,AntivirusEnabled,RealTimeProtectionEnabled,PassiveMode
sc query WinDefend
so I can provide the next exact fix.