8000 [Bug] Scoop checkup exception · Issue #6583 · ScoopInstaller/Scoop · GitHub
[go: up one dir, main page]

Skip to content

[Bug] Scoop checkup exception #6583

@Ninja3047

Description

@Ninja3047

Bug Report

Current Behavior

When there's another AV running on the system, scoop throws an uncaught exception

$ scoop checkup
Get-MpPreference : Operation failed with the following error: 0x800106ba
At C:\Users\user\scoop\apps\scoop\current\lib\diagnostic.ps1:9 char:14
+         if ((Get-MpPreference).DisableRealtimeMonitoring) { return $t ...
+              ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_MpPreference:root\Microsoft\...FT_MpPreference) [Get-MpPreference], CimException
    + FullyQualifiedErrorId : HRESULT 0x800106ba,Get-MpPreference

Get-MpPreference : Operation failed with the following error: 0x800106ba
At C:\Users\user\scoop\apps\scoop\current\lib\diagnostic.ps1:9 char:14
+         if ((Get-MpPreference).DisableRealtimeMonitoring) { return $t ...
+              ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_MpPreference:root\Microsoft\...FT_MpPreference) [Get-MpPreference], CimException
    + FullyQualifiedErrorId : HRESULT 0x800106ba,Get-MpPreference

No problems identified!

Expected Behavior

No errors (or at least no stack trace, perhaps a warning)

Additional context/output

Possible Solution

System details

Windows version: [e.g. 7, 8, 10, 11]
11

OS architecture: [e.g. 32bit, 64bit, arm64]
64bit

PowerShell version: [output of "$($PSVersionTable.PSVersion)"]

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      26100  7462

Additional software: [(optional) e.g. ConEmu, Git]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0