Skip to content

BlockNonAdminUserInstall - Some components are installed afterwards and not with the main installer #30053

Open
@stephannn

Description

Microsoft PowerToys version

0.75.1

Installation method

Microsoft Store

Running as admin

No

Area(s) with issue?

Installer

Steps to reproduce

Hi,
we use intune to manage our devices and have following policies enabled:

This prevents the user to install appx/msix on his own. PowerToys gets deployed as a MS store app.

The issue is that PowerToys tries to install further msix on its own:

AppX Deployment operation failed for package file:///C:/Users/myuser/AppData/Local/PowerToys/ImageResizerContextMenuPackage.msix with error 0x80070005. The specific error text for this failure is: NULL
AppX Deployment operation failed for package file:///C:/Users/myuser/AppData/Local/PowerToys/WinUI3Apps/PowerRenameContextMenuPackage.msix with error 0x80070005. The specific error text for this failure is: Access is denied.

Microsoft does not offer a way to allow specific apps when above mentioned policies are set. Solution would be creating a single package for those deployments and maybe create a dependency in its installation routine.

✔️ Expected Behavior

Everything is installed with the main installer

❌ Actual Behavior

Some components are getting installed afterwards and are blocked by the policy BlockNonAdminUserInstall

Other Software

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-EnterpriseIssues relevant to large enterprises, SCCM, run as admin restrictions, ...Area-Setup/InstallRefers to installation mechanismIssue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teams

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions