Sysprep failing – package stuck “failed to remove app for the current user”

– Go in to advanced system properties, User profiles and delete all known and unknown accounts except for Administrator and Default Profile.

– Run Get-AppxPackage -AllUser | Remove-AppxPackage (Don’t mind the wall of blood)
– Run Get-AppxPackage -AllUser | Remove-AppxProvisionedPackage -Online  (Don’t mind the wall of blood)

Run sysprep again.

Close Menu