2019-05-19

IT/TECH: SYSPRP Package [..] was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

It may be that I am the only one running in this stupid problem due to my own 'fooliness', the problem however fills the one or other forum.

What happened

  • Created a Windows (10, v1809) image for deployment (with all needed pre-installed software due to the lack of SCCM or similar tools and since network speed and capacity is not a problem (yet), ...)
  • For a number of reasons I decided to activate the Administrator user to do this instead of using the 'interim' one I did setup in first place.
    • I also deleted the user in "Computer Management"
  • Of course, at a certain point, a sysprep /oobe /generalize /shutdown needed to be run
  • The unexpected result:

    The error: SYSPRP Package [..] was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image was the result.

The solution is as easy as simple...

  1. Delete the user profile in the computers in Control Panel\All Control Panel Items\System\Advanced system settings\User Profiles 
  2. reboot
done and solved, at least for my issue.

Note

All powershell [...] Remove-AppXPackage [...] haven't worked for me nor it seems they are somehow leading into a helpful image state from my point of view. However, you may want to try them as well.
PS
Sorry for the short and not really inspired explanation and elaboration on this error and its potential solution... I hope it is understandable and solves your issue even in this short form.