Supressing the local user account setup when deploying Windows 7

|

A nice tip from the recently released WAIK for Windows 7 RC documentation:
(I used workaround 1)

Help update: Suppressing the user accounts–creation page in Windows Welcome.

The user accounts–creation page in Windows Welcome is suppressed if a user or a group is added to a local security group. Add a user or a group to a local security group by doing one of the following:

* Create a local user.
* Add a domain user to a local security group with the Microsoft-Windows-Shell-Setup | UserAccounts unattended installation setting.

To suppress the user accounts–creation page in Windows Welcome, without creating a local user, use one of the following workarounds:

Workaround 1
If the computer is already joined to a domain, use the following XML example to add the Domain Users security group to the Local Users security group.

<DomainAccounts>
<DomainAccountList wcm:action="add">
<DomainAccount wcm:action="add">
<Group>Users</Group>
<Name>Domain Users</Name>
</DomainAccount>
<Domain>FabrikamDomain</Domain>
</DomainAccountList>
</DomainAccounts>

Because joining a domain automatically adds the Domain Users security group to the Local Users security group, the DomainAccounts command does not affect the membership of the Local Users group. However, using this XML example to join a domain will also suppress the user accounts–creation page in Windows Welcome.

Workaround 2
Use the sysprep /quit command to set the following registry value to 1:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OOBE\UnattendCreatedUser

0 comments: