Sysprep ошибка установки

by Matthew Adams

Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things… read more


Updated on

  • The Sysprep was not able to validate your Windows installation Windows 11/10 error frequently occurs because of user-installed UWP apps and BitLocker.
  • Uninstalling some UWP apps you’ve installed could fix the Sysprep Windows 11 error.
  • Some users might need to disable BitLocker to fix the Sysprep was not able to validate your windows installation 0x80073cf2 error.

XINSTALL BY CLICKING THE DOWNLOAD FILE

Fix Windows 11 OS errors with Fortect:

SPONSORED

This tool repairs common computer errors by replacing the problematic system files with the initial working versions. It also keeps you away from system errors, BSoDs, and repairs damages made by malware and viruses. Fix PC issues and remove viruses damage now in 3 easy steps:

  1. Download and Install Fortect on your PC
  2. Launch the tool and Start scanning to find broken files that are causing the problems
  3. Right-click on Start Repair to fix issues affecting your computer’s security and performance
  • Fortect has been downloaded by 0 readers this month, rated 4.4 on TrustPilot

Sysprep, otherwise System Preparation, is a command-line tool some users utilize to prepare Windows images for deployment. However, an error can arise for some users after entering a Sysprep command for system preparation. One user said this in an MS forum post:

I have a clean installed Windows 10 pro which was activated by MAK license. When I tried to prepare this system with Sysprep, I got the error message Sysprep was not able to validate Your Windows installation.

That Sysprep issue can arise on Windows 11, 10, and 8 platforms. When that issue arises, the Sysprep command doesn’t run and validate the installation as expected. If you need to fix that Sysprep issue, check out the Windows 11/10 resolutions for it below.

How come the Sysprep error arises in Windows?

The Sysprep was not able to validate Your Windows installation error has existed since Windows 8. That issue often arises because of user-installed UWP apps. Many users have confirmed they fixed this issue by uninstalling certain UWP apps they installed from MS Store.

This issue can also occur if a default app, which is supposed to come pre-installed with Windows, is missing. In such a scenario, you would need to reinstall the missing Windows app. A general reinstall app command will do the job.

If you’re utilizing Windows Pro and Enterprise editions, the Sysprep error might be due to the BitLocker encryption feature. BitLocker doesn’t mix well with the Sysprep utility. So, disabling that feature on Windows Pro and Enterprise editions can sometimes resolve this error as well.

How can I fix the Sysprep error in Windows?

1. Reinstall default Windows UWP apps

  1. To bring up the search box, press the Windows + S keyboard shortcut.
  2. Type Windows PowerShell in the search box.
  3. Click PowerShell’s Run as administrator option.
    Powershell's run as administrator option
  4. Input this PowerShell command: Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
  5. Press the Enter keyboard key to execute.
    The remove apps command sysprep was not able to validate your windows installation windows 11
  6. When the command has finished, click Power and Restart on your Start menu.
    The Restart option sysprep was not able to validate your windows installation windows 11

2. Disable BitLocker

  1. Launch the Windows 11/10 search tool with its hotkey (specified in resolution one).
  2. Input Command Prompt into the search tool’s text box to find that app.
  3. Click the Run as administrator option for the Command Prompt shown directly below.
    The Run as administrator option sysprep was not able to validate your windows installation windows 11
  4. Enter this command and press Return: manage-bde -status
    The manage bds command sysprep was not able to validate your windows installation windows 11
  5. To disable BitLocker, type in this command and press Return: Disable-Bitlocker –MountPoint ‘C:’

3. Edit the registry

  1. Press the Windows + R keys together at the same time to launch Run.
  2. Type this Run command in the Open box: regedit
  3. Click OK to open Registry Editor.
    The regedit  Run command sysprep was not able to validate your windows installation windows 11
  4. Then navigate to this registry key: Computer\HKEY_LOCAL_MACHINE\SYSTEM\Setup
  5. Select the Setup key on the left side of the registry.
    Setup registry key sysprep was not able to validate your windows installation windows 11
  6. Right-click the Upgrade DWORD and select Delete.
    The Delete option sysprep was not able to validate your windows installation windows 11
  7. Go to this registry key: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus
    The sysprep registry key sysprep was not able to validate your windows installation windows 11
  8. Double-click the CleanUpState DWORD.
  9. Erase the current number and enter 7 in the Value data box, and click the OK option.
    Edit DWORD window
  10. Thereafter, press the Start button. Select the Power and Restart options there.

Note icon
NOTE

This potential resolution is recommended for users who need to fix the Sysprep error after recently upgrading to a new Windows platform.

4. Uninstall any UWP apps you’ve installed yourself

  1. Click Start and select the pinned Settings app on that menu.
    The Pinned Settings app sysprep was not able to validate your windows installation windows 11
  2. Select the Apps tab.
    Apps tab sysprep was not able to validate your windows installation windows 11
  3. Click Apps & features to open uninstall options.
    Apps & features navigation option sysprep was not able to validate your windows installation windows 11
  4. Click the three-dot button for a UWP app you’ve downloaded from the MS Store.
    Three-dot button sysprep was not able to validate your windows installation windows 11
  5. Select the Uninstall option.
    Uninstall option sysprep was not able to validate your windows installation windows 11

Note that you can bulk uninstall UWP apps with some third-party uninstaller such as CCleaner. This software enables you to select and uninstall multiple apps and also includes options for erasing leftover residual files.

You’ll probably notice that the Sysprep error message includes a setupact.log file path. Checking that file will help you identify UWP apps causing the error, and other potential factors behind it.

This is how you can check the setuppact.log file in Windows 11/10.

  1. Right-click Start and select the Run accessory on the alternative Win + X menu.
    Run option sysprep was not able to validate your windows installation windows 11
  2. Enter the folder path specified within the Sysprep error message in the Open box: %windir%\system32\Sysprep\panther
  3. Click OK to open the folder.
    Run's OK button sysprep was not able to validate your windows installation windows 11
  4. Right-click the setupact.log file in the folder and select Open with.
    The Open with option sysprep was not able to validate your windows installation windows 11
  5. Then choose to open the log file with Notepad.

Thereafter, scroll down to the bottom of that log file to view Sysprep error details. If there’s an app causing the issue, the log file will include details for it as follows.

SYSPRP Package [app ID] 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.

If you see log details like that, you’ve probably hit the bullseye! Simply uninstall the app (or apps) specified there as outlined within resolution four.

Those are some of the best ways you can fix the Sysprep Windows 11/10 error. As they’re confirmed resolutions, they’ll probably fix that error in most cases.

However, that doesn’t mean they’re 100 percent guaranteed resolutions. If you need more suggestions, some of the resolutions in our How to fix Windows 10 Sysprep errors guide might help.

You can also send a support ticket to Microsoft at the Contact Microsoft Support page.

Feel free to chat about the Sysprep was not able to validate error in this page’s comments section below. You can share other potential resolutions for this issue (if you’ve found any) and add questions for it there.

newsletter icon

Утилита Sysprep используется для подготовки эталонного образа Windows и его обезличивания, удаляя из системы все уникальные идентификаторы (SID-ы, GUID-ы), что необходимо для его корректного разворачивания в корпоративной сети. В некоторых случаях, когда вы выполняете команду sysprep /generalize /oobe /shutdown при создании образа Windows 10, программа Sysprep.exe может вернуть следующую ошибку:

Sysprep не удалось проверить установку Windows. Дополнительные сведения см. в файле журнала %Windows%\System32\Sysprep\Panther\setupact.log. После устранения проблемы снова проверьте установку с помощью Sysprep.

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 не удалось проверить установку Windows

