允许 windows 防御者下的 windows exel addin(.xll) 文件

问题描述

我有一个 excel 插件插件 (.xll),由于 Windows Defender 被阻止。因此,如何为此文件设置排除项,因为此文件是将部署在客户端计算机上并要求客户端在其安全策略组中添加排除项的 msi 包的一部分。

此 .xll 文件也经过验证来源的数字签名

当 windows 防御者阻止此文件时出现以下警告框并且该文件从目录中删除

enter image description here

解决方法

PS > Add-MpPreference -ExclusionExtension ".xll"

文档中的更多信息和选项:

https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/configure-extension-file-exclusions-microsoft-defender-antivirus?view=o365-worldwide