Hi,
Thanks for your post,
According to my research, Sysprep was failing to generalize because something was stopping it from continuing the process. The errors were logged in the following folder:-
C:\Windows\System32\Sysprep\Panther
and the following files contained info pointing to the failure:-
Please check if there are some errors like below in your setuperr.log:
“Error SYSPRP Failed while deleting repository files under ‘C:\ProgramData\Microsoft\Windows\AppRepository’”
If yes, the service
tiledatamodelsvc is responsible, and all you have to do to fix is stop the service before running sysprep. That service prevents Sysprep from accessing the files in
C:\ProgramData\Microsoft\Windows\AppRepository.
To resolve the problem, try one of these three methods:
1. Stop it with PowerShell
Stop-Service tiledatamodelsvc
2. Stop it from a cmd prompt
net stop tiledatamodelsvc
3. Stop it in the Computer Management console
Open Computer Management and select services, locate the tiledatamodelsvc, right click it, and choose
Stop.
Once the service is stopped, you can sysprep the computer.
Best Regards,
Alvin Wang
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.