Чтобы исправить ошибку «Sysprep не удалось проверить установку Windows», перейдите в каталог C:\Windows\System32\Sysprep\Panther и откройте с помощью любого текстового редактора (например, блокнота) файл с журналом утилиты sysprep — setupact.log.

Начните просматривать содержимое файл setupact.log снизу вверх и ищите строку с ошибками. В зависимости от найденной ошибки, вам нужно будет выполнить определенные действия для ее исправления. Рассмотрим возможнее ошибки Sysprep:

    Содержание:

  • Отключите BitLocker для запуска Sysprep
  • Не удается удалить современные приложения у текущего пользователя
  • Sysprep не работает на обновленной ОС

Отключите BitLocker для запуска Sysprep

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
If you run manage-bde -status command it will show the following:

Disk volumes that can be protected with
BitLocker Drive Encryption:
Volume C: [OSDisk]

Эта ошибка в основном возникает на планшетах и ноутбуках с Windows 10, поддерживающих шифрование InstantGo (на основе BitLocker.) Чтобы исправить эту ошибку нужно отключить шифрование для системного тома с помощью следующей команды PowerShell:

Disable-Bitlocker –MountPoint “C:”

Disable-Bitlocker

Не удается удалить современные приложения у текущего пользователя

Если в журнале setupact.log встречаются ошибки:

Error SYSPRP Package AppName_1.2.3.500_x64__xxxxxxxxx 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.

Это означает, что вы вручную устанавливали приложения (Modern / Universal Apps) из Windows Store, или некорректно удалили предустановленные приложения.

Попробуйте удалить данный пакет с помощью команд PowerShell:

Get-AppxPackage –Name *AppName* | Remove-AppxPackage
Remove-AppxProvisionedPackage -Online -PackageName AppName_1.2.3.500_x64__xxxxxxxxx

Кроме того, чтобы Microsoft Store не обновлял приложения, необходимо отключить ваш эталонный компьютер с образом Windows 10 от Интернета и отключить автоматическое обновление в режиме аудита перед тем как вы создаете образ.

Также удалите все локальные профили пользователей.

Sysprep не работает на обновленной ОС

В том случае, если вы обновили операционную систему в вашем образе до Windows 10 с предыдущей версии (Windows 8.1 или Windows 7 SP1), то при попытке выполнить Sysprep в журнале setupact.log должна содержаться следующая ошибка:

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.

Microsoft не рекомендует выполнять Sysprep образа, который был проапгрейжен с предыдущей версии Windows, рекомендуется использовать чистую установку Windows 10. Однако есть способ обойти это требования.

  1. Откройте редактор реестра и перейдите в раздел HKEY_LOCAL_MACHINE\SYSTEM\Setup.
  2. Найдите параметр с именем Upgrade и удалите его.
  3. Затем перейдите в ветку HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus и измените значение ключа CleanupState на 7. SysprepStatus CleanupState
  4. Тем самым, вы заставите Sysprep считать, что данная копия Windows установлена в режиме чистой установки.

Перезагрузите компьютер и запустите Sysprep еще раз.

Ошибка « Sysprep не удалось проверить вашу установку Windows » часто вызвана приложениями, которые вы могли загрузить из Магазина Windows, или если вы удалили приложения по умолчанию. из системы. Пользователи сообщают, что всякий раз, когда они пытаются запустить инструмент Sysprep, они получают указанное сообщение об ошибке, за которым следует путь к файлу, который содержит более подробную информацию.

Sysprep может быть действительно полезен, если вы хотите сэкономить время и автоматически развернуть операционную систему на группе компьютеров. Однако, когда вы сталкиваетесь с одной из его проблем, иногда она может быть препятствием для прохождения. Тем не менее, вы можете узнать, как решить эту проблему, прочитав эту статью.

Содержание

  1. What вызывает ошибку «Sysprep не смог проверить установку Windows» в Windows 10?
  2. Удаление Candy Crush и Twitter
  3. Установка приложений Windows по умолчанию
  4. Изменение реестра Windows
  5. Создание новой учетной записи администратора

What вызывает ошибку «Sysprep не смог проверить установку Windows» в Windows 10?

Что ж, если вы перейдете к файлу, указанному в сообщении об ошибке, и пройдетесь по нему, вы найдет возможную причину ошибки. В разных сценариях он может отличаться, поэтому для базового понимания это часто связано со следующими факторами:

  • Магазин Windows приложения: в некоторых случаях ошибка возникает, если вы загрузили приложение из Магазина Windows, которое мешает работе инструмента. В основном виновниками оказались Candy Crush и Twitter.
  • Приложения Windows по умолчанию: Другой причиной возникновения ошибки может быть удаление Windows по умолчанию. Приложения. Если перед запуском Sysprep вы удалили какое-либо приложение Windows по умолчанию, это могло быть причиной ошибки.

Переходя к решениям, вы можете исправить свои проблему, следуя обходным путям, приведенным ниже.

Удаление Candy Crush и Twitter

По какой-то странной причине большинство пользователей столкнулись с этой проблемой из-за приложений, которые они загрузили из магазина Windows. Если вы установили в своей системе Candy Crush или Twitter, они могут нести ответственность. Если этот случай применим к вам, вам придется удалить и Candy Crush, и Twitter из вашей системы, а затем снова попробовать запустить Sysprep. Вот как их удалить:

  1. Перейдите в Start Menu и найдите либо Candy Crush , либо Twitter .
  2. Щелкните приложение правой кнопкой мыши и выберите Удалить .
  3. В появившемся всплывающем окне нажмите

Сделайте то же самое для Twitter.

Установка приложений Windows по умолчанию

В некоторых случаях причиной может быть обновление приложений Windows по умолчанию. ошибки. В таком случае вам просто нужно будет снова установить приложения по умолчанию.. Вот как это сделать:

  1. Перейдите в меню «Пуск» , введите Windows Powershell , справа -щелкните по нему и выберите « Запуск от имени администратора ».
  2. После загрузки Window Powershell вставьте следующую команду и нажмите Enter:
     Get-AppxPackage -AllUsers |  Foreach {Add-AppxPackage -DisableDevelopmentMode -Register «$ ($ _. InstallLocation)  AppXManifest.xml»} 

  3. Дождитесь его завершения и снова запустите Sysprep.

Изменение реестра Windows

Если вы получаете сообщение об ошибке после обновления до Windows 10, скорее всего, это связано с ключом DWORD обновления в реестре Windows. В таком случае вам просто нужно удалить ключ, а затем снова запустить Sysprep. Вот как это сделать:

  1. Нажмите Клавиша Windows + R , чтобы открыть Выполнить .
  2. В диалоговом окне Выполнить введите ‘ regedit ‘и нажмите Enter .
  3. Перейдите по следующему пути:
     HKEY_LOCAL_MACHINE  SYSTEM  Setup  
  4. Найдите кнопку Upgrade на правой панели и щелкните по ней правой кнопкой мыши.
  5. Выбрать Удалить , чтобы удалить ключ.
  6. Перезагрузите систему, а затем попробуйте запустить Sysprep.

Создание новой учетной записи администратора

