Sysprep quick fix

| |

Sometime, sysprep operation may fail with the following error message:System Preparation Tool 3.14 A fatal error occurred while trying to sysprep the machine

Details can be found on Microsoft web site 

The quick fix is available here

In run as administrator PowerShell

Import-Module Appx
Import-Module Dism

Get-AppxPackage -AllUser | Format-List PackageFullName

Copy the result in new text file.

in the result, replace "PackageFullName:" with "Remove-AppxPackage -Package"

Copy the edited rows and paste in power shell window

check is there any apps left