Software⏱️ 3 min read📅 2026-06-11

How to Fix: Sysprep.exe fatal error, and can't delete metro app in windows 8 to get it working

Sysprep.exe fatal error and metro app issue in Windows 8, solution to remove unknown user apps.

Quick Answer: Run the command "Get-AppxPackage -AllUser | Remove-AppxPackage" in PowerShell to delete all installed apps, then try deleting the unknown user account.

Sysprep.exe fatal error and inability to delete metro apps in Windows 8 can be frustrating for users who need to rebuild their Windows image. The issue occurs when Sysprep fails to properly remove all installed apps, including those from unknown users, preventing the user from deleting them or getting the system working.

The problem is exacerbated by the presence of numerous appx packages from unknown users, which cannot be removed using the standard Remove-AppxPackage cmdlet. In this guide, we will walk through the steps to identify and remove these unwanted apps, as well as provide an alternative solution to delete the unknown user account.

🛑 Root Causes of the Error

  • The primary reason for this issue is that Sysprep.exe may not be able to remove all installed apps due to a misconfiguration or incomplete removal of appx packages. This can happen when using Sysprep.exe with incorrect parameters or failing to properly clean up the Windows installation before running Sysprep.
  • Another possible cause is that the unknown user account has been created by another process, such as a software installation or update, which may not be detected by Sysprep.exe.

🔧 Proven Troubleshooting Steps

Cleaning up Appx Packages

  1. Step 1: Open PowerShell as an administrator and run the command Get-AppxPackage -AllUser to identify all installed appx packages. This will list all apps, including those from unknown users.
  2. Step 2: Use the Get-AppxPackage cmdlet with the -ErrorAction SilentlyContinue parameter to prevent any errors from stopping the script: Get-AppxPackage -AllUser -ErrorAction SilentlyContinue
  3. Step 3: Iterate through the list of installed appx packages and use the Remove-AppxPackage cmdlet to delete each package individually. You can do this using a loop, like so: for ($i = 0; $i -lt (Get-AppxPackage -AllUser | Measure-Object).Count; $i++) { Remove-AppxPackage (Get-AppxPackage -AllUser).Name }

Deleting Unknown User Account

  1. Step 1: Open the Control Panel and navigate to Users and Computers. Right-click on the account you want to delete and select Delete User.
  2. Step 2: Confirm that you want to delete the user by clicking Yes in the pop-up window.
  3. Step 3: After deleting the unknown user account, restart your computer to ensure all changes take effect.

🎯 Final Words

To resolve the Sysprep.exe fatal error and inability to delete metro apps in Windows 8, follow the steps outlined above. Cleaning up appx packages and deleting the unknown user account should resolve the issue and allow you to rebuild your Windows image successfully.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions