Skip to content
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

[Work Laptop] Non-admin account running this as Administrator cannot update any software - Failed when opening source(s) #99

Closed
ROBYER1 opened this issue Jul 25, 2022 · 5 comments
Labels
bug Something isn't working needs-author-answer

Comments

@ROBYER1
Copy link

ROBYER1 commented Jul 25, 2022

When running this as Admin on a non admin account on a work managed machine (but I do have access to the admin password for UAC prompts and allow admin use), WingetUI cannot install anything when updating programs and always results with the same error. I always allow the UAC admin prompts for Admin access with the admin password, I am trying to update software installed on my local developer account and not the admin account.

image

For example when trying to update 7-Zip, this is the log:

�-�\�|�/�-�

███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 3.93 MB
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 2.00 MB / 3.93 MB
██████████████████████▒▒▒▒▒▒▒▒ 3.00 MB / 3.93 MB
██████████████████████████████ 3.93 MB / 3.93 MB

▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 0%
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 0%
███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 3.93 MB
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 2.00 MB / 3.93 MB
██████████████████████▒▒▒▒▒▒▒▒ 3.00 MB / 3.93 MB
██████████████████████████████ 3.93 MB / 3.93 MB

▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 0%
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 0%

Failed when opening source(s); try the 'source reset' command if the problem persists.
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing

@marticliment
Copy link
Owner

Hi @ROBYER1, have you tried the admin flag?
image

@marticliment marticliment added bug Something isn't working needs-author-answer labels Aug 1, 2022
@marticliment
Copy link
Owner

The elevation algorithm has been changed, could you please try it?

@ROBYER1
Copy link
Author

ROBYER1 commented Sep 6, 2022

Works great on my work laptop now as non admin user but using admin prompts!

@ROBYER1 ROBYER1 closed this as completed Sep 6, 2022
@ALERTua
Copy link

ALERTua commented Jan 28, 2023

The issue is not fixed for me, and the workaround does not work.
My user is a non-administrator. I have Plex installed in Program Files.

  • While trying to update Plex normally, the installer asks for an elevation, I provide it using the administrator user credentials, and the installer cannot be launched due to the path not found error.
  • While trying to update it using Update as administrator, the error is the same.
  • While trying to update it via Show Info -> Run as admin -> Update - the error is the same.

All cases lead to this error:

[Window Title]
Network Error

[Main Instruction]
Windows cannot access C:\Users\(my_non_admin_user)~1\AppData\Local\Temp\WinGet\Plex.Plex.1.62.2\Plex-1.62.2.3451-fb8ac0ae-x86_64.exe

[Content]
Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems, click Diagnose.

[^] Hide details  [Diagnose] [Cancel]

[Expanded Information]
Error code: 0x80070043
The network name cannot be found.

upd: after further investigation I found that:

  • Non-elevated winget upgrade plex.plex has the same error
  • gsudo winget upgrade plex.plex doesn't work at all with
Failed in attempting to update the source: winget
Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing
  • nircmd elevate cmd /k winget upgrade plex.plex doesn't work either with the same error

So the bug is definitely not of WingetUI nature but of Winget itself
microsoft/winget-cli#698
microsoft/winget-cli#2885

@marticliment
Copy link
Owner

yes, let's hope that they can fix that, because, as said, I can't do anything about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-author-answer
Projects
None yet
Development

No branches or pull requests

3 participants