search
HomeCommon ProblemHow to add or remove folders to Controlled Folder Access in Windows 11 and 10
How to add or remove folders to Controlled Folder Access in Windows 11 and 10Apr 18, 2023 pm 03:31 PM
softwarefolderControlled Documentswindows 11controlled folder

Microsoft has launched an antivirus software that helps protect folders from any other application called Defender Antivirus. In a ransomware attack, all the folders and files within it are compromised and you will not be able to use them as it will be locked by another virus process. So when you add a folder to Controlled Folder Access, it provides extra security and prevents these ransomware attacks. By default, Windows adds folders such as Documents, Pictures, Videos, etc. in the user directory to Controlled Folder Access. You need to be logged in as SystemAdministrator to add or remove folders from Controlled Folder Access. In this article we have explained some of the ways you can do this.

How to add or remove folders to Controlled Folder Access in Windows 11 using Settings

Step 1: Press the Windows R key simultaneously on your keyboard to open the Run dialog box.

Step 2: Type windowsdefender: in the Run dialog box and press the Enter key on your keyboard to open Windows Security .

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 3: Select Virus & Threat Protection on the left side of Window Security. How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 4: On the right side of the window, scroll down and click Management Settings under the Virus & Threat Protection Settings option as shown below.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 5: Then, at the bottom of the Virus & Threat Protection Settings page, click the Manage Controlled Folder Access option as shown below .

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 6: Click the Controlled Folder Accesstoggle button to turn it on.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 7: Accept the UAC prompt and enable Controlled Folder Access by clicking Yes as shown.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 8: After enabling Controlled Folder Access, click on Protected Folders to view the list of folders as shown below.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 9: Click Yes" again to accept the UAC prompt to continue.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 10: Then, click the Add Protected Folder button to add the required folders.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 11: Browse to and select the folder you want to add.

Step 12: Then, click the Select Folder button as shown in the image below.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 13: Now you can see that the folder you selected has been added to the protected folder list.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 14: If you want to remove a protected folder from the list, just click on the folder.

Step 15: Then you will see the Delete button under the protected folder. Please click on it and delete the protected folder immediately.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 16: Once completed, close the Windows Security window.

that's all.

How to add or remove folders to Controlled Folder Access in Windows 11 using the Local Group Policy Editor

Step 1: Press Windows R# simultaneously on your keyboard ## key to open the Run dialog box.

Step 2: Type

gpedit.msc in the Run dialog box, and then press the Enter key to open the Local Group Policy Editor.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 3: Browse the given path below to access the

Controlled Folder Access option.

计算机配置> 管理模板> Windows 组件> Microsoft Defender 防病毒> Microsoft Defender Exploit Guard> 受控文件夹访问

Step 4: Select

Controlled Folder Access on the left panel of the Local Group Policy Editor.

Step 5: Then, on the right side of the window, double-click the

Configure protected folder option as shown in the image below.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 6: In the Configure Protected Folders window, select the

Enabled radio button and click Show button, as shown below.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 7 步:在“显示内容”窗口中,在“值名称”字段中输入要添加到受控文件夹访问的文件夹的路径。

第 8 步:然后,在字段中输入0 。

步骤 9:对于另一个多个文件夹,按照步骤 8 中的说明依次输入文件夹的路径。

第 10 步:单击“确定”继续。

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 11 步:要从受控文件夹访问中删除文件夹,请单击启用,然后如前所述点击显示按钮。

第 12 步:然后,从“显示内容”窗口中删除/清除文件夹的路径。

步骤 13:完成后关闭本地组策略编辑器窗口。

就这样。

如何使用 PowerShell 在 Windows 11 中向受控文件夹访问添加或删除文件夹

第 1 步:按键盘上的Windows + R键打开“运行”对话框。

第 2 步:然后,在运行框中键入powershell ,然后按CTRL + SHIFT + ENTER键以管理员 身份打开PowerShell应用程序。

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 3 步:要将文件夹添加到受控文件夹访问权限,请复制并粘贴以下命令,然后按Enter键执行。

注意:请将D:\Javascript替换为要添加到受控文件夹访问的文件夹的路径。

PowerShell Add-MpPreference -ControlledFolderAccessProtectedFolders "D:\Javascript"

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 4 步:如果要从受控文件夹访问中删除任何文件夹,请执行以下给定命令。

注意:请将D:\Javascript替换为要从受控文件夹访问中删除的文件夹的路径。

PowerShell 删除-MpPreference -ControlledFolderAccessProtectedFolders "D:\Javascript"

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 5 步:完成后,关闭 PowerShell 应用程序。

就这样。

如何使用注册表编辑器在 Windows 11 中向受控文件夹访问添加或删除文件夹

注意:在继续使用此方法之前,请保留注册表文件的备份。因为如果注册表文件出现问题可能会损坏您的系统,您可以随时将其恢复。

步骤 1:同时按键盘上的Windows + R键以打开运行对话框。

