Microsoft Technical Takeoff: Windows and Microsoft Intune
Oct 24 2022 07:00 AM - Oct 27 2022 12:00 PM (PDT)

Winget: works from limited user but not from administrative user

Frequent Contributor

When I try to upgrade apps through winget from a PowerShell prompt reached in my limited userspace but launched with administrative privileges, it returns an error: "The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program." But when I just launch PS from that userspace, without administrative privileges, it works fine. Why? Although winget works from my limited user prompt, it requires constantly inputting an administrator passcode, which means winget cannot be used unattended.

0 Replies
www.000webhost.com