After performing a unattended installation of Windows 8 (or later), the user avatar is not set as expected. GNOME Boxes has been used for performing the unattended installation.
Hmm. Interesting ... user.bmp file is generated and copied to the right place (C:\ProgramData\Microsoft\User Account Pictures), even though the image is not used. When I decided set the user avatar through the Account Settings I realized this warning: "You need to activate Windows before you can personalize your PC." Going, then, to the "Activate Windows" menu, I noticed that "Current product key" (which just shows me the last 5 letters of the key) shows me something different that I used for installing my Windows and the activation fails with: "Windows can't activate. Try again later." and nothing useful on details. Setting the same product key used during installation and rebooting seems to take any effect wrt the avatar picture. I've tried then to force the activation during the installation by adding the following part to the autounattended XML, but it also makes no difference: <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation>false</SkipAutoActivation> </component>
I've moved this issue to the upstream tracker: https://gitlab.com/libosinfo/osinfo-db/issues/24