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

scoop checkup needs to check first #4591

Closed
axtens opened this issue Dec 22, 2021 · 4 comments
Closed

scoop checkup needs to check first #4591

axtens opened this issue Dec 22, 2021 · 4 comments
Labels
bug upstream The problem is with the download, not scoop

Comments

@axtens
Copy link
Contributor

axtens commented Dec 22, 2021

Having "fixed" the problems, I still have them as far as scoop checkup is concerned.

C:\Users\bugma\scoop>sudo pwsh
PowerShell 7.2.1
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

PS C:\Users\bugma\scoop> Add-MpPreference -ExclusionPath 'C:\Users\bugma\scoop'
PS C:\Users\bugma\scoop> Add-MpPreference -ExclusionPath 'C:\ProgramData\scoop'
PS C:\Users\bugma\scoop> exit

C:\Users\bugma\scoop>scoop checkup
WARN  Windows Defender may slow down or disrupt installs with realtime scanning.
  Consider running:
    sudo Add-MpPreference -ExclusionPath 'C:\Users\bugma\scoop'
  (Requires 'sudo' command. Run 'scoop install sudo' if you don't have it.)
WARN  Windows Defender may slow down or disrupt installs with realtime scanning.
  Consider running:
    sudo Add-MpPreference -ExclusionPath 'C:\ProgramData\scoop'
  (Requires 'sudo' command. Run 'scoop install sudo' if you don't have it.)
WARN  Found 2 potential problems.
@rashil2000
Copy link
Member

What is the output of (Get-MpPreference).exclusionPath?

@HUMORCE
Copy link
Member

HUMORCE commented Dec 23, 2021

it's a bug with latest windows security (defender)

> (Get-MpPreference).exclusionPath
N/A: Must be and administrator to view exclusions
> scoop checkup
WARN  Windows Defender may slow down or disrupt installs with realtime scanning.
  Consider running:
    sudo Add-MpPreference -ExclusionPath 'C:\Users\HUMOR\scoop'
  (Requires 'sudo' command. Run 'scoop install sudo' if you don't have it.)
WARN  Windows Defender may slow down or disrupt installs with realtime scanning.
  Consider running:
    sudo Add-MpPreference -ExclusionPath 'C:\ProgramData\scoop'
  (Requires 'sudo' command. Run 'scoop install sudo' if you don't have it.)
WARN  Found 2 potential problems.
> sudo powershell
> (Get-MpPreference).exclusionPath
C:\Users\HUMOR\scoop
> scoop checkup
WARN  Windows Defender may slow down or disrupt installs with realtime scanning.
  Consider running:
    sudo Add-MpPreference -ExclusionPath 'C:\ProgramData\scoop'
  (Requires 'sudo' command. Run 'scoop install sudo' if you don't have it.)
WARN  Found 1 potential problem.

@HUMORCE HUMORCE added the bug label Dec 23, 2021
@rashil2000 rashil2000 added the upstream The problem is with the download, not scoop label Dec 23, 2021
@HUMORCE
Copy link
Member

HUMORCE commented Dec 23, 2021

in my opinion, these two checks should be removed or downgrade from WARN to DEBUG/DEV.

we cannot guarantee that all apps/scripts/addons/extensions are secure. (includes official buckets/scoop itself, related: #4551)

@rashil2000
Copy link
Member

#4098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug upstream The problem is with the download, not scoop
Projects
None yet
Development

No branches or pull requests

3 participants