«

»

Avr 10

Sysprep fails

Sysprep fails

Sysprep fails

At the launch of the sysprep with the Generalize option, an error appears. The error occurs at the execution of the sysprep.exe in command-line or through the GUI..

Sysprep was unable to validate your Windows installation. For more information, see the log file on %Windir%\System32\Sysprep\Panther\Setupact.log

Sysprep fails

To start the diagnostics, it is necessary first to visualize the file SetupErr.log. The log file indicates a problem with a package king.com.CandyCrushSodaSaga_1.62.900.0_x86__kgqvnymyfvs32. The error 0x80073cf2 was mentioned.

Sysprep fails

Cause of the problem

Sysprep is composed of an additional provider added with Windows 10 and Windows 8. It allows the cleaning of Appx packages when the generalization of an image.

  • Package user: Appx Package installed for a user account specific and not available for other users of the computer.
  • Package of all users: means that the Appx package has been configured in the image so that the application can access to all users that use this image.

If a package of all users that is provisioned in the image was stopped manually from the image and not removed for a particular user, the provider an error will be generated when cleaning this package during sysprep.

How to solve the problem?

To resolve the problem, it is necessary to run multiple PowerShell commands. As a first step, import the module appx. The Windows PowerShell cmdlets for AppX are designed to streamline the administration of AppX package management.

import-module appx

Sysprep fails

It is now necessary to import the module dism. The Deployment Image Servicing and Management (DISM) cmdlets can be used to perform the same functions as the DISM.exe command-line tool.

import-module dism

Sysprep fails

Copy the name of this package in the setuperr.log file to use in the command that will allow deletion of the package.

Sysprep fails

The package can now be removed using the PowerShell command:

Remove-AppxPackage -Package

Sysprep fails

Again run the sysprep.exe file, if the error message appears again check the log file and delete the new package problem. After removing the second packages I was able to run a sysprep on my Workstation Windows 10.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Vous pouvez utiliser ces balises et attributs HTML : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>