I'm trying to create a reference image for Window 10 Enterprise 64-bit on my Hyper-V VM and need to remove all the built-in apps for All Users, so I have a PoSh script that I run before syspreping it. I'm having a lot of issues when I try to Sysprep and capture it. It fails. When I check the logs in the sysprep folder on the reference PC, it shows "Sysprep failed to remove the apps for the current user , ( or for the user ) 0x80073cf2. The reference image has no Microsoft account associated with any account, and the only user is Administrator. AThe PoSH script I'm using is:
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hello,
I'm trying to create a reference image for Window 10 Enterprise 64-bit on my Hyper-V VM and need to remove all the built-in apps for All Users, so I have a PoSh script that I run before syspreping it. I'm having a lot of issues when I try to Sysprep and capture it. It fails. When I check the logs in the sysprep folder on the reference PC, it shows "Sysprep failed to remove the apps for the current user , ( or for the user ) 0x80073cf2. The reference image has no Microsoft account associated with any account, and the only user is Administrator. AThe PoSH script I'm using is:
Get-AppxPackage -AllUsers | where-object {$_.name -notlike "*Microsoft.WindowsStore*"} | where-object {$_.name -notlike "*Microsoft.Appconnector*"} | Remove-AppxPackage
Share this post
Link to post
Share on other sites