The Sysprep tool is essential for preparing Windows images for deployment, especially in enterprise environments. However, encountering the error message “Sysprep was not able to validate your Windows installation” on Windows 11 can halt your deployment process and be quite frustrating. This error can stem from various underlying issues within the system. In this guide, we’ll explore several methods to resolve this error so you can successfully run Sysprep on your Windows 11 machine.
Disable the upgrade registry key entry
One common cause of the Sysprep validation error is the presence of an Upgrade registry key, especially after performing a Windows upgrade. Removing this key can often resolve the issue.
Win + R to open the Run dialog, typing regedit, and pressing Enter. If prompted by User Account Control, click Yes.
HKEY_LOCAL_MACHINE\SYSTEM\Setup



HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus
You can paste this path directly into the Registry Editor’s address bar for quick access.



Join readers who trust AllThings.How
Add us as a preferred source on Google so our practical guides show up first next time you search.
Add to Google Preferences →Reinstall the default Windows apps
Missing or uninstalled default Windows apps can interfere with Sysprep’s validation process. Reinstalling these apps can help eliminate the error.

Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}


Uninstall problematic UWP apps
Universal Windows Platform (UWP) apps installed from the Microsoft Store can sometimes cause issues with Sysprep, especially if they aren’t provisioned properly. Removing these apps may resolve the error.



If the error persists, you may need to remove specific app packages using PowerShell.
SYSPREP failed to remove apps for the current user
If the log file contains errors such as:
- SYSPRP Package <App Name>_1.2.3.500_x64__8we4y23f8b4ws was installed for a user, but not provisioned for all users.
- SYSPRP Failed to remove apps for the current user: 0x80073cf2.
You need to remove the specified app package using PowerShell.
Import-Module Appx
Import-Module Dism
Get-AppxPackage -AllUsers | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation

Remove-AppxPackage -Package <PackageFullName>

Remove-AppxProvisionedPackage -Online -PackageName <PackageFullName>

Remove-AppxPackage -Package <PackageFullName> -AllUsers

Repeat these steps for any other problematic apps. Afterwards, try running Sysprep again.
Turn off BitLocker
Sysprep may encounter issues if BitLocker encryption is enabled on your system drive. Disabling BitLocker can help resolve the error.


manage-bde -status again.Disable TPM and PTT
Sometimes, even after disabling BitLocker, the system assumes it’s still active due to TPM (Trusted Platform Module) or PTT (Platform Trust Technology). Disabling TPM/PTT in the BIOS can help.
F2, F10, or Del during startup.
Pause Windows Updates
Active Windows Update processes can interfere with Sysprep. Pausing updates can help you bypass the error.
Replace the spopk.dll file
A corrupted or missing spopk.dll file can cause validation errors with Sysprep. Replacing this file might resolve the issue.
takeown /f %WinDir%\System32\spopk.dll
icacls %WinDir%\System32\spopk.dll /Grant Administrators:f

%windir%\System32 using File Explorer. You can paste this path into the address bar and press Enter.%windir%\System32

spopk.dll file with a known good copy from another Windows 11 installation or a trusted source.Perform DISM and SFC scans
System file corruption can lead to Sysprep errors. Using the Deployment Image Servicing and Management (DISM) tool along with the System File Checker (SFC) can repair corrupted system files.
sfc /scannow

DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth

Create a new administrator account
Sometimes, user account issues can prevent Sysprep from validating the installation. Creating a new administrator account may help.








Reset your PC
As a last resort, resetting your PC can resolve persistent issues that prevent Sysprep from validating your installation.





By following these methods, you should be able to resolve the “Sysprep was not able to validate your Windows installation” error on your Windows 11 PC.






