rob998 Posted August 5, 2015 Posted August 5, 2015 Hello, My image of windows 10 has been going pretty well. Sysprep has been fine, SCCM package/SCEP install has all gone smooth. My problem is with the start menu. I have redirected it as I did in Windows 8.1 and set GPO to remove common programs which it has. All of my shortcuts appear but I have others that shouldn't be there such as Alarms & Clock, Contact Support etc. Does anyone know how to get shot of these? I used the following commands before capturing the image to remove the apps: Remove-AppxPackage -AllUsers Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online Get-AppxPackage -AllUsers | Remove-AppxPackage Image attached also. Thanks, Rob
DJ-1701 Posted August 5, 2015 Posted August 5, 2015 I discovered you can remove some Apps such as the Contact Support by removing the relevant folder from C:\Windows\SystemApps.
rob998 Posted August 5, 2015 Author Posted August 5, 2015 Doesn't seem to want me to remove then folders :-(.
Tefters Posted August 5, 2015 Posted August 5, 2015 (edited) Hello, My image of windows 10 has been going pretty well. Sysprep has been fine, SCCM package/SCEP install has all gone smooth. I used the following commands before capturing the image to remove the apps: Remove-AppxPackage -AllUsers Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online Get-AppxPackage -AllUsers | Remove-AppxPackage Image attached also. Thanks, Rob how exactly did you manage to get the image to sysprep and capture after remove both appxpackages and appxprovisionedpackages? I've spent a good 2 days now trying to remove individual appxpackages and appxprovisioned packages which works great however I can never get sysprep to work as I end up with the annoying "app is installed for a user, but not provisioned for all users" and cant get round it. The process I am using is as follows:- 1. standard iso image to vm 2. setup the mandatory user account through the oobe 3. run get-appxprovisionedpackage -online 4. run remove-appxprovisionedpackage -online -packagename Bing...bla bla bla 5. run get-appxpackage *bing* -AllUsers | remove-appxpackage 6. run and get on both appxpackage and appxprovisionedpackage to ensure its missing from both lists 7. run sysprep to test and get error in log regarding user having app installed but not provisioned for all Now I have no other users on the system other than the default oobe one I had to create and I've even tried it the other way round by doing steps 3,4 and 5,6 the other way round so i remove the appxpackage first and then the provisioned package and still no joy. Short of giving up and just using a standard WIM with a PS script after the OS install in a task sequence I'm trying to fathom out if this is actually working or not pre-sysprep. Andy Edited August 5, 2015 by Tefters
rob998 Posted August 6, 2015 Author Posted August 6, 2015 @Tefters - I only used those 3 commands. Remove-AppxPackage -AllUsers Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online Get-AppxPackage -AllUsers | Remove-AppxPackage They remove all provisioned apps for all users (I used the same in Windows 8.1). However on the occasion I mentioned above it left some behind and even trying to uninstall using package name is failing My unattend.xml file for sysprep is pretty much the same as Windows 8.1 - I just recreated it with the Windows 10 EDU WIM. I setup the account this way I want it and use the CopyProfile part of the unattend.xml
Tefters Posted August 6, 2015 Posted August 6, 2015 Hmmm thanks Rob, i will do some more testing this morning. I wanted to remove individual appxpackages as calculator and alarms is quite useful. 1 great example is Bing Finance, try removing that on an individual level for both appxpackage and Appxprovisionedpackage and it doesn't remove properly and FUBARS sysprep. Have you notice at all that even though you have run those commands that if your run a get-Appxprovisionedpackage its still listed as being there and active in a {staged} state. They've really done a number this time [emoji21]
Arthur Posted August 6, 2015 Posted August 6, 2015 I wanted to remove individual appxpackages as calculator and alarms is quite useful. Have you tried removing the apps you don't want from an offline image? I am going to try that shortly since it seemed to work quite well with Windows 8.1.
Tefters Posted August 6, 2015 Posted August 6, 2015 (edited) @Tefters - I only used those 3 commands. Remove-AppxPackage -AllUsers How did you run this command, it doesn't exist? -allusers switch is only good for get- not for remove- Never mind you can pipe it onto a get-appxpackage -allusers | remove-appxpackage but if you run get-appxpackge - allusers and its still there although the apps are remove for the current user. - - - Updated - - - How did you run this command, it doesn't exist? -allusers switch is only good for get- not for remove- Thats on my test list too. EDIT: Ok so i followed Rob's method for removing all the apps and provisioned apps as I thought it removes such apps as alarms, calculator and even the windows store. The calculator app is pretty crucial as the built in legacy calc application no longer exists and it is app only, also with the new Windows Store volume purchasing coming later down the pipeline losing the store is a big deal. Edited August 6, 2015 by Tefters
rob998 Posted August 6, 2015 Author Posted August 6, 2015 I'm not using the store at the moment so that's why I remove them all. I'm still stuck on trying to get rid of the 'Contact Support' and 'Windows Feedback' from the start menu.
DJ-1701 Posted August 6, 2015 Posted August 6, 2015 Hopefully the following should work from an Admin Command Prompt. md C:\Windows\OldSystemApps cd C:\Windows\SystemApps move ContactSupport_cw5n1h2txyewy C:\Windows\OldSystemApps move WindowsFeedback_cw5n1h2txyewy C:\Windows\OldSystemApps 1
Fazza Posted March 17, 2016 Posted March 17, 2016 Rob[ATTACH=CONFIG]31830[/ATTACH] How did you redirect your Start Menu - the same way as 8/8.1 or is there a new way as I've done it the same way I did it on 8.1 with a .xml file but it just wont appear when I log on as a student?!
3s-gtech Posted March 17, 2016 Posted March 17, 2016 Do you mean Start Layout? You 'redirect' the Start Menu as you have for many years, pointing it to a unc share with a Programs list. Windows 10 Start Screen layout customisation is done via XML file, but it can be flakey and inconsistent. I've ditched it entirely, but it can be made to work with persistence (apparently).
Fazza Posted March 17, 2016 Posted March 17, 2016 I meant via the .xml as I've dont it the same way I have with 8/8.1 but it just doesnt show up when I log on as a student! Works OK for me, but not my boss so no idea what is going on!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now