

NOTE: For additional information, look for 327a5fdb-9596-0002-089f-7a329695d301 in the Event Log or use the command line Get-AppxLog -ActivityID 327a5fdb-9596-0002-089f-7a329695d301 At C:\Users\Administrator\Desktop\RemovePackages.ps1:16 char:3 + Remove-AppxPackage $_ + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Microsoft.Walle._8wekyb3d8bbwe:String), PSInval idOperationException + FullyQualifiedErrorId : DeploymentError.Commands.RemoveAppxPackageCommand Remove-AppxProvisionedPackage : The system cannot find the file specified.

Use Get-AppxPackage to see the list of packages installed. Windows cannot remove Microsoft.Wallet_8.0_圆4_8wekyb3d8bbwe because the current user does not have that package installed. At C:\Users\Administrator\Desktop\RemovePackages.ps1:15 char:3 + Remove-AppxProvisionedPackage -Online -PackageName $_ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:), COMException + FullyQualifiedErrorId : Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF1, Package was not found.

ps1 file: off Powershell.exe -executionpolicy remotesigned -File \\file-share\it\apps\scripts\RemovePackages.ps1Īnd here is what I have for the called PS file RemovePackages.ps1: #Get Admin Privileges If (-NOT (::GetCurrent()).IsInRole( "Administrator")) Īwesome, read-host worked! Here is the full error output: Remove-AppxProvisionedPackage : The system cannot find the file specified.
