Windows 10: Sysprep was not able to validate your Windows installation

Discus and support Sysprep was not able to validate your Windows installation in Windows 10 News to solve the problem; Sysprep or System Preparation Tool is an essential tool for your Windows OS, it helps to automate the deployment of your Windows OS. However, at times,... Discussion in 'Windows 10 News' started by WinClub, Apr 23, 2021.

  1. WinClub New Member

    Sysprep was not able to validate your Windows installation


    Sysprep or System Preparation Tool is an essential tool for your Windows OS, it helps to automate the deployment of your Windows OS. However, at times, you may experience an error saying “Sysprep was not able to validate your Windows installation” especially when you run the following command:

    sysprep /generalize /oobe /shutdown

    In this article, we are going to suggest remediation methods that may help you.

    Sysprep was not able to validate your Windows installation Sysprep-error.jpg

    Sysprep was not able to validate your Windows installation


    There can be multiple reasons causing this error such as installation of the Windows Store App, loss of a default Windows Program, upgrading from the previous version of Windows, etc.

    These are the things you can do to fix Sysprep was not able to validate your Windows installation.

    1. Check the log file
    2. Turn BitLocker off and try
    3. Remove UWP apps you may have installed
    4. Reinstall default Windows UWP apps
    5. Modify Registry
    6. Sysprep will not run on an upgraded OS
    1] Check the log file


    Check the log file at %windir%\system32\Sysprep\panther\setupact.log.

    You can open the “setupact.log” file using Notepad and look for the error – maybe it will guide you in the direction to troubleshoot.

    2] Turn BitLocker off and try


    If after checking the log file, you find that your file has are any of the two errors, try disabling BitLocker.

    Error SYSPRP BitLocker-Sysprep: BitLocker is on for the OS volume. Turn BitLocker off to run Sysprep. (0x80310039)​

    Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing ‘ValidateBitLockerState’ from C:\Windows\System32\BdeSysprep.dll​

    To turn BitLocker off, launch Command Prompt as an administrator from the Start Menu, type the following commands, and hit Enter.

    manage-bde -status

    Disable-Bitlocker –MountPoint ‘C:’

    This will turn Bitlocker off.

    Now, try running Sysprep again and see if it fixes the issue.

    3] Remove UWP apps you may have installed


    If you are seeing the following errors then this means that you have either downloaded a Universal Windows Platform apps or incorrectly removed an application. Therefore, you should follow the steps in solutions 3 and 4 to fix the issue.

    Error SYSPRP Package SomeAppName_1.2.3.500_x64__8we4y23f8b4ws was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.​

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

    Sysprep was not able to validate your Windows installation uninstall-candy-crush.jpg

    You should delete all the UWP apps to fix the issue. There are multiple ways to bulk uninstall apps.

    You can even type the name of the application in the search box, click Uninstall, and follow the on-screen instructions to delete the application.

    Read: Sysprep fails on removing or updating Provisioned Windows Store apps.

    4] Reinstall default Windows UWP apps


    Sysprep was not able to validate your Windows installation powershell.jpg

    If a default Windows app is missing from your computer, you could face this error. Therefore, we need to restore all the default Windows programs to fix this issue.

    To do that, launch Windows PowerShell as an administrator from the Start Menu, type the following command, and hit Enter.

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

    It will take some time, so, wait for it to complete.

    Finally, restart your computer and check if the issue persists.

    5] Modify Registry


    Sysprep was not able to validate your Windows installation Modify-registry.jpg

    If you are experiencing the Sysprep error after upgrading to Windows 10 then modifying Registry a bit can solve the issue for you.

    To do that, launch Registry Editor from the Start Menu, go to the following location, right-click on the Upgrade key, and click Delete.

    Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup

    Now, restart your computer and check if the issue is solved.

    6] Sysprep will not run on an upgraded OS


    If you have upgraded your OS from Windows 7, 8, 8.1 to Windows 10, you will face the following error.

    Error [0x0f0036] SYSPRP spopk.dll:: Sysprep will not run on an upgraded OS. You can only run Sysprep on a custom (clean) install version of Windows.​

    You can only run Sysprep on a custom (clean) install version of Windows.

    To bypass this, change the value of the CleanupState key to 7. To do that, launch Registry Editor from the Start Menu and go to the following location-

    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus

    Double-click on CleanupState and change its value to 7.

    Finally, restart your computer and see if your issue is fixed.

    Related: A fatal error occurred while trying to sysprep the machine.

    Sysprep was not able to validate your Windows installation Sysprep-error.jpg
    This article Sysprep was not able to validate your Windows installation first appeared on TheWindowsClub.com.

    read more...
     
    WinClub, Apr 23, 2021
    #1
  2. DonPoPX Win User

    Sysprep not able to validate Windows 10 installation

    Sysprep is not able to validate Windows 10 installation and refers to the setupact.log for information to resolve the issue.

    setupact.log includes warning: Error from RegQqueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet - 0x2

    What do I need to do to validate my Windows 10 installation?
     
    DonPoPX, Apr 23, 2021
    #2
  3. VAinc Win User
    Sysprep was not able to validate Your Windows installation. Windows 10 anniversary update

    Hello.

    I have a clean installed Windows 10 pro which was activated by MAK license.

    When i tried prepare this system with Sysprep, i got the error message "Sysprep was not able to validate Your Windows installation. ...".

    Internet research indicated that such errors happen when system was upgraded to Win 10 from earlier versions. In my case this is a clean installation of Win 10 pro with corporate activation on which i have performed the "anniversary update".

    • May it happened because of this update? If so, did Microsoft released a patch/update to solve this issue (which i missed)? Is there exist any workaround to solve this issue?

    • If "anniversary update" is not a cause, what would it be?
    Thanks.
     
    VAinc, Apr 23, 2021
    #3
  4. K7AAY Win User

    Sysprep was not able to validate your Windows installation

    Sysprep was not able to validate your Windows installation (Win10 x64 1809)

    Sysprep from Win10 x64 ver 1809 fails with an error message, and after checking 16 suggestions, I ask for assistance.


    Sysprep was not able to validate your Windows installation OsSPo.png


    https://drive.google.com/open?id=1n_G7_9baHMNmhwWAWKUolW5T5NMnhAsf lists the 24 errors found in %WINDIR%\System32\Sysprep\Panther\setupact.log when I tried to install Windows 10 version 1809 on a new desktop machine, a PC which installs flawlessly with Windows 10 1709.

    https://superuser.com/questions/1238880/sysprep-was-not-able-to-validate-windows-installation suggested four things which did not work:

    a) reviewing the Remaining Windows rearm count w/ slmgr /dlv, which is 1000.

    b) looking at Sysprep fails with Microsoft Store apps - Windows Client for provisioned M$ Store apps removed or updated. None were removed or updated.

    c) Running a PowerShell command Get-AppxPackage -AllUser | Where PackageFullName -eq 89006A2E.AutodeskSketchBook_1.8.1.0_x64__tf1gferkr813w| Remove-AppxPackage -AllUsers did not help.

    d) Removing default pre-installed Appx for all users as per https://www.thewindowsclub.com/erase-default-preinstalled-modern-apps-windows-8 with Powershell-as-admin commands Get-AppxPackage -AllUsers followed by 'Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online` which did not help.

    Windows 8.1 Enterprise Sysprep Error suggested other things I have not done above:

    e) Don't upgrade. It's not an upgrade, it's a brand new install.

    f) Delete any other user account, use only Administrator. There are no other accounts other than Administrator.

    g) Don't update Modern apps. No Modern apps are updated. The LAN is disconnected during install to prevent this.

    h) If you need to add any other settings please use the answer file settings. No other settings are added.

    i) Delete the Registry item DWORD HKLM\SYSTEM\Setup\Upgrade. No such item found.

    j) Delete folders c:\windows.old and the c:\Windows~BT. No such folders found.

    k) Following a Reddit tip https://www.reddit.com/r/sysadmin/comments/5gpk9u/sysprep_was_not_able_to_validate_your_windows/, I checked C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.srd with sqlitebrowser3. No users who should not exist were found in the user and userpackage tables.

    l) Sysprep was not able to validate your Windows installation suggested checking to make sure the OD was no labeled as an upgrade (even though it isn't an upgrade) but there was no REG_DWORD 'Upgrade' key found in the Registry at In the HKEY_LOCAL_MACHINE\SYSTEM\Setup\ node.

    m) As per the suggestion of Origami below, I checked BitLocker with manage-bde -status . It was on, so I ran a PowerShell command as Administrator in another window Disable-Bitlocker –MountPoint ‘C:’ and kept checking with manage-bde -status in another window, until it showed C: was unencrypted. Then, also as per that suggestion, I followed http://computer-help-please.blogspot.com/2016/01/sysprep-error-windows-81-sysprep.html, and in Powershell opened as Administrator, ran Get-AppxPackage | Remove-AppxPackage then went to the Windows 10 Modern menu, selected every live tile, and marked them to turn them off. Also made sure the PC did not connect to a LAN, either Ethernet or WiFi. Made sure HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus values for cleanupstate and generalizationstate matched the image shown at http://computer-help-please.blogspot.com/2016/01/sysprep-error-windows-81-sysprep.html. Chose Sysprep again with Generalize selected, it rebooted, and it failed again, returning me to the Administrator screen.

    FYI, the Modern apps menu shows several tiles with icons for Calendar, Mail, Xbox, Photos, Microsoft Store, Edge, Skype, OneNote, My Office, Movies and TV, Calculator, Groove Music, and Maps, whereas on the previous reboot all it showed was the down-arrow icon.

    https://theitbros.com/sysprep-was-not-able-to-validate-your-windows-installation/ suggested two more approaches to investigate:

    n) looking for Error SYSPRP Package SomeAppName_1.2.3.500_x64__8we4y23f8b4ws was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. However, there are no other users at this point besides Administrator, and no other packages are iinstalled.

    o) looking for Error 0x0f0036 SYSPRP spopk.dll:: Sysprep will not run on an upgraded OS. You can only run Sysprep on a custom (clean) install version of Windows. That error did not appear and this was a clean install.

    Another relevant possibility was found at Sysprepping an offline Windows 10 system?

    p) Bring up a Administrator's cmd prompt, go to the oobe folder and manually run msoobe. This runs through the OOBE and then it gets to "Just a moment..."; the throbber spins over over an hour before I killed it.

    I eagerly await other suggestions on how to resolve this besides https://xkcd.com/2083 or .
     
    K7AAY, Apr 23, 2021
    #4
