Skip to content

Cannot override installer hash as admin. Even if EnableLua = 0 (UAC OFF) #715

@MarcoPeraza

Description

@MarcoPeraza

Cannot override installer hash when running as admin, even if EnableLua = 0 (UAC OFF)

I want to install the package. Please let me install the package.

Steps to reproduce

Try to install a package with a mismatched hash while running as administrator.

Expected behavior

It allows you to install.

Actual behavior

It does not allow you to install.


Edited:

This feature is to track the work to have an administrator required setting to enable the ability to override a hash mismatch.
It would be something like winget settings --enable ignore-security-hash-argument.
The group policy on "--force" will need to be evaluated and potentially modified or a new one added for this use case.
There should be a separate argument required for "--ignore-security-hash" rather than "--force" which would work in both user and admin modes if the setting is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Breaking-ChangeThis is potentially a breaking change for a future major versionIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions