Run Windows Powershell as administrator, then enter:
Add-MpPreference -ExclusionPath “C:\Path\to\parent folder”
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
how can be possible to create in Windows Defender an exception for directory (with all sub directories), where can be stored xlsx files (which can contain macro) and will be (macros) predefined enabled (for rest directories must be macro predefined disabled and can be manualy enabled via excel menu button).
Thank you in advance.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Run Windows Powershell as administrator, then enter:
Add-MpPreference -ExclusionPath “C:\Path\to\parent folder”