![]() ![]() If you want to add a specific app that you trust to access your files and folders, type this command:.> Remove-MpPreference -ControlledFolderAccessProtectedFolders "C:\Users\abcUser\OneDrive - Microsoft" > Add-MpPreference -ControlledFolderAccessProtectedFolders "C:\Users\abcUser\OneDrive - Microsoft" If you want to add a file or folder to be protected:.> Set-MpPreference -EnableControlledFolderAccess Enabled ![]() To Enable Controlled Folder Access by powershell command: Windows system folders are protected by default, and you cannot remove them from the list.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |