-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install programs which require Admin #2740
Comments
@filiphorvat Can you run an instance of this with |
Here it is for Or like this when installing Steam: |
same as me, my settings via winver: Windows Server 2022 Standard 21H2 20348.1311 {
"$schema": "https://aka.ms/winget-settings.schema.json",
// For documentation on these settings, see: https://aka.ms/winget-settings
// "source": {
// "autoUpdateIntervalInMinutes": 5
// },
"telemetry": {
"disable": true
},
"network": {
"downloader": "wininet"
},
"source": {
"autoUpdateIntervalInMinutes": 360
},
//"logging": {
// "level": "verbose"
//},
"installBehavior": {
"preferences": {
"scope": "machine"
}
}
} |
same as here #2665 MS ignores it. To install any programs with EXE Installers I do:
Really good user experience.... |
The same behavior for me on Windows 11. Normal user without administrator rights tries to install a program with winget. Winget loads the installation files |
Can confirm we are able to replicate it on our tenant with onenote as it uses an exe |
Hi, How about the feature where you can set the download directory for winget packages in settings file? Some directory where all the users has rw-rights. |
I can confirm that this is fixed in 1.5 preview of winget. I really wonder why this bug even made it to a release. Does nobody really work without admin rights? |
Principle of least privilege says you shouldn't |
Brief description of your issue
Winget is unable to install programs which require Admin.
Winget disables inheritance on the
C:\Users\username\AppData\Local\Temp\WinGet
folder so the administrator accounts can't access it.Even after manually enabling inheritance, the next
winget install
disables it again and fails.Steps to reproduce
winget install
any program that requires an Admin passwordExpected behavior
The program installs.
Actual behavior
The program fails installing with the error
The network name cannot be found
, or similar.Environment
The text was updated successfully, but these errors were encountered: