remove-AppxProvisionedPackage Unspecified Error


  1. Posts : 81
    Windows 10 Pro 64-Bit 21H1
       #1

    remove-AppxProvisionedPackage Unspecified Error


    Does anyone know how to fix these errors?

    remove-AppxProvisionedPackage Unspecified Error-ps.png

    This happens for any provisioned package I attempt to remove (as listed by Get-AppxProvisionedPackage -online).
      My Computer


  2. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Clayton, :)

    See if the tutorial below may help for now.

    https://www.tenforums.com/tutorials/4...dows-10-a.html
      My Computers


  3. Posts : 81
    Windows 10 Pro 64-Bit 21H1
    Thread Starter
       #3

    Actually, Option Three of that tutorial was my introduction to Remove-AppxProvisionedPackage.
      My Computer


  4. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
       #4

    In your screenshot, you have an error in the command. You shouldn't have the gray -package included in the command.

    Instead, it should be this below substituting the part in red with the Finance app name instead.

    remove-AppxProvisionedPackage PackageFullName
      My Computers


  5. Posts : 81
    Windows 10 Pro 64-Bit 21H1
    Thread Starter
       #5

    remove-AppxProvisionedPackage Unspecified Error-ps2.png

    Get-Help indicates that PackageName is not a positional parameter (that would be [-PackageName] <String>). It can be piped though. Actually, this cmdlet has no positional parameters.
    Last edited by claytoncarney; 29 Aug 2015 at 13:51.
      My Computer


  6. Posts : 81
    Windows 10 Pro 64-Bit 21H1
    Thread Starter
       #6

    Very odd. Structured this way, the command works:

    Code:
    PS C:\Windows\system32> Get-appxprovisionedpackage –online | where-object {$_.packagename –like "*BingFinance*"} | remove-appxprovisionedpackage –online
    
    Path          :
    Online        : True
    RestartNeeded : False
      My Computer


  7. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
       #7

    Interesting. I'll have to do some more testing.
      My Computers


  8. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
       #8

    I've updated the tutorial for this. :)

    https://www.tenforums.com/tutorials/4...dows-10-a.html
      My Computers


  9. Posts : 1
    Windows 10 Pro x64
       #9

    Hello

    I get exactly the same error , but in my case when I execute the command

    Add-AppxProvisionedPackage -Online -PackagePath c:\ (.................)

    1 week ago the command was working without problem . I dont know why now get me the same error as claytoncarney

    please can you help me ?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:39.
Find Us




Windows 10 Forums