Facebook Linkedin Medium Pinterest Twitter
  • Windows
  • Hardware
  • Networking
  • Database
  • Security
  • Software
  • Android
logo bardiminBardiminThe Beauty of Sharing Knowledge
  • Windows
  • Hardware
  • Networking
  • Database
  • Security
  • Software
  • Android
logo bardiminBardiminThe Beauty of Sharing Knowledge
Facebook
Linkedin
Medium
Pinterest
Twitter
  • Windows
  • Hardware
  • Networking
  • Database
  • Security
  • Software
  • Android
More
    • Windows
    • Hardware
    • Networking
    • Database
    • Security
    • Software
    • Android
    More
      Home Windows Troubleshooting
      • Windows
      • Troubleshooting

      How to Solve Sysprep Error on Windows 11

      March 6, 2024
      267
      sysprep

      Sysprep is a tool used to prepare your Windows installation for use on other computers with different configurations. Sysprep can remove system-specific information, such as computer name, product ID, and SID (Security Identifier) so that Windows installations can be copied and distributed to other computers without causing conflicts.

      Sysprep can also be used to generalize Windows installations, i.e. remove all installed user and application information, so that Windows installations can be used as base images to create custom images.

      However, Sysprep does not always run smoothly. Many Windows 11 users have reported that they encounter errors when running Sysprep, especially when using the generalize option. Common errors are “Sysprep was not able to validate your Windows installation” or “A fatal error occurred while trying to sysprep the machine”.

      sysprep

      This error can hinder the Sysprep process and make the Windows installation unusable on other computers. What causes this error and how can I resolve it? This article will answer the question by providing some solutions that you can try.

      Causes of Sysprep Error on Windows 11

      Several factors can cause sysprep errors in Windows 11, including:

      • There is an application that is not supported by Sysprep. Some apps installed on Windows 11 may not be compatible with Sysprep, especially apps that use Microsoft accounts or cloud services, such as OneDrive, Skype, and the Microsoft Store. This application can interfere with the Sysprep process and cause errors.
      • There are changes to the Windows registry. The Windows registry is a database that stores important information about the operating system, settings, and applications. If the Windows registry is damaged or changes are inappropriate, Sysprep can fail to run and display an error.
      • There is a limit to the number of Sysprep that can be done. Windows 11 has a limitation that Sysprep can only be done three times on one Windows installation. If you try to run Sysprep more than three times, you’ll get an error.

      A solution to Sysprep Error on Windows 11

      Here are some solutions you can try to solve sysprep error on Windows 11:

      Other Interesting Articles
      • Network Folder in File Explorer Empty? Here’s How to Fix It in Windows 11!
      • How to Solve File Path Length Limitations in Windows 11
      • How to Change Desktop Wallpaper for All Windows 11 Users

      Solution 1: Remove Applications Not Supported by Sysprep

      The first step you can take is to remove applications that are not supported by Sysprep, especially applications that use Microsoft accounts or cloud services. You can remove these apps by using Settings or PowerShell. Here’s how:

      • Open Settings by pressing Windows + I on the keyboard.
      • Select Apps and then select Installed apps.
      • Find apps that aren’t supported by Sysprep, such as OneDrive, Skype, and the Microsoft Store, and click Uninstall to remove them. Repeat this step for each app you want to remove.
      • If you can’t remove an app by using Settings, you can use PowerShell. Open PowerShell by pressing Windows + X on the keyboard and select Windows PowerShell (Admin).
      • Type the following commands to remove applications that are not supported by Sysprep, and press Enter after each command. Replace AppName with the name of the app you want to remove.
      Get-AppxPackage *AppName* | Remove-AppxPackage
      Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -like “*AppName*”} | Remove-AppxProvisionedPackage -Online
      • After you remove all applications that are not supported by sysprep, try running sysprep again and see if the error still appears.
      1
      2
      • TAGS
      • Application
      • Computer
      • database
      • keyboard
      • Microsoft
      • Microsoft Account
      • Microsoft Store
      • OneDrive
      • operating system
      • PowerShell
      • regedit
      • registry
      • registry editor
      • Security
      • settings
      • Software
      • Windows
      • Windows 11
      Previous articleHow to Solve Computer That Won’t Boot After Replacing CMOS Battery
      Next articleHow to Turn Bluetooth On and Off in Windows 11
      Bardimin
      Manage Consent
      To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
      Functional Always active
      The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
      Preferences
      The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
      Statistics
      The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
      Marketing
      The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
      Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
      View preferences
      {title} {title} {title}
      pixel