Virtualization

SysPrep was unable to validate your Windows Installation

SysPrep validation

Sysprep (System Preparation) prepares a Windows installation (Windows client and Windows Server) for imaging, allowing you to capture a customized installation. Sysprep removes PC-specific information from a Windows installation, “generalizing” the installation so it can be installed on different PCs. Kindly refer to the following related guides: Initialize and format a virtual disk: How to add and remove a new virtual disk from a VM on VMware Workstation, CT restoration: How to clone a Proxmox Container.

With Windows System Preparation Tool (Sysprep) tool, you can create a customized Windows 10 reference image. See how this can be achieved via WDS “How to create a Windows Server reference image using WDS“. You can install all apps, drivers, and updates in the image. After that, you can deploy Windows image to users’ computers within your organisation.

Why was the error “SysPrep was unable to validate your Windows Installation” prompted?

The following error can be attributed to so many factors. However, I recommend you look at the setupact.log file in the following location suggested below.

Windows installation

You may also want to see these guide: Sysprep (Generalize) a Windows installation: How to perform Sysprep in Windows, and how to clone a Windows Server running on VirtualBox.

Troubleshooting Unremoved Apps in Setuperr.log

In addition, Examining the setuperr.log file reveals apps that couldn’t be removed.

SYSPRP Package Microsoft.MicrosoftEdge.Stable_86.0.622.38_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2021-07-09 04:30:37, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2021-07-09 04:30:37, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2021-07-09 04:30:37, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2021-07-09 04:30:37, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2021-07-09 04:30:37, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2021-07-09 04:30:37, Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2021-07-09 04:30:37, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

The solution to SysPrep unable to validate Windows Installation

Nonetheless, You may need administrative rights (permission) to do this. Run Sysprep as an Administrator, as shown below. “Additionally, if this proves ineffective, explore alternative online suggestions.

Moreover, To remove a provisioned app, follow the instructions in ‘Remove Windows 10 Apps with DISM.’ How to remove pre-provisioned apps from Windows Image.

Issue resolution

In addition, the Sysprep program is currently running. In the System Preparation Tool window, select the options:

  • System Cleanup Action: Enter System Out-of-Box Experience (OOBE);
  • Shutdown Options: Reboot;
  • Press the OK button.
Screenshot-2021-07-09-at-15.37.52-1

For the complete steps on completing this task, please refer to this guide: “How to Clone and Sysprep (generalize ) a Windows Server running on VMware Workstation”.

Furthermore, SysPrep could not validate your Windows Installation, but the task successfully succeeded with the needed (required) privileges to SysPrep the machine.

2021-07-09 04:03:37, Info                  SYSPRP ========================================================
2021-07-09 04:03:37, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
2021-07-09 04:03:37, Info                  SYSPRP ========================================================
2021-07-09 04:03:37, Info       [0x0f004d] SYSPRP The time is now 2021-07-09 04:03:37
2021-07-09 04:03:37, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\system32\Sysprep\Panther
2021-07-09 04:03:37, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
2021-07-09 04:03:37, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\system32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything

I hope you found this blog post on how to fix sysprep was unable to validate your Windows Installation helpful. However, If you have any questions or encounter issues like SysPrep was unable to validate your Windows Installation, please let me know in the comment section.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x