Configuration of wireless settings using Windows Connect Now
Supported on: At least Windows Vista
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars |
|---|---|
| Value name | EnableRegistrars |
| Enabled writes | 1 (REG_DWORD) |
| Disabled writes | 0 (REG_DWORD) |
| Option | Value | Type | Allowed values |
|---|---|---|---|
| Turn off ability to configure using WCN over Ethernet (UPnP) | DisableUPnPRegistrar | REG_DWORD | Checked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Turn off ability to configure using WCN over In-band 802.11 WLAN | DisableInBand802DOT11Registrar | REG_DWORD | Checked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Turn off ability to configure using a USB Flash Drive | DisableFlashConfigRegistrar | REG_DWORD | Checked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Turn off ability to configure Windows Portable Device (WPD) | DisableWPDRegistrar | REG_DWORD | Checked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD) |
| Maximum number of WCN devices allowed: | MaxWCNDeviceNumber | REG_DWORD | Number 0 to 65535 |
| Higher precedence medium for devices discovered by multiple media: | HigherPrecedenceRegistrar | 1 (REG_DWORD) = WCN over Ethernet (UPnP) 2 (REG_DWORD) = WCN over In-band 802.11 WLAN |
What it does (vendor explanation)
This policy setting allows the configuration of wireless settings using Windows Connect Now (WCN). The WCN Registrar enables the discovery and configuration of devices over Ethernet (UPnP), over In-band 802.11 WLAN, through the Windows Portable Device API (WPD), and via USB Flash drives.
Additional options are available to allow discovery and configuration over a specific medium.
If you enable this policy setting, additional choices are available to turn off the operations over a specific medium.
If you disable this policy setting, operations are disabled over all media.
If you do not configure this policy setting, operations are enabled over all media.
The default for this policy setting allows operations over all media.
Group Policy path: Computer Configuration > Administrative Templates > Network > Windows Connect Now > Configuration of wireless settings using Windows Connect Now
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'EnableRegistrars' -Value 1 -PropertyType DWord -Force
# Turn off ability to configure using WCN over Ethernet (UPnP)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableUPnPRegistrar' -Value <value> -PropertyType DWord -Force
# Turn off ability to configure using WCN over In-band 802.11 WLAN
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableInBand802DOT11Registrar' -Value <value> -PropertyType DWord -Force
# Turn off ability to configure using a USB Flash Drive
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableFlashConfigRegistrar' -Value <value> -PropertyType DWord -Force
# Turn off ability to configure Windows Portable Device (WPD)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableWPDRegistrar' -Value <value> -PropertyType DWord -Force
# Maximum number of WCN devices allowed:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'MaxWCNDeviceNumber' -Value <value> -PropertyType DWord -Force
# Higher precedence medium for devices discovered by multiple media:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'HigherPrecedenceRegistrar' -Value 1 -PropertyType DWord -ForceGroup Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".