-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
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]