-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
@shmuelie
Description
Relevant area(s)
COM API, PowerShell Module
Relevant command(s)
No response
Brief description of your issue
When using the COM API (or the PowerShell Module that uses it under the hood), if the calling context is elevated the call will fail as the elevated context does not see the COM registration.
Steps to reproduce
Call a winget powershell cmdlet from an elevated PowerShell instance.
Expected behavior
API calls to succeed
Actual behavior
API call fails
Environment
Windows: Windows.Desktop v10.0.26564.1000 System Architecture: X64 Package: Microsoft.DesktopAppInstaller v1.28.190.0