Bug 1328637

Summary: User avatar for desktop profile is not set when unattended installing Windows 8 or later
Product: [Community] Virtualization Tools Reporter: Fabiano Fidêncio <fidencio>
Component: libosinfoAssignee: Fabiano Fidêncio <fidencio>
Status: CLOSED DEFERRED QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, cfergeau, crobinso, fidencio, marcandre.lureau
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-29 00:09:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Fabiano Fidêncio 2016-04-20 00:08:23 UTC
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.

Comment 1 Fabiano Fidêncio 2016-05-03 10:44:49 UTC
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>

Comment 3 Cole Robinson 2019-03-29 00:09:25 UTC
I've moved this issue to the upstream tracker: https://gitlab.com/libosinfo/osinfo-db/issues/24