Sysprep is a System Preparation Tool designed for Windows deployment, and this tool is commonly used to prepare your operating system for disk cloning or restoration. This is an advanced tool, and unfortunately, Windows 10 users reported certain errors with Sysprep.

  • Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).

  • Click Start Scan to find Windows issues that could be causing PC problems.

  • Click Repair All to fix issues affecting your computer’s security and performance

  • Restoro has been downloaded by 0 readers this month.

But first, here are some more examples of this issue:

  • Sysprep Fatal Error Windows 10
  • Sysprep Windows 10 1803 – This is one of the most common Sysprep-related issues you can encounter in Windows 10.
  • Windows 10 Sysprep fails
  • Sysprep Windows 10 store apps – It’s also possible for Windows 10 apps to cause some Sysprep errors.
  • Sysprep was not able to validate your Windows installation 1709 – This is another common Sysprep-related error message, and you can resolve it using the solutions listed below.
  • Windows 10 Sysprep fails to remove apps for the current user –

Fix Windows 10 Sysprep errors

Table of contents: 

  • Use PowerShell to remove the package and remove provisioning
  • Stop the tiledatamodelsvc service
  • Use Registry Editor
  • Uninstall your antivirus software
  • Download the latest build of Windows 10 and use it for sysprep
  • Run the SFC scan
  • Run the DISM

How to fix Sysprep issues in Windows 10

Solution 1 – Use PowerShell to remove the package and remove provisioning

In one of our previous articles we explained what is PowerShell and what it can do, so if you want to know more about this tool we suggest that you read that article since today we’re going to use PowerShell to fix Sysprep errors on Windows 10.

Users reported that Sysprep fails after they removed or updated certain Windows Store apps, but that can be fixed by removing the problematic package and provisioning for the user that’s running Sysprep. To do that, follow these steps:

  • Start PowerShell as administrator. To do that, press Windows Key + S, enter PowerShell, right-click PowerShell from the list of results and choose Run as administrator.
  • Once PowerShell starts, enter the following lines, and after each line press Enter to run it:
  • Import-Module Appx
  • Import-Module Dism
  • Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation
  • Check the output of the last command to see for which users the package is showing as installed. Delete those users’ accounts or simply log in to the computer by using those accounts and perform the next step.
  • Run Remove-AppxPackage -Package packagefullname from PowerShell. Replace packagefullname the with the name of the package.
  • Now run the Remove-AppxProvisionedPackage -Online -PackageName packagefullname command to remove provisioning.

After performing these steps, issues with Sysprep should be resolved. It’s worth mentioning that you might want to disable your internet connection while performing this step in order to stop Windows Store from updating apps.

  • Import-Module Appx
  • Import-Module Dism
  • Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation

Solution 2 – Stop the tiledatamodelsvc service

If you cannot perform Sysprep, it might be due to a tiledatamodelsvc service. This service can sometimes interfere with Sysprep and in order to fix the issue, it’s advised that you disable the service. To do that, follow these steps:

  • Press Windows Key + R and enter services.msc. Press Enter or click OK to run it.
  • Locate the tiledatamodelsvc (Tile Data model server) service, right click it and choose Stop.

Alternatively, you can disable this service by using PowerShell.

  • Open PowerShell as administrator.
  • Enter Stop-Service tiledatamodelsvc and press Enter.

If you prefer using Command Prompt, you can use it as well to stop this service by following these steps:

  • Press Windows Key + X and choose Command Prompt (Admin) from the menu.
  • When Command Prompt starts, enter net stop tiledatamodelsvc and press Enter to run it.

Users reported that this service sometimes automatically restarts itself, so you might have to stop it few times before it’s permanently stopped.

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.Click here to download and start repairing.

Expert tip:

SPONSORED

Solution 3 – Use Registry Editor

Some users are suggesting that you can fix sysprep errors on Windows 10 by deleting a certain value from the registry. To do that, do the following:

  • Press Windows Key + R and enter regedit. Press Enter or click OK to start Registry Editor.
  • Optional: Before deleting values from registry it’s always good to back up registry in case anything goes wrong. To create a backup, select File>Export. Select All as Export range and save the backup to any location on your computer. In case anything goes wrong, you can simply run the backup file you just created and restore the registry.
  • Navigate to HKEY_LOCAL_MACHINESYSTEMSetup key in the left pane.
  • Locate Upgrade key in the right pane and delete it.
  • Close Registry Editor and check if the issue is resolved.

If you cannot find the Upgrade key in Registry Editor, skip this solution and try a different one.

Solution 4 – Uninstall your antivirus software

If you’re getting Sysprep error on Windows 10, make sure that your antivirus software is disabled. Some users are even suggesting to uninstall your antivirus software completely before trying to run Sysprep. In order to avoid any potential problems with sysprep make sure that you’re running Sysprep as an administrator.

Solution 5 – Download the latest build of Windows 10 and use it for Sysprep

Few users reported that in order to fix the problems with sysprep you need to download the latest build of Windows 10 by using the Media Creation Tool. After installing the latest Windows 10 build try to perform sysprep again. This is a bit drastic solution, and we urge you to try other solutions before trying this one.

Solution 6 – Run the SFC scan

SFC tool is a valuable built-in tool with the main purpose to scan and resolve system files corruption. Due to a virus infection or misuse, certain files can get corrupted or even deleted. That can heavily affect update features and cause errors like the one we are sorting out today.

You can use the SFC tool easily by following these instructions:

  • Right-click Start and run Command Prompt (Admin).
  • In the command line, type (or copy-paste) sfc/scannow
  • Press enter to start the scanning.
  • After the process is finished, you’ll be informed of possible errors.

Solution 7 – Run DISM

If the aforementioned SFC scan didn’t get the job done, we’re going to try a perhaps more advanced troubleshooting tool. You guessed it, we’re talking about DISM. DISM stands for Deployment Image Servicing and Management, and as its name says, it deploys the system image all over again. Hopefully, the potential issue will vanish along the way.

Here’s how to run DISM in Windows 10:

  • Open the Command Prompt as shown above.
  • Enter the following command and press Enter:
  • DISM.exe /Online /Cleanup-image /Restorehealth
  • Wait for the process to finish.
  • Restart your computer.
  • In case the DISM can’t obtain files online, try using your installation USB or DVD. Insert media and type following command:
  • DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess
  • Make sure to replace ”C:RepairSourceWindows” path of your DVD or USB.
  • Follow further on-screen instructions.

Sysprep Windows 10 errors can cause problems for advanced Windows 10 users, but we hope that our solutions have been helpful to you and that you managed to fix this problem.

  • DISM.exe /Online /Cleanup-image /Restorehealth

  • DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess

RELATED STORIES YOU NEED TO CHECK OUT:

  • How to fix corrupt Registry in Windows 10, 8, 8.1

  • Fix: Sfc /scannow stops on Windows 10

  • How to fix a corrupt bootres.dll file in Windows 10

  • How to fix Windows Update error code 66a

  • windows 10 fix

Email *

Commenting as . Not you?

Comment