Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, May 31, 2016 2:48 PM | 1 vote
I am just looking for a way to permanently delete apps like solitare, candy crush, and get office when logged in as administrator of the computer for all users currently on or could possibly log into. These are for company computer that are network and non-network joined
Used PowerShell commands like Get-AppxPackage -allusers PackageFullName | Remove-AppxPackage which removes for the profile I'm on but not all users as it suggests...
Why is that such a difficult thing to accomplish?
Also is there a GPO to edit the start menu to not show some things and/or remove or hide apps?
All replies (5)
Wednesday, June 1, 2016 6:16 AM ✅Answered | 1 vote
Hi MiPrest,
If you are using Windows 10 Enterprise version, we could try the LTSB version. It is totally free of built-in Metro apps.
For removing the specific apps completely, we should remove the provisionedpackages as ClearWindows7 pointed out.
For new users:
Get-appxprovisionedpackage –online | where-object {$_.packagename –like "*CandyCrushSaga*"} | remove-appxprovisionedpackage –online
For present users:
Get-appxpackage -allusers *CandyCrushSaga* | Remove-AppxPackage
After removing the apps, we should disable the apps update or they will be reinstalled automatically again.
Computer Configuration > Administartive Templates > Windows Components > Store>Turn off Automatic Download and Install of updates
"Also is there a GPO to edit the start menu to not show some things and/or remove or hide apps?"
Please check the following link:
Customize Windows 10 Start with Group Policy
https://technet.microsoft.com/en-us/itpro/windows/manage/customize-windows-10-start-screens-by-using-group-policy?f=255&MSPPError=-2147217396
Best regards
Please mark the reply as an answer if you find it is helpful.
If you have feedback for TechNet Support, contact [email protected]
Tuesday, May 31, 2016 3:54 PM | 1 vote
You're looking for Get-AppxProvisionedPackage and Remove-AppxProvisionedPackage. See http://superuser.com/questions/942418/how-do-you-forcefully-remove-apps-in-windows-10#answer-987227. It's not difficult. This is well-documented.
Regarding the Start Menu, if you have Win10 Enterprise or Education, you can modify and enforce a custom Start Menu via GPO. See https://technet.microsoft.com/itpro/windows/manage/customize-windows-10-start-screens-by-using-group-policy for detailed instructions.
If you do not have Win10 Enterprise or Education, you may still have some luck modifying the image via the Powershell commands Export-StartLayout and Import-StartLayout. See https://4sysops.com/archives/deploy-the-windows-10-start-menu-layout-with-group-policy/ for more details.
Hope it's helpful.
Tuesday, May 31, 2016 4:29 PM | 1 vote
I've used get-appx under the admin account, but when logging in as a different user the app is there. It only works on the account you are currently signed in on, even when using -allusers in the command.
That is my issue, I need it to remove it completely for all users
Thank you!
Tuesday, May 31, 2016 5:24 PM | 1 vote
You're looking for Get-AppxProvisionedPackage and Remove-AppxProvisionedPackage. See http://superuser.com/questions/942418/how-do-you-forcefully-remove-apps-in-windows-10#answer-987227. It's not difficult. This is well-documented.
Regarding the Start Menu, if you have Win10 Enterprise or Education, you can modify and enforce a custom Start Menu via GPO. See https://technet.microsoft.com/itpro/windows/manage/customize-windows-10-start-screens-by-using-group-policy for detailed instructions.
If you do not have Win10 Enterprise or Education, you may still have some luck modifying the image via the Powershell commands Export-StartLayout and Import-StartLayout. See https://4sysops.com/archives/deploy-the-windows-10-start-menu-layout-with-group-policy/ for more details.
Hope it's helpful.
You're missing the word Provisioned. You're only removing the package for the current user. If you remove the Provisioned package, you remove it for all users.
Remove-AppxProvisionedPackage, not Remove-AppxPackage.
Tuesday, May 31, 2016 6:26 PM | 1 vote
Hi,
Could you try this and see...
$apps= "microsoft.windowscommunicationsapps" Get-AppxPackage -Name $apps -AllUsers | Remove-AppxPackage Get-AppXProvisionedPackage -Online | where DisplayName -EQ $apps | Remove-AppxProvisionedPackage -Online
Regards,
Abhilash