Sysprep fails because of app installed for a user
Posted on 2014-09-20
I am trying to install five identical computers with Windows 8.1 and am using Sysprep for the first time on this version of Windows. It fails and the log has the message:
2014-09-05 08:54:39, Error SYSPRP Package Microsoft.Internal.Media.PlayReadyClient_2.3.1678.1_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
On my last attempt of this I started with Windows 8.1 with nothing installed and ran the following from an elevated powershell:
Get-AppxPackage -AllUsers | Remove-AppxPackage
Sysprep would run correctly at this point.
After that I joined the domain, installed the desktop-based applications, and did all of the Windows updates. Sysprep wouldn't run properly after that with the error shown above.
I've looked this error up and found many suggestions, but they haven't resolved the problem. There was an implication somewhere that if this were done offline (apply Sysprep to the drive as the non-booting second drive in the system) but I don't find anything about this in the documentation.
I'm left with two questions:
1) Is there a way to uninstall that one app or some other way to resolve this?
2) The error says that this package will not work properly. Did Sysprep do all of its other functions correctly? It appears that it did, but I don't know how to confirm that whatever settings were properly changed. I could likely live without this one app if I were confident that the rest of Sysprep's actions were completed correctly.