Category Archives: Windows 11

Windows 11 – Sysprep was not able to validate your Windows installation

This post describes how to fix the error “Sysprep was not able to validate your Windows installation.

Review the log file at

%WINDIR%\System32\Sysprep\Panther\setupact.log for details. After resolving the issue, use Sysprep to validate your installation again”:

Sysprep was not able to validate your Windows installation

which can occur when you run the System Preparation Tool 3.14 on Windows 11.

Cause

Open the Panther folder in the Sysprep directory, copy the setupact.log file out of that directory to open it, then scroll to the bottom to see the error:

Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.

Just above this, you can see the cause, in this case, it’s Microsoft.OneDriveSync package:

SYSPRP Package Microsoft.OneDriveSync_21196.921.7.0_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

Resolution

I removed the packages causing sysprep to an error in PowerShell ISE by running the following script:

Get-AppxPackage Microsoft.OneDriveSync | Remove-AppxPackage
Get-AppxPackage MicrosoftWindows.Client.WebExperience | Remove-AppxPackage

Sysprep should now run successfully:

Sysprep is working

This PC can’t run Windows 11 in VMware Workstation

So I have finally got around to installing Windows 11 into my home VMWare Workstation environment, well so I thought?

When trying to perform the installation I encountered the following error;

This PC can’t run Windows 11
This PC doesn’t meet the minimum system requirements to install this version of Windows.

This was being caused by the version of VMWare Workstation I had install on my machine plus the VM not being configured with the system requirements.

This PC cant run Windows 11
This PC cant run Windows 11

Once I had upgrade to Workstation 16, I was able to configure the VM with the required settings. First up, Enable Secure Boot as seen below

Configuration of the Windows 11 PC before attempting the install
Configuration of the Windows 11 PC before attempting the install

Next I need to add a virtual trusted platform module (vTPM) to the virtual machine running inside of VMware Workstation. Before I could go do this, I had had to encrypt the VM before you can add the TPM module in VMware Workstation.

Encrypt your VMware Workstation Windows 11 VM
Encrypt your VMware Workstation Windows 11 VM

The process to encrypt your virtual hard disk for your Windows 11 virtual machine will of course depend on the size of the hard disk. The good thing is since we haven’t been able to install anything as of yet, there is no data essentially on the hard disk.

Windows 11 VM beginning to encrypt
Windows 11 VM beginning to encrypt

Once the encryption process completes successfully on the Windows 11 virtual machine, edit your virtual machine settings, navigate to Hardware and click Add to begin the process to add new hardware to the VM.

Adding new hardware to Windows 11 virtual machine in VMware Workstation
Adding new hardware to Windows 11 virtual machine in VMware Workstation

Select the Trusted Platform Module, then, click Finish

Adding the Trusted Platform Module to Windows 11
Adding the Trusted Platform Module to Windows 11

After adding the virtual trusted platform module (vTPM), you will see the warning to the right that Removing TPM will render all encrypted data on this VM unrecoverable. In other words, you are burning the encryption key if you remove the vTPM.

A note about your encrypted data if you remove the vTPM
A note about your encrypted data if you remove the vTPM

After adding the Trusted Platform Module to the Windows 11 virtual machine, I was now able to step through the install process, select the edition, and move forward with the installer.

Windows 11 successfully installs after adding the virtual TPM
Windows 11 successfully installs after adding the virtual TPM

Now time to get some more Windows 11 blog published with Endpoint Manager.

Regards
The Author – Blogabout.Cloud