第 2 步:然后,在运行框中键入cmd并同时按CTRL + SHIFT + ENTER键以管理员身份打开命令提示符

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第3步:一一执行以下命令。

set key="HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\受控文件夹访问\ProtectedFolders"
注册添加 %key%

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 4 步:关闭命令提示符。

第 5 步:在键盘上同时按Windows + R键以打开运行命令框。

第 6 步:在运行框中键入regedit ,然后按Enter键打开注册表编辑器

步骤 7:通过单击是继续接受 UAC 提示。

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 8 步:将以下给定路径复制并粘贴到空白且清晰的地址栏中。

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access

第9步:然后右键单击受控文件夹访问并选择新建> DWORD(32位)值。

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 10 步:将新创建的 DWORD 值重命名为ExploitGuard_ControlledFolderAccess_ProtectedFolders并双击打开它。

第 11 步:之后,在 Value data 字段中输入1并单击OK

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 12 步:再次将以下路径复制并粘贴到空地址栏中,然后按Enter键。

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\受控文件夹访问\ProtectedFolders

第 13 步:然后,确保选中左侧的ProtectedFolders注册表项。

第 14 步:在右侧,右键单击空白区域并选择New > String Value

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

第 15 步:将字符串值重命名为要添加到受控文件夹访问的文件夹的路径。

第 16 步:双击打开它并在数值数据字段中输入0 ,然后单击确定。

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 17: If you want to remove the folder from Controlled Folder Access, right-click on the string value folder path and select the Remove option from the context menu as shown below.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 18: Click "Yes" to confirm deleting the value as shown below.

How to add or remove folders to Controlled Folder Access in Windows 11 and 10

Step 19: When finished, close Registry Editor.

that's all.

Hope this article is useful.

The above is the detailed content of How to add or remove folders to Controlled Folder Access in Windows 11 and 10. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:云东方. If there is any infringement, please contact admin@php.cn delete
telegram是什么软件telegram是什么软件Jul 07, 2022 pm 05:05 PM

Telegram是一款跨平台的即时通讯软件,用户可以相互交换加密与自毁消息,发送照片、影片等所有类型文件;Telegram有加密聊天的功能,使用这种功能,聊天双方的内容完全保密,不会担心被监控或被第三方偷窥。官方提供Android、iOS、Windows、macOS、Linux和网页版等多种平台客户端;同时官方开放应用程序接口,有许多第三方的客户端可供选择 。

armoury crate是什么软件armoury crate是什么软件Jul 18, 2022 pm 03:52 PM

armoury crate是一款简易实用,功能全面的华硕系统控制软件;通过Armoury Crate平台,可以启动主页面上的系统性能模式调整、设置相关应用软件、获取系统信息,当机器连接支持的外设时,也可以使用Armoury Crate中所整合的Lighting、AURA Sync功能进行各种灯光特效的设定。

xrkit是什么软件xrkit是什么软件Jul 18, 2022 pm 03:13 PM

XRKit是为华为手机场景提供场景化、组件化的AR解决方案的框架软件,也就为华为相机,提供了虚拟模型在真实世界中的呈现。XRKit软件支持AR SDK,能与Unity3D引擎兼容,包括PTC Vuforia,ARKit,ARCore等。为AR呈现能力、人脸特效、光影特效;它属于华为XR生态的基础性软件。

glance by mirametrix是什么软件glance by mirametrix是什么软件Jul 28, 2022 am 10:59 AM

glance by mirametrix是一款眼球追踪软件;glance是由Mirametrix开发的应用程序,软件配合红外摄像头可识别用户脸和眼睛的方向,其中主要包括了状态检测、智能指针和窗口分屏三个功能。

推特是什么软件推特是什么软件Jul 13, 2022 am 11:07 AM

推特(Twitter)是一个社交网络及微博客服务软件,是一家美国的公司;Twitter利用无线网络、有线网络、通信技术进行即时通讯,是微博客的典型应用,允许用户将自己的最新动态和想法以短信息的形式发送给手机和个性化网站群。

ldplayer是什么软件ldplayer是什么软件Aug 02, 2022 pm 02:59 PM

ldplayer是一款多功能Android操作系统的模拟器,通过它可以直接在PC上运行Android智能手机游戏,是将家用PC或笔记本电脑转变为运行移动软件的游戏机的方法;ldplayer可以用来进行联网,用户可以和其他人一起开启联机对战。

rav endpoint protection是什么软件rav endpoint protection是什么软件Aug 11, 2022 pm 04:06 PM

rav endpoint protection是瑞星杀毒软件;RAV是“RisingAnti-virus”的缩写,是瑞星反病毒软件的意思,瑞星杀毒软件采用获得欧盟及中国专利的六项核心技术,形成全新软件内核代码,具有八大绝技和多种应用特性。

commercial service是什么软件commercial service是什么软件Aug 11, 2022 pm 04:17 PM

commercial service指的是商业服务软件;该软件主要为提供产品维修、系统升级、检测换机以及产品咨询等服务,服务的产品包括手机、电视、手表、耳机以及其他配件。

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!