Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11592
  • Last Modified:

Sysprep fails because of app installed for a user

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.
1
CompProbSolv
Asked:
CompProbSolv
1 Solution
 
Ivano ViolaSystem AdministratorCommented:
Hi,

I ran into a similar problem when I first attempted to create a Windows 8.1 sysprep image. In the end I started over....
Installed Windows 8.1 from scratch
Once logged I uninstall all non-essential apps using the following commands at an elevated PowerShell prompt.

Get-AppxPackage | % {if (!($_.IsFramework -or $_.PublisherId -eq "cw5n1h2txyewy")) {$_}} | Remove-AppxPackage
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online

I went ahead and configured my image laptop and all went well. I haven't had any problems after doing the above. Here are two links that will help:

https://4sysops.com/archives/how-to-remove-windows-8-apps-before-you-run-sysprep/
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_8/A_12635-Windows-8-and-8-1-Sysprep-Guide.html

These apps can be re-installed by users once the image has been created.

IV
1
 
CompProbSolvAuthor Commented:
I started over, ran the two PowerShell lines that you recommended, and was successful.
This time, I did not join the domain before SysPrep, nor did I delete any accounts.  I'm suspecting that this is what avoided the problem.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now