Solved

Sysprep fails because of app installed for a user

Posted on 2014-09-20
2
5,380 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
Comment Utility
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
Comment Utility
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Ever wondered why Windows 8 and 10 don't seem to accept your GPO-based software deployment while Windows 7 does? Read on.
With Windows evolving further, the built-in protective mechanisms get better and better. Still, Microsoft is not very good at introducing those to the technical community. This article is about a new bitlocker functionality that could revolutionize …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now