Well, I can't remember everything...

Thursday, 6 February 2014

Remove OEM Modern UI (Metro) Apps from Windows 8.1

Use these PowerShell commands to remove any OEM Modern Apps. In this example, anything not published by Microsoft is removed. It's best to do this while in the first account you create, before joining a domain

You need to run these from an administrative PowerShell session.

Use this code first to see what will be removed:

Get-AppxPackage -AllUsers | where Publisher -notmatch "Microsoft"
This will show currently installed apps, and who has them installed 

Get-AppxProvisionedPackage -online | where PackageName -notmatch "Microsoft"
This will show apps that are part of the image Windows was deployed with

In both instances, the Sony Vaio listed McAfee Virus Control, the Intel App store, Skype and some Vaio apps.

Then to remove:

Get-AppxPackage -AllUsers | where Publisher -notmatch "Microsoft" | Remove-AppxPackage

Get-AppxProvisionedPackage -online | where PackageName -notmatch "Microsoft" | Remove-AppxProvisionedPackage - online

No comments:

Post a Comment