You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to only apply to .exe installers. I have 2 accounts, a User and Administrator account.
I run winget install/update <package> on the User account, and if the installer is a .exe and requires administrator I get the "The network name cannot be found" error.
Steps to reproduce
Create a User account, one that is not an Administrator.
On the User account, run winget install ViGEm.ViGEmBus (another example I found is Docker.DockerDesktop)
It will download an installer that is a .exe into %LocalAppData%\Temp\WinGet\???
A UAC prompt will popup (as expected), however after granting permission the install will error
Expected behavior
I expect it to install the program normally, show the UAC, get permission, continue installing.
Actual behavior
After the UAC it's showing the "The network name cannot be found" error.
I did find a temporary fix. If you give the Administrators group Full Control permissions on the %LocalAppData%\Temp\WinGet directory, and then open the .exe installer directly (NOT through winget install/update), it will continue installing normally. However this is only temporary as the next time you run winget install/update the permissions you set on the folder get wiped.
Me is the User account, not an Administrator.
Environment
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22621.1105
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0
The text was updated successfully, but these errors were encountered:
Brief description of your issue
This seems to only apply to
.exe
installers. I have 2 accounts, a User and Administrator account.I run
winget install/update <package>
on the User account, and if the installer is a.exe
and requires administrator I get the "The network name cannot be found" error.Steps to reproduce
winget install ViGEm.ViGEmBus
(another example I found isDocker.DockerDesktop
).exe
into%LocalAppData%\Temp\WinGet\???
Expected behavior
I expect it to install the program normally, show the UAC, get permission, continue installing.
Actual behavior
After the UAC it's showing the "The network name cannot be found" error.
I did find a temporary fix. If you give the
Administrators
group Full Control permissions on the%LocalAppData%\Temp\WinGet
directory, and then open the.exe
installer directly (NOT throughwinget install/update
), it will continue installing normally. However this is only temporary as the next time you runwinget install/update
the permissions you set on the folder get wiped.Me
is the User account, not an Administrator.Environment
The text was updated successfully, but these errors were encountered: