Solved

Sysprep fails because of app installed for a user

Posted on 2014-09-20
2
6,412 Views
1 Endorsement
Last Modified: 2014-09-29
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
Comment
Question by:CompProbSolv
2 Comments
 
LVL 21

Accepted Solution

by:
ivanoviola earned 500 total points
ID: 40334784
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
0
 
LVL 20

Author Comment

by:CompProbSolv
ID: 40350632
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question