JoinWorkgroup

Note   Starting with Windows 10, version 1703, this setting can no longer be used in provisioning packages. For more information on changes to the Windows Provisioning Framework, see Windows Provisioning Framework. This setting may have a Configuration Service Provider (CSP) equivalent that can be used instead. To determine if a CSP for this setting exists, see the description below.

 

JoinWorkgroup specifies the name of the workgroup to assign to a computer. If this value is set, JoinDomain cannot be set.

Values

JoinWorkgroup

Specifies the name of the workgroup to apply to a computer during Windows Setup. JoinWorkgroup is a string and must be a valid NetBIOS name.

You can specify either a domain to join or a workgroup to assign, by using JoinDomain or JoinWorkgroup settings, respectively. However, only one of these settings can be present in an answer file. If both are present in an answer file, the value for JoinDomain is used, and JoinWorkgroup is ignored.

 

This string type does not support empty elements. Do not create an empty value for this setting.

Valid configuration passes

specialize

Applies to

Windows edition x86-based devices x64-based devices
Windows 10 for desktop editions (Home, Pro, Enterprise, and Education) x86 amd64

 

 

 

Send comments about this topic to Microsoft