Windows Defender is fcking the performance of Windows 11 WSL2
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
### Version
Windows 11 22H2
### WSL Version
- [X] WSL 2
- [ ] WSL 1
### Kernel Version
_No response_
### Distro Version
all
### Other Software
_No response_
### Repro Steps
turn off windows defender real protection
check any app using wsl2 network drive for indexing or reading.
Turn on windows Defender real protection
Try again.
### Expected Behavior
Windows Defender should NOT make WSL2 useless for IntelliJ IDEA , PhpStork , Raider IDE etc.
### Actual Behavior
the reindexing stuck on all not Microsoft owned IDEs
### Diagnostic Logs
I know Microsoft wants people to use VScode but this is just Ugly and super bad practice.
To force people to use stupid editor because Windows Defender is making other IDEs useless in WSL2 is just a dick move.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides only reproduction steps involving Windows Defender real-time protection, WSL2 network-drive access, and IDE indexing; no files, tests, or diagnostic logs are identified. Start by reproducing the indexing stall with Defender enabled and disabled, then determine whether a WSL2 or Defender change is needed; done means affected IDEs no longer stall while accessing WSL2 files.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems, performance, security
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100