winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

On a remote computer the install command do not work correct bevore you run winget local on the remote Machine (0x8a15000f)

Open 0tjs0 opened this issue 1 year ago • 0 comments

Brief description of your issue

I try to install software remote with invoke-command on an Computer with Windows 11 There is an error: Unerwarteter Fehler beim Ausführen des Befehls: 0x8a15000f : Von der Quelle benötigte Daten fehlen

If you login once on the remote machine and do anything with winget, then the remote Install comand works

Steps to reproduce

Server: Invoke-Command -ComputerName xxx -ScriptBlock { winget install -e --id GIMP.GIMP --scope machine --source winget}

you get the Error : 0x8a15000f : Login on Remote Computer xxx Winget list

Got back to the server Invoke-Command -ComputerName xxx -ScriptBlock { winget install -e --id GIMP.GIMP --scope machine --source winget}

it will work

Expected behavior

The software GIMP should be installed on the remote computer xxx Gimp is only one example, the problem exist also with other software

Actual behavior

you get an errror:

wehn you log in on the remote machine as an administrator and type any winget command (e.g. Winget list ) and start the remote command again, it will work without problems

Environment

Windows-Paket-Manager v1.7.10861
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.22621.3447
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.22.10861.0

WinGet-Verzeichnisse
-----------------------------------------------------------------------------------------------------------------------
Protokolle                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Local…
Benutzereinstellungen                        %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Local…
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer)         C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer)           %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm                      C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86)                C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads               %USERPROFILE%\Downloads

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert

0tjs0 avatar Apr 16 '24 16:04 0tjs0