You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

解决IntelliJ中添加目录排除后仍出现Microsoft Defender警告问题

IntelliJ IDEA仍弹出Microsoft Defender排除警告的问题

我在Windows系统上使用IntelliJ IDEA 2024.1.4(旗舰版),每次打开新项目时都会弹出如下警告弹窗:

The IDE has detected Microsoft Defender with Real-Time Protection enabled. 
It might severely degrade IDE performance. It is recommended to add the
following paths to the Defender folder exclusion list:
    C:\Users\ellen\.gradle 
    C:\Users\ellen\AppData\Local\JetBrains\IntelliJIdea2024.1   
    C:\Users\ellen\IdeaProjects\fundies1-hw2 
Choose "Automatically" to run a script that excludes these paths (note: 
Windows will ask for administrative privileges). Choose "Manually" to see
Defender configuration instructions.

选择「Manually」后会跳转到JetBrains的配置指引页面,我按照指引添加了C:\Users\ellen\.gradle、C:\Users\ellen\AppData\Local\JetBrains\IntelliJIdea2024.1,以及所有项目的父目录C:\Users\ellen\IdeaProjects,但打开该目录下的子文件夹项目时,仍会收到相同警告(截图显示已排除父目录但仍触发警告)。

根据微软官方文档说明,排除文件夹时其子文件夹会被自动排除,请问为何仍会收到警告?如何让Microsoft Defender彻底排除我所有的项目文件夹(假设IntelliJ未误报)?

内容的提问来源于stack exchange,提问作者Ellen Spertus

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.20 10:35:13