Windows 10 get-appxpackage fails under elevated powershell

  • Thread starter Thread starter Glen Ford
  • Start date Start date
G

Glen Ford

Guest
I am on Windows 10 pro v1809 fully up to date as of this morning.

Issuing the get-appxpackage command on its own ...

--------------------------------------------------------------------------

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\WINDOWS\system32> get-appxpackage
get-appxpackage : The service cannot be started, either because it is disabled or because it has no enabled devices
associated with it.
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
At line:1 char:1
+ get-appxpackage
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-AppxPackage], Exception
+ FullyQualifiedErrorId : System.Exception,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommand

PS C:\WINDOWS\system32>

--------------------------------------------------------------------------
Likewise, issuing the command with parameters to list all installed apps gets be the same error.
What service is this error referring to?

BTW, I have tried the proposed solutions SFC /scannow and the DISM.exe /Online /Cleanup-image /Restorehealth. Neither finds anything. I have also tried windows store and update troubleshooters. Neither find anything.

More...
 
Back
Top