I've installed an app package I built using Add-AppxPackage on two other users profiles. I'm now not able to deploy from Visual Studio to debug updates on my profile. This script is great but it would be even better if it could perform the action for all users.
Yes...please update the script to remove Windows 8.1 RTM apps. I have tried several variations of the very same process I used on Windows 8. None of them work to remove the apps from the WindowsApps folder. Thanks
In Windows 8.1 you can remove multiple apps at the same time. 1)Switch to the Start screen. 2)Select all the apps that you wish to uninstall. To do this, right-click on all app tiles one-by-one to see the app bar at the bottom of the screen with Uninstall option. And if you’re on a touch device, you can touch one tile at a time and swipe it up to select it. 3)Click the Uninstall icon on the app bar to see a small menu with the name of all apps you have selected, and be sure to check the option titled Only from this PC if you don’t want to remove selected apps from all synced PCs. 4)Click Uninstall button to remove selected apps.
Hi Ws2000, Thanks for downloading this script sample. This sample actually can be normal running on Windows 8.1, if you got error when you remove some apps, that was because the app is part of Windows(or to say,this app is necessary components in Windows)and cannot be uninstalled. But we still update this script sample to let users understand why the app cannot be uninstalled. Thank you for using this sample.
it is right, nice script.
re: Eliezer thanks for the 8.1 guidance.
Hi, thanks for the script. I ran it on windows 8.1 and the apps listed do not include the app I wanted to remove (microsoft.wind
owsphotos). It doesn't seem to be under a different name. Thanks!
I tried to run this in Win8.1 Embedded and that listed below apps f5.vpn.client CheckPoint.VPN FileManager JuniperNetworks
.JunosPulseVpn Microsoft.MoCam era SonicWALL.Mobil eConnect windows.immersi vecontrolpanel winstore It gave error as; Remove-OSCAppxP ackage : Remove f5.vpn.client failed! At Y:\helpful\Remo ve-Builtin-Apps \RemoveWindowsS toreApp\RemoveW indowsStoreApp. p s1:137 char:1 + Remove-OSCAppxP ackage + ~~~~~~~~~~~~~~~ ~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep tion + FullyQualifiedE rrorId : Microsoft.Power Shell.Commands. WriteErrorExcep tion,Remove-OSC AppxPackage Line 137 is; Remove-OSCAppxP ackage Researched and read that it should be removed from add/remove components - however these apps were not found in windows components (appwiz.cpl) to remove!. Appreciate if someone could guess why and post...
EbyK, Thanks for downloading this script sample. This sample actually can be normal running on Windows 8.1, if you got error when you remove some apps, that was because the app is part of Windows(or to say,this app is necessary components in Windows)and cannot be uninstalled. But we still update this script sample to let users understand why the app cannot be uninstalled. Thank you for using this sample.
Use this example script to remove these Windows Store apps cleanly. Great job, tks !
Does this work on Windows 8.1? Please let me know and if not then kindly update the script as per Windows 8.1
Very nice script but you can't automate the removal of apps since the script requires user input. You could have both scenarios be supported. In the Remove-OSCAppxP
ackage function, have it take a parameter called AppName of type [string]. If that parameter is not provided, then prompt the for IDs of apps to remove. If one or more app names are provided, then remove those based on the appname. Also, if the Remove-AppxPack age fails, you should consider using Write-Error "Remove $AppName failed". That is a non-terminating error but will properly indicate to users that there was a failure. This can also be caught in a script whereas the Write-Host can't be detected in a script.
Hi Keith, Thank you for your positive feedback. The script sample has updated based your suggestion:)
Appreciate your script. It works well. But when I create new user then for that user, removed apps are available. Can you tell me modifications in script so i can achive below. "To remove a specific list of apps (like finance, sports) from all the users making sure that all new users will be created without those apps."
Hi Tejas, Generally,when you log into your new account, all removed apps will be restored(built-
in apps) in Windows 8. Beacuse the system will initialize your user profile and settings. For this case, you still need to execute this script sample when you first log into your new user account.
Unfortunately I could not get it to work Could someone post detailed instructions Thank you RNR
Hi Ronald, What was the problem when you executed?
sir I am sick of window app store application, and I want to remove window app store
hey dude, just follow the steps in document!