Jump to content

Recommended Posts

Posted

Hi,

Does anyone have a script that removes the built in Windows apps.

 

I have tried the ones that come up in searches on here, which worked on 1511,1607 but on 1709 I get errors such as

 


Trying to remove Microsoft.MicrosoftSolitaireCollection
Remove-AppxPackage : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
At line:104 char:44
+ ...   Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage -AllUsers
+                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : NotSpecified: ( [Remove-AppxPackage], FileNotFoundException
   + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.Windows.Appx.PackageManager.Commands.RemoveApp
  xPackageCommand

 

If anyone could help that would be great

 

Thanks

Posted
Do you have a link on how to achieve this using Group Policy as it would be cleaner than having to script it?
The disadvantage of that is all of the windows 10 apps install on first login for each user, which can make it sllooowww. That's why I get rid of as many as I can before I deploy. YMMV

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...