Can run as normal user / not as admin #5222
Joebhoy1888
started this conversation in
Configuration
Replies: 1 comment
-
WinGet is registered via an "App Execution Alias". It should work in both a "user" terminal/shell session as well as an "administrator" terminal/shell session. If it's not on the path, you might be referring to the system context (nt/authority). In that mode, App Execution Aliases aren't supported. Try using the Microsoft.WinGet.Client PowerShell module in that case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ive just done a clean install of Windows 11. If I run a command prompt as a normal user, winget will run, If I run as Admin, it says path not found. I add the path (C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.25.280.0_x64__8wekyb3d8bbwe) to env variables but get access denied. Any ideas how I get winget to run when I run as admin, so I can upgrade install powershell etc. ?
Thanks -J
Beta Was this translation helpful? Give feedback.
All reactions