Powershell WriteError - removing apps
Posted: 24 Jul 2015 03:19
Hello everyone.
The script i use:
I'm trying to remove windows metro app throught powershell-batch and it gives me error:
Wonder what kind of fix could be applied to it, and if the right one even exist.
.png)
The script i use:
Code: Select all
Echo remove-appxpackage "Microsoft.BingFoodAndDrink_3.0.4.322_x64__8wekyb3d8bbwe " | PowerShell.exe -noprofile -
pause
I'm trying to remove windows metro app throught powershell-batch and it gives me error:
Wonder what kind of fix could be applied to it, and if the right one even exist.
Code: Select all
C:\Users\vaida_000\Desktop\remove_apps\Versions\Basic\V3>Echo remove-appxpackage
"Microsoft.BingFoodAndDrink_3.0.4.322_x64__8wekyb3d8bbwe " | PowerShell.exe
-noprofile -
remove-appxpackage : Deployment failed with HRESULT: 0x80073CFA, Pašalinti nepa
vyko. Kreipkitės į programinės įrangos tiekėją. (Exception from HRESULT: 0x8007
3CFA)
Package Manager aborted the Remove operation because an invalid argument was pa
ssed: Microsoft.BingFoodAndDrink_3.0.4.322_x64__8wekyb3d8bbwe .
NOTE: For additional information, look for [ActivityId] 4073b5b1-c3a0-0000-2818
-7440a0c3d001 in the Event Log or use the command line Get-AppxLog -ActivityID
4073b5b1-c3a0-0000-2818-7440a0c3d001
At line:1 char:1
+ remove-appxpackage "Microsoft.BingFoodAndDrink_3.0.4.322_x64__8wekyb3d8bbwe
"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
+ CategoryInfo : WriteError: (Microsoft.BingF...wekyb3d8bbwe :S
tring) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageMa
nager.Commands.RemoveAppxPackageCommand
C:\Users\vaida_000\Desktop\remove_apps\Versions\Basic\V3>pause
Press any key to continue . . .
.png)