Link to home
Start Free TrialLog in
Avatar of Pedro Guerrero
Pedro Guerrero

asked on

Windows 10 Education Permanently Uninstall Store Apps

Hi,

We're prepping to roll out Windows 10 Education to an entire school campus. We're facing an issue with creating image; can't seem to completely uninstall Windows 10 Store and apps that comes with it (XBox, Cortana, Zune Music, Twitter, Bing, etc). I've ran powershell commands that uninstall apps but as soon as I log in as another user, those apps magically reappear. This seems to be a popular thread but I have not been able to come up with a solution using GPO or any local changes. Any help would be greatly appreciated.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Cliff Galiher
Cliff Galiher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pedro Guerrero
Pedro Guerrero

ASKER

I've tried the powershell scripts with no success..

- Remove-AppXProvisionedPackage -Online -PackageName <PackageName>
- Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online
When you say you've tried with no success, can you be more specific? Did the command error? Did you try logging in as a *new* user AFTER running the commands? They don't remove apps from existing users.
Also, don't run the second command. Removing EVERY app will have unintended consequences. Some apps are internal process requirements and piping a full Get to remove could cause bad things. Remove just the apps you definitely don't want.
When I run first command in Powershell, I get no errors. But when I logged in as another user, application I removed (in this case Xbox App) was still installed and was able to open.
"when I logged in as another user"

Deprovisioning apps does NOT Uninstall them from existing users. It only prevents them from installing for NEW users. Its a distinct difference. Thus my qiestion: did you log in as a brand new user after Deprovisioning the app?  Your use of "another" here is ambiguois and may be what is causing your confusion.

You can view what users have a local profile under computer properties. Of a local profile exists for a user then it likely already has apps installed and Deprovisioning them won't have any effect on that user.
If you are using any of the available Powershell scripts to remove the apps from your .WIM remember that WIMs that contain multiple versions of the operating systems have each indexed separately and you need to define when you run your script which version of the OS you want to affect.

eg: if you selected a multi-install .WIM and your script removes the apps from $index=1 (Windows 10 Pro) if you then use that .WIM to install Education N all the apps will still be present.

Microsoft have reordered the Indexing on their .WIMs from 1709 so now $index=1 = Windows 10 Education and $index=2 = Windows Education N

You can check what the indexing is on your .WIM before running the scripts
dism /Get-WimInfo /WimFile:X:\sources\install.wim (where X is the drive letter associated with the media) returns each of the versions available and their index number.
Thanks, Cliff. I was not logged in as a new user.

I logged in as a new user now and the deprovisioned apps are not available for user. How do I ensure these apps do not auto-provision/reinstall with Windows updates or any future Windows 10 upgrades?
They definitely won't with updates because of how updates work. Featuee upgrades... The semi-annual releases, are also *supposed* it not replace provisioned apps moving forward. But there have been other instances where default settings have been replaced nso the honest answer is that you'll want to test each feature upgrade. Which, in a business/education environment.shoikd be done anyways.  There is no way anybody here can "guarantee" that.

If testing finds that a feature upgrade re-adds default apps, your only recourse would be to deprovision them again, and make that process a part of your upgrade strategy.
Thanks for all you help. I'll make sure to test adequately.