Если вы не можете найти ключ обновления в Реестр Windows и вышеуказанные решения не подходят для вас, создание новой учетной записи администратора, безусловно, решит проблему. Некоторые пользователи сообщают, что после создания новой учетной записи администратора и последующего удаления всех старых их проблема была решена. Вот как это сделать:

  1. Прежде всего, вам нужно будет создать новую учетную запись администратора. Для этого убедитесь, что вы вошли в систему как администратор .
  2. Нажмите Windows Key + I , чтобы открыть Настройки .
  3. Перейдите в Учетные записи , а затем перейдите в Семья и другие пользователи .
  4. Нажмите « Добавить кого-нибудь на этот компьютер ».
  5. Затем нажмите « У меня нет информация для входа ‘.
  6. Затем нажмите’ Добавить пользователя без учетной записи Microsoft ‘и введите имя пользователя и пароль по вашему выбору.
  7. После этого щелкните вновь созданную учетную запись и выберите’ Изменить тип учетной записи ‘.
  8. Во всплывающем окне из списка в разделе Тип учетной записи выберите Администратор , а затем нажмите OK.
  9. Теперь перезагрузите систему и войдите в систему, используя только что созданную учетную запись..
  10. Снова нажмите Windows Key + I и перейдите в Учетные записи .
  11. Переключитесь на На вкладке Семья и другие пользователи выберите свою старую учетную запись.
  12. Нажмите « Удалить », чтобы удалить учетную запись пользователя.
  13. После этого перезагрузите систему снова и запустите Sysprep.

Убедитесь, что вы удалили все предыдущие учетные записи, если у вас их несколько.

In some cases, when you try to generalize your Windows image using the sysprep.exe command (sysprep.exe /generalize /oobe /shutdown), you may receive a “Sysprep was unable to validate your Windows installation” error.

The Sysprep (System Preparation Tool) is commonly used to prepare a reference Windows image and depersonalize it by removing all unique identifiers (SID, GUID) from the operating system. The sysprep is required for deploy your golden Windows image on computers in the corporate network (see our guide on how to use Sysprep in Windows).

System Preparation Tool 3.14

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

How to Fix: Sysprep Was Not Able to Validate Your Windows Installation?

This Sysrep may fail to validate your Windows installation for several reasons. You will need to navigate to the C:\Windows\System32\Sysprep\Panther directory to get a detailed error description. Open the sysprep log file (setupact.log) using any text editor (for example, Notepad). Run the command:

notepad %windir%\system32\Sysprep\panther\setupact.log

sysprep was not able to validate

Scroll through the contents of the setupact.log file from bottom to top and look for the errors. Depending on the error found, you may need to take the following actions to fix it.

The most common causes for this Sysprep error on Windows are:

  • BitLocker encryption enabled on the system OS drive;
  • Additional Windows Store (UWP) apps you have installed;
  • You have removed some built-in Microsoft Store apps;
  • You are using an instance of Windows that has been upgraded from a previous version of the operating system (for example, from Windows 10 to Windows 11);
  • Pending Windows Update installation.

Turn BitLocker Off to Run Sysprep

Check the setupact.log log for an error that is related to 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

Open the command prompt as administrator and run the command:

manage-bde -status

It should return the following info:

Disk volumes that can be protected with
BitLocker Drive Encryption:
Volume C: [OSDisk]

Conversion Status:    Encryption in Progress

This error mostly occurs on Windows 10/11 tablets and laptops that support InstantGo encryption (based on BitLocker). To fix this error, you must disable encryption for the Windows system volume by using the following PowerShell command:

Disable-Bitlocker –MountPoint ‘C:’

sysprep was not able to validate your installation

Wait for the disk to decrypt. Run the command:

manage-bde -status

sysprep was not able to validate your windows installation review the log file at

The disk status should change to:

Conversion Status: Fully Decrypted

Protection Status: Protection Off

After this, you will be able to run the Sysprep command again.

SYSPREP Failed to Remove Apps for User

Check if there are such errors in the setupact.log:

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.

Exit code of RemoveAllApps thread was 0x3cf2

This means that you have manually installed third-party app from the Microsoft Store (UWP, APPX), or have incorrectly uninstalled a particular application.

Try to remove this app package using the PowerShell commands (run the command in the PowerShell console as Administrator):

Get-AppxPackage –Name *SomeAppName* | Remove-AppxPackage

Remove-AppxProvisionedPackage -Online -PackageName SomeAppName_1.2.3.500_x64__8we4y23f8b4ws

If the UWP app is installed for a different user account, you need to remove it from the other users’ profiles. Run the PowerShell command:

Get-AppxPackage -AllUsers | ? {$_.PackageFullName -eq 'SomeAppName_1.2.3.500_x64__8we4y23f8b4ws'}

Check the PackageUserInformation value. If any of the local users have this package Installed, you can remove the APPX for all users:

Remove-AppxPackage -Package 'SomeAppName_1.2.3.500_x64__8we4y23f8b4ws' –AllUsers

Then remove this provision package from your Windows image:

Remove-AppxProvisionedPackage -Online -PackageName 'SomeAppName_1.2.3.500_x64__8we4y23f8b4ws'

Reboot the computer and try to run Sysprep again.

The next time Sysprep might fail in another Microsoft Store app. Delete it as described above. All non-built-in apps from the Microsoft Store should be removed.

Removing some of the built-in Microsoft Store applications may also prevent Sysprep from running. In this case, the following error will appear in setupact.log:

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.

You must use the PowerShell one-liner to reinstall all built-in UWP apps:

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

Hint. Also, disconnect your device from the Internet or disable Automatic Updates in Audit mode before you sysprep your Windows image. This will prevent the Microsoft Store from automatically updating apps. You should also delete all the local user profiles, leaving only the local administrator profile in place. Use the netplwiz snap-in to delete additional user accounts.

sysprep unable to validate windows installation

Sysprep Will not Run on an Upgraded OS

If you are upgrading your operating system from an earlier version of Windows (Windows 10, Windows 8.1, or Windows 7 SP1), you should see an error in the setupact.log file when you try to run Sysprep.

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.

[0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing ‘Sysprep_Clean_Validate_Opk’ from C:\Windows\System32\spopk.dll; dwRet = 0x139f

Microsoft doesn’t recommend to run a Sysprep on Windows image that has been upgraded from a previous version of Windows.

Microsoft doesn’t recommend running a Sysprep on a Windows image that has been updated from an earlier version of Windows. The supported scenario is to sysprep only a Windows image you got after a clean installation. However, there is a way to bypass this restriction:

  1. Open the Registry Editor (regedit.exe) and go to the following registry key HKEY_LOCAL_MACHINE\SYSTEM\Setup;
  2. Find the registry parameter named Upgrade and delete it;
  3. Then navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus and change the parameter of the CleanupState key to 7.
    sysprep was not able to validate your windows

This will cause Sysprep to assume that this copy of Windows is being installed in a clean install mode. Restart the computer and run Sysprep again.

Sysprep Fails During Windows Update Installation

Another Sysprep error occurs in new Windows 10 builds (1909, 20H2, 21H1,22H1). Sysprep fails with the following error in the setupact.log:

Error                 SYSPRP Sysprep_Clean_Validate_Opk: Audit mode can’t be turned on if there is an active scenario.; hr = 0x800F0975

Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing ‘Sysprep_Clean_Validate_Opk’ from C:\Windows\System32\spopk.dll; dwRet = 0x975

Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x975

Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x975

To resolve this Sysprep error, you need to pause Windows update via modern Settings control panel (Settings > Update & Security > Windows Update > Pause updates for 7 days).

sysprep cannot validate windows installation

Reboot your device and try to run Sysprep.

In some cases, stopping Windows Update as described above does not completely clear the Reserved Storage. In this case, an error will appear in the sysprep log:

Error SYSPRP Sysprep_Clean_Validate_Opk: Audit mode cannot be turned on if reserved storage is in use. An update or servicing operation may be using reserved storage.; hr = 0x800F0975

sysprep error

To fix this issue:

  1. Open the Registry Editor (regedit.exe);
  2. Navigate to the registry key HKLM\Software\Microsoft\Windows\CurrentVersion\ReserveManager;
  3. Change the value of the ShippedWithReserves parameter from 1 to 0;
  4. Then change ActiveScenario to 0;
  5. And disable Reserved Storage in Windows using the command:
    DISM.exe /Online /Set-ReservedStorageState /State:Disabled

kardashevsky cyril

Cyril Kardashevsky

I enjoy technology and developing websites. Since 2012 I’m running a few of my own websites, and share useful content on gadgets, PC administration and website promotion.

Столкнулся со странной ошибкой при попытке выполнить SysPrep на уже установленной системе, которую планировались использовать для создания эталонного образа для развертывания Windows 10 средствами System Center Configuration Manager 2012 R2. При запуске SysPrep неожиданно появляется ошибка:

Sysprep не удалось проверить установку Windows. Дополнительные сведения см. в файле журнала %Windows%\System32\Sysprep\Panther\setupact.log. После устранения проблемы снова проверьте установку с помощью Sysprep.

Sysprep не удалось проверить установку Windows. Дополнительные сведения см. в файле журнала %Windows%\System32\Sysprep\Panther\setupact.log

В английской версии Windows 10 ошибка аналогичная:

Sysprep was not able to validate your Windows installation, Review the log file at %Windows%\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

Откроем и проанализируем ошибки в файле журнала утилиты Sysprep setupact.log. В глаза сразу бросается следующая строка:

2016-08-01 10:22:51, 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.

Т.е. ошибка явно сообщает, что запрещено выполнять Sysprep на системах, которые были обновлены с предыдущей версии Windows. В нашем случае это как раз так: одна система была получена путем апгрейда с Windows 7 до Windows 10, вторая через обновление с Windows 8.1. И действительно, согласно статье в базе знаний KB828287: Microsoft не поддерживает использование Sysprep для создания образов для инсталляций Windows, которые были обновлены через режим апгрейда (установка SP при этом не считается апгрейдом). Windows разрешает выполнять только sysprep на системах, полученных в результате «чистой установки». Неужели в таком случае придется переустанавливать систему с нуля?

Мне удалось найти более простое решение. С помощью Process Monitor с фильтром для процесса sysprep.exe и сравнения чистой и «обновленной» Windows 10 удалось получить список ключей реестра, которые проверяются Sysprep при запуске на предмет определения чистая ли эта система или «обновленная». Итак, что нужно сделать, чтобы сбросить маркер «обновленной» системы для Windows 10, который проверяется утилитой Sysprep (для других версий ОС все аналогично):

Важно. Описанная ниже методика официально не поддерживается Microsoft, и не гарантируется, что в дальнейшем не возникнет проблем с полученным таким способом образом системы.

  1. Открыть редактор реестра (regedit.exe)
  2. Перейди в ветку HKEY_LOCAL_MACHINE\SYSTEM\Setup\
  3. Удалить вложенную ветку Upgrade (если есть) и параметр с именем Upgrade Метка Upgrade в реестре
  4. В ветке HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus установить значений ключа CleanupState равным 7
  5. Осталось перезагрузить компьютер и попробовать выполнить SysPrep еще раз

Совет. В случае с Windows 10, чтобы SysPrep заработал, дополнительно пришлось удалить все нестандартные Modern приложения, которые индивидуально (не в режиме provision) были установлены из Microsoft Store пользователями системы.

Это можно сделать, удалив все профили пользователей (если применимо), полностью удалив все Metro приложения для всех пользователей (не рекомендуемы способ), либо удалив такие приложения вручную. Последний вариант реализуется так:

  1. Получим список всех установленных Metro приложений в профилях всех пользователей (нас интересуют только пакеты со статусом Installed):
    Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation
  2. И последовательно удалив их таким образом:
    Remove-AppxPackage -Package <packagefullname>
    . Или так:
    Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>

Понравилась статья? Поделить с друзьями:
  • Szmz x99 dual z8 ошибка ff
  • Synology ошибка подключения к интернету
  • T belt как скинуть ошибку
  • Systemsettings exe ошибка приложения windows 10
  • Synology cloud sync яндекс диск ошибка при авторизации