
Paste that script into Notepad by clicking in that app’s window and pressing Ctrl + V."Icon"= "%ProgramFiles%\\Windows -windowstyle hidden -Command \" Start-Process cmd -ArgumentList '/s,/c,start PowerShell.exe Set-MpPreference -EnableControlledFolderAccess Disabled' -Verb RunAs\ "" "MUIVerb"= "Turn off Control folder access" "Icon"= "%ProgramFiles%\\Windows -windowstyle hidden -Command \" Start-Process cmd -ArgumentList '/s,/c,start PowerShell.exe Set-MpPreference -EnableControlledFolderAccess Enabled' -Verb RunAs\ "" It protects your data by checking against a list. "MUIVerb"= "Turn on Control folder access" Controlled folder access helps you protect valuable data from malicious apps and threats, such as ransomware. "MUIVerb"= "Turn On or Off Control folder access" "Icon"= "%ProgramFiles%\\Windows Defender\\EppManifest.dll,-101" Then select this script text, and press the Ctrl + C key combination: Windows Registry Editor Version 5.You can add such a CFA option to the right-click menu by setting up and running a registry script like this: Then you’ll be able to access a Turn on Control folder access setting directly from the desktop area of Windows. Go to Start > Settings > Update & Security > Windows Security > Virus & threat protection. How to Turn on Controlled Folder Access From the Windows Context MenuĪlternatively, you can create a context menu shortcut for enabling/disabling controlled folder access. A folder exclusion will apply to all subfolders within the folder as well.
