Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Failed to retrieve Microsoft Defender status

Đang mở
#4,136 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
java, powershell
Lĩnh vực
security

Hướng nghiên cứu

Compare this report with the linked issues in eclipse-platform/.github#192 and eclipse.platform.ui#1758 and #2447 to find the relevant Defender-status code and tests; the payload names no source files or test entry points. Reproduce the reported Passive Audit Mode value with the shown PowerShell query, then determine whether the existing status handling should recognize it or use AntivirusEnabled or RealTimeProtectionEnabled. Done means Defender status is retrieved accurately in this scenario.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Similar past issues:

On my machine (Windows 11 24H2 26100.8457) Defender for Endpoint is installed alongside a third-party AV scanner. The unrecognized AmRunningMode value is Passive Audit Mode in this case, for which I can't find any documentation on MS sites but it does appear when queried directly with the PowerShell command:

PS C:\> Get-MpComputerStatus | Select-Object AMRunningMode

AMRunningMode
-------------
Passive Audit Mode

On another note, it might easier to check properties AntivirusEnabled and/or RealTimeProtectionEnabled on the same object as these are boolean values and reflect the "on" status of Defender more accurately: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/defender/msft-mpcomputerstatus#syntax:~:text=boolean%20%20AntivirusEnabled

Ngôn ngữ chính
Java
Star
124
Fork
269
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
72

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-platform/eclipse.platform.ui

Tất cả issue của eclipse-platform/eclipse.platform.ui

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.