Jump to content

Recommended Posts

Posted

I've deployed the new 1709 update and it has installed a lot of apps.

 

How do I go about removing apps that I don't want - is there a script that can be deployed at machine startup?

Posted

I was hoping to negate the need of having to remove the apps prior to deployment.

 

A startup script would help immensely in the interim until I look at building a golden image next year.

Posted
I deployed the 1709 Fall Creators update via WSUS, therefore I need a startup script to remove the apps.

 

then you might want an if exist c:\iverunthis.txt goto end or similar in there as it dosent need to run every bootup

Posted

something like

 

if exist c:\remapps.bat goto end

Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_4.0.9.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Messaging_2.7.1001.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_2015.7031.23501.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_3.11.7081.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_2015.7167.57761.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.OneConnect_1.1605.17.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2016.709.155.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_11.6.206.0_neutral_~_kzf8qxf38zg5c Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2016.717.1015.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_2015.6965.41051.0_neutral_~_8wekyb3d8bbweDism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_1.3.1741.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_2016.728.453.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_2016.719.1035.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.6.23041.0_neutral_~_8wekyb3d8bbwe Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.6.22511.0_neutral_~_8wekyb3d8bbwe

copy \\dc\netlogon\remapps.bat c:\remapps.bat

 

:end

 

be aware thats a win 10 v1607 app removal script i dont have my 1709 to hand(or finalised ) so you will want to edit the packages it removes and test before deploying over a network

Posted (edited)

Anyone had this one?

V1709 (no idea if it was a bug in earlier versions - I'd been looking at LTSB until the schools caught wind of how good 1709's On Demand Onedrive is)

 

I've added a BAT which does the removal using DISM (I was being lazy, as we already have a BAT which runs various post-install things).

 

It uninstalls the various bobbins (X-Box etc) - which is good, but....

 

The Start Menu tiles where the now uninstalled apps live are messed up. It now has.

 

Create

P~microsoft...

P~microsoft_windowscommunications

 

Play

P~Microsoft....

 

Any suggestions?

Ideally those which don't revolve around having to export and import a start menu :)

Edited by gerardsweeney
Posted
Anyone had this one?

V1709 (no idea if it was a bug in earlier versions - I'd been looking at LTSB until the schools caught wind of how good 1709's On Demand Onedrive is)

 

I've added a BAT which does the removal using DISM (I was being lazy, as we already have a BAT which runs various post-install things).

 

It uninstalls the various bobbins (X-Box etc) - which is good, but....

 

The Start Menu tiles where the now uninstalled apps live are messed up. It now has.

 

Create

P~microsoft...

P~microsoft_windowscommunications

 

Play

P~Microsoft....

 

Any suggestions?

Ideally those which don't revolve around having to export and import a start menu :)

 

 

I had all the P~microsoft...P~microsoft_windowscommunications issues which was the last straw in pushing me from Edu to LTSB - I spent a few days trying to get a consistent start menu with redirection but to no avail.

 

Now with LTSB it works as I expect with a redirected start menu and desktop and users able to pin items to their own start menu too.

Right click removed from the start menu too for safety!

Posted
I had all the P~microsoft...P~microsoft_windowscommunications issues which was the last straw in pushing me from Edu to LTSB - I spent a few days trying to get a consistent start menu with redirection but to no avail.

 

Ironically - I was planning on going with LTSB.

Then I read about the integrated OneDrive "On demand" where it uses markers rather than a full synch.

 

Most schools in Scotland have access to Glow - a Onedrive/Sharepoint based Scotland-wide educational resource.

For that reason, the schools have been desperate to use OneDrive, but we've always resisted because of the horror that would be hundreds of users synching anything up to 1Tb of stuff across multiple PCs each period.

 

Having had a dabble with 1709 and the latest OneDrive client, I rewrote my plans. On Demand is only available for 1709.

 

Now I just have the arseache of dealing with all of the other dreck built into full-fat Win10 :)

Posted
Ive managed to get the Start Menu layout xml working, but how do you remove the GetOffice start menu shortcuts, they keep re-appearing.
Posted

One thing I noticed in the past week while preparing my own 1709 image for deployment: removing one or more certain apps ended up breaking the Photos and Store apps. Trying to register them again from Powershell indicated that a certain .NET runtime package wasn't there (v1.4). I trimmed my app removal script and tried again with a fresh image, this time I was successful with Photos and Store apps working as expected. One of these has to be the culprit for removing that .NET runtime package: Microsoft.XboxGameOverlay, Microsoft.XboxIdentityProvider, Microsoft.XboxSpeechToTextOverlay and/or Microsoft.Xbox.TCUI

 

Just a head's up and hope this helps someone avoid this issue for their own builds.

Posted
One thing I noticed in the past week while preparing my own 1709 image for deployment: removing one or more certain apps ended up breaking the Photos and Store apps. Trying to register them again from Powershell indicated that a certain .NET runtime package wasn't there (v1.4). I trimmed my app removal script and tried again with a fresh image, this time I was successful with Photos and Store apps working as expected. One of these has to be the culprit for removing that .NET runtime package: Microsoft.XboxGameOverlay, Microsoft.XboxIdentityProvider, Microsoft.XboxSpeechToTextOverlay and/or Microsoft.Xbox.TCUI

 

Just a head's up and hope this helps someone avoid this issue for their own builds.

I noticed the exact same thing while testing 1709, but have been unsuccessful in finding the culprit app. When you try to open the Windows Store the following error appears in the Event Viewer.

 

Activation for Microsoft.WindowsStore_8wekyb3d8bbwe!App failed. Error code: Install failed. Please contact your software vendor. Activation phase: Deployment

 

App removal worked perfectly with 1703. :(

 

Time to do some more testing! :)

Posted (edited)

i removed xbox all of them and photos still worked fine on my test computer my removal script below

Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.1706.1811.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_5.11.1641.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Messaging_2017.815.2052.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_2017.715.118.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_3.17.8162.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_2015.8366.57611.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage/PackageName:Microsoft.OneConnect_3.1708.2224.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2017.823.2207.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_11.18.596.0_neutral_~_kzf8qxf38zg5c
Dism /online /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_2015.8241.41275.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_1.1705.2121.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.8.24001.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_31.32.16002.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.20.25002.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_2017.605.1240.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.17063.24021.0_neutral_~_8wekyb3d8bbwe
Dism /online /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.17063.24021.0_neutral_~_8wekyb3d8bbwe
pause

Edited by sted
  • Thanks 1
Posted
yes but ive never thought removing that was a good idea

Thanks for confirming.

 

I don't remove the Windows Store either. :)

 

It's annoying how removing other apps broke it for me in 1709. MS must have changed something?

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...