@sudburr First off thanks for the reply.
I’m assuming that order of operations is pretty important for this to work. Unfortunately this process didn’t work for me. I followed what you posted, but wasn’t clear on the steps of
‘build … build… build…’ ( i don’t know what that means)
I also have to assume that uninstalling appx packages is done right after disconnecting the network adapter but BEFORE reverting the GPO back to ‘not configured’ and ‘InstallService start= AUTO’
Here is what I did:
- I disabled the local GPO for auto-download, and ran sc config to disable the installservice. then I rebooted (booting back into audit mode)
- while the computer is off, I disabled the network adapter
- upon rebooting, I removed apps one at a time, but sysprep continued to cause a failure until I removed all of the following:
#REMOVE FOR CURRENT USER
Get-AppxPackage *HiddenCity* | Remove-AppxPackage
Get-AppxPackage *Disney* | Remove-AppxPackage
Get-AppxPackage *SketchBook* | Remove-AppxPackage
Get-AppxPackage *MarchofEmpires* | Remove-AppxPackage
Get-AppxPackage *HiddenCity* | Remove-AppxPackage
Get-AppxPackage *Saga* | Remove-AppxPackage
Get-AppxPackage *Minecraft* | Remove-AppxPackage
Get-AppxPackage *zunemusic* | Remove-AppxPackage
Get-AppxPackage *bingnews* | Remove-AppxPackage
Get-AppxPackage *bingweather* | Remove-AppxPackage
Get-AppxPackage *mspaint* | Remove-AppxPackage
Get-AppxPackage *spotify* | Remove-AppxPackage
#REMOVE FOR ALL FUTURE USERS
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*HiddenCity*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*Disney*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*Sketchbook*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*MarchofEmpires*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*Saga*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*Minecraft*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*zunemusic*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*bingnews*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*bingweather*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*mspaint*" } | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | where-object { $_.packagename -like "*spotify*" } | Remove-AppxProvisionedPackage -Online
-
After uninstalling the above, I reset both GPOs to ‘not-configured’ as you described.
-
your command:
sc config InstallService start= Manual
gives an error that ‘Manual’ isn’t a command that ‘start’ accepts so I set it to ‘AUTO’ instead. -
with apps uninstalled, I ran sysprep, let it shutdown
-
while powered off, I then turned on the network adapter
-
turned the vm back on and captured the image in FOG.
-
I then deployed that image to test it on 2 different machines and both gave me back the same error I was getting before where any attempt to connect to the windows store errors with:
‘You’ll need a new app to open this: ms-windows-store’
which is the same result as before. -
Did I miss something?