Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sysprep fails because of app installed for a user

Posted on 2014-09-20
2
Medium Priority
?
10,116 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 21

Accepted Solution

by:
Ivano Viola earned 2000 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
1
 
LVL 22

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

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 …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

722 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