Thema:

Sysprep was not able to validate your Windows installation

Loading...
  1. Sysprep was not able to validate your Windows installation - Similar Threads - Sysprep was able

  2. Sysprep cannot validate Windows installation

    in Windows 10 Updates and Activation
    Sysprep cannot validate Windows installation: I am trying to upgrade my pc, and so I was trying to use sysprep. However, it encounters an error and tells me "Sysprep was not able to validate your Windows installation. The log has the following error lines: 2020-05-19 18:25:09, Error SYSPRP Package...
  3. Validation of Windows 10 installed on a PC

    in Windows 10 Updates and Activation
    Validation of Windows 10 installed on a PC: How to find that the operating system on my PC is genuine or not? https://answers.microsoft.com/en-us/windows/forum/all/validation-of-windows-10-installed-on-a-pc/e26b6c09-e0ae-43aa-962d-d4d3b1accd70"
  4. Sysprep

    in Windows 10 Installation and Upgrade
    Sysprep: I'm trying to sysprep a machine ready for deployment but keep getting an error due to the Welsh interface pack installed, this has worked with every version except for this 1809. Other versions used to be a LIP file but it's not with 1809. The log error is - Package...
  5. We are validating Windows 10 on your PC

    in Windows 10 Updates and Activation
    We are validating Windows 10 on your PC: The GetWindows Icon shows that it is validating Windows 10 on this PC. Thank you for reserving your free upgrade. I went to view confirmation and canceled the reservation. Even though the UAC screen darkens and I have to allow it to make changes it doesn't change. Even after...
  6. validate your account - nags stopped?

    in User Accounts and Family Safety
    validate your account - nags stopped?: Used to find that I got nagged often to validate my account - not often now - does anyone else notice this? 79588
  7. Sysprep unable to validate installation. (yet another sysprep case)

    in Windows 10 Installation and Upgrade
    Sysprep unable to validate installation. (yet another sysprep case): Hey everyone, I hope you're doing fine. Well, I'll keep this short and to the point. I want to run sysprep on my Windows 10 Pro (x64) PC and I've faced many errors till now which I somehow managed to dodge , Now I've come across another problem. i have no clue about...
  8. Some curious installation experience with Sysprep

    in Windows 10 Installation and Upgrade
    Some curious installation experience with Sysprep: I have a 3-day old clean install of Windows 10 Pro x64 version 1511. This is sysprep-ed install with 'Users' folder relocated to D: drive. This install, as I suddenly discovered, suffered from the following issue: When I started Windows Feedback app, it presented me...
  9. Failure in Sysprep building install image

    in Windows 10 Installation and Upgrade
    Failure in Sysprep building install image: I am the manager of a group refurbishing computers for children and needy adults. We were doing Windows 7 until it was stopped. I am trying to build an image in Windows 10 which maintains the look and feel of the Win 7 machine. I have not made any change to anything in the...
  10. Sysprep with upgraded Win 10 install

    in Windows 10 Support
    Sysprep with upgraded Win 10 install: I have a laptop that has seen better days. The screen has finally stopped functioning, and the second hard drive has now failed. I wish to take the new SSD system drive to put into the new laptop I have purchased, The OS on the SSD is Win 10 which has been upgraded from...