Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows defender blocked #52

Open
voctotgexp opened this issue Apr 29, 2024 · 3 comments
Open

Windows defender blocked #52

voctotgexp opened this issue Apr 29, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@voctotgexp
Copy link

I got this error:

_Get-MpComputerStatus : A general error occurred that is not covered by a more specific error code.
At C:\Program Files\WindowsPowerShell\Modules\HardeningKitty\0.9.2\HardeningKitty.psm1:1196 char:37

  •                 $ResultOutput = Get-MpComputerStatus
    
  •                                 ~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (MSFT_MpComputerStatus:ROOT\Microsoft...pComputerStatus) [Get-MpComputerS
      tatus], CimException
    • FullyQualifiedErrorId : HRESULT 0x800106ba,Get-MpComputerStatus

The Hardening Score is: 3.18
Unable to find the specified field.__

Seemed Windows Defender blocked or disabled. Is there any way to get around? Thank you

@0x6d69636b 0x6d69636b self-assigned this Apr 29, 2024
@0x6d69636b 0x6d69636b added the question Further information is requested label Apr 29, 2024
@0x6d69636b
Copy link
Member

Please post the output of the Get-MpComputerStatus command in PowerShell. Are you running antivirus software other than Microsoft Defender?

@voctotgexp
Copy link
Author

voctotgexp commented Apr 29, 2024 via email

@0x6d69636b 0x6d69636b removed the question Further information is requested label May 1, 2024
@0x6d69636b
Copy link
Member

I have tried to replicate the error by installing a different AV engine but Get-MpComputerStatus does not break on my test system. Normally, the try ... catch should prevent your error. Could you please run this command and post the result here:

try { $Output = Get-MpComputerStatus -ErrorAction SilentlyContinue; $Result="SUCCESS" } catch { $Result="FAILED" } $Result

@0x6d69636b 0x6d69636b added the question Further information is requested label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants