Solved

Sysprep fails because of app installed for a user

Posted on 2014-09-20
2
9,166 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 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
1
 
LVL 21

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Problem I recently had a lot of trouble with File Explorer hanging on my personal computer running Windows 8.1. It's important to note that this isn't Internet Explorer. This was happening when I attempted to access a local network location where I…
Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
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…

623 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