2.2.2.2.1 HomeGroup Credentials

HomeGroup Credentials messages are used to synchronize homegroup credentials that are common to all homegroup members. This message contains the common credential name, its password, and its creation time.<5>

The password is encrypted using the HomeGroup Encryption Key (section 3.1.4.5.1), and the creation time is used to decide conflicts when two different homegroups are created inside the same network.

HomeGroup Credentials messages are sent within the HomeGroup Record format (section 2.2.2.2), where the following elements are specified:

  • The value of the <RECORDSOURCE> element is set to {929CB323-C5EA-48E7-A6D0-193DD432E769}.

  • The value of the <PERSIST> element is set to 1.

The <HOMEGROUP_DATA> element is populated with the HomeGroup Credentials message content in the following manner:

 <?xml version="1.0" encoding="utf-8"?><xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">  <xs:element name="HOMEGROUP_DATA">    <xs:complexType>      <xs:sequence>        <xs:element name="USERNAME" type="xs:string" minOccurs="1" />        <xs:element name="PASSWORD" type="xs:string" minOccurs="1" />        <xs:element name="ACCOUNTCREATED" type="xs:string" minOccurs="1" />      </xs:sequence>    </xs:complexType>  </xs:element>  <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">    <xs:complexType>      <xs:choice minOccurs="0" maxOccurs="unbounded">        <xs:element ref="HOMEGROUP_DATA" />      </xs:choice>    </xs:complexType>  </xs:element></xs:schema>

USERNAME: MUST be set to HomeGroupUser$.

PASSWORD: The binary version of the encrypted password, as described in section 3.1.4.5.5.

ACCOUNTCREATED: The Int64 representation of a FILETIME structure that represents the creation time of the account described in [MS-FSCC]. The value is the same for all homegroup members.