Share via

Defender - excel macro exception

Anonymous
2022-10-04T11:53:27+00:00

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.

Windows for home | Windows 10 | Security and privacy

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.

0 comments No comments

Answer accepted by question author

_AW_ 67,926 Reputation points Volunteer Moderator
2022-10-04T11:59:07+00:00

Run Windows Powershell as administrator, then enter:

Add-MpPreference -ExclusionPath “C:\Path\to\parent folder”

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful