[wpkg-users] Another interesting side-effect of july patch... powershell...

Marco Gaiarin gaio at lilliput.linux.it
Fri Oct 20 12:28:55 CEST 2023

In a Win10 22H2 64bit box, in an AD domain with an unpatched samba (that for
user logon, works as expected):

 PS P:\> Get-AppxPackage -allusers
 Get-AppxPackage : La relazione di trust tra questa workstation e il dominio primario non è riuscita. (Eccezione da HRESULT: 0x800706FD)
 In riga:1 car:1
 + Get-AppxPackage -allusers
 + ~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : NotSpecified: (:) [Get-AppxPackage], COMException
     + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommand

(Sorry for italian, but...) eg 'Get-AppxPackage -allusers' return trust
relationship trouble. But:

 PS P:\> Get-AppxPackage
 Name              : Microsoft.BioEnrollment
 Publisher         : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
 Architecture      : Neutral
 ResourceId        :
 Version           : 10.0.19041.1023

plain 'Get-AppxPackage' works. Also with '-User <whathever>' works as
expected. Only '-AllUSers' does not work.

In an Win10 21H2, both works as expected...

Boh... if someone have some clue...

  Dio del cielo se mi vorrai
  in mezzo agli altri uomini mi cercherai		(F. De Andre`)

More information about the wpkg-users mailing list