How to fix Windows 10 sysprep errors

By: Milan Stanojevic
6 minute read
Fix error code 0x803f7000 in Windows 10 Store

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

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.

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

  • Sysprep fatal error Windows 10 
  • Windows 10 sysprep fails 
  • Sysprep Windows 10 1803 – This is one of the most common sysprep-related issues you can encounter in Windows 10.
  • 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: 

  1. Use PowerShell to remove the package and remove provisioning
  2. Stop the tiledatamodelsvc service
  3. Use Registry Editor
  4. Uninstall your antivirus software
  5. Download the latest build of Windows 10 and use it for sysprep
  6. Run the SFC scan
  7. 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:

  1. 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.
    powershell-run-as-admin
  2. 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
  3. Check the output of 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.
  4. Run Remove-AppxPackage -Package packagefullname from PowerShell. Replace packagefullname the with the name of the package.
    powershell-1
  5. Now run the Remove-AppxProvisionedPackage -Online -PackageName packagefullname command to remove provisioning.
    powershell-2

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.

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:

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

Alternatively, you can disable this service by using PowerShell.

  1. Open PowerShell as administrator.
  2. Enter Stop-Service tiledatamodelsvc and press Enter.
    tiledatamodelsvc-powershell

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

  1. Press Windows Key + X and choose Command Prompt (Admin) from the menu.
    command-prompt-admin
  2. When Command Prompt starts, enter net stop tiledatamodelsvc and press Enter to run it.
    tiledatamodelsvc-cmd

  3. For various PC problems, we recommend this tool.

    This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

    1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
    2. Click “Start Scan” to find Windows issues that could be causing PC problems.
    3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

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

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:

  1. Press Windows Key + R and enter regedit. Press Enter or click OK to start Registry Editor.
    regedit
  2. 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.
  3. Navigate to HKEY_LOCAL_MACHINESYSTEMSetup key in the left pane.
  4. Locate Upgrade key in the right pane and delete it.
  5. 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.

If you’re still having issues on your PC or you simply want to avoid them for the future, we recommend you to download this tool (100% safe and tested by us) to fix various PC problems, such as file loss, malware and hardware failure.

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:

  1. Right-click Start and run Command Prompt (Admin).
  2. In the command line, type (or copy-paste) sfc/scannow
  3. Press enter to start the scanning.
  4. 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:

  1. Open the Command Prompt as shown above.
  2. Enter the following command and press Enter:
      • DISM.exe /Online /Cleanup-image /Restorehealth
  3. Wait for the process to finish.
  4. Restart your computer.
  5. 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:\RepairSource\Windows /LimitAccess
  6. Make sure to replace ”C:\RepairSource\Windows” path of your DVD or USB.
  7. 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.

Editor’s Note: This post was originally published in May 2016 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.

RELATED STORIES YOU NEED TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Discussions

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading