Definição de configurações sem fio usando a Conexão Fácil do Windows: valor do Registro EnableRegistrars e mais 6ComputadorHKLM\Software\Policies\Microsoft\Windows\WCN\Registrars

ID da política
WCN_EnableRegistrar
Escopo
Configuração do Computador
Compatível com
Windows Vista ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Rede › Conexão Fácil do Windows

Registro

EnableRegistrars

REG_DWORDComputador
Valor habilitado
1
Valor desabilitado
0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WCN\Registrars]

; Opções (use apenas uma)
; Habilitada
"EnableRegistrars"=dword:00000001
; Desabilitada
"EnableRegistrars"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "EnableRegistrars" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "EnableRegistrars" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'EnableRegistrars' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'EnableRegistrars' -PropertyType DWord -Value 0 -Force | Out-Null

DisableUPnPRegistrar

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Desativar recurso de configuração usando a Conexão Fácil do Windows na Ethernet (UPnP)
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WCN\Registrars]

; Opções (use apenas uma)
; Marcado
"DisableUPnPRegistrar"=dword:00000001
; Desmarcado
"DisableUPnPRegistrar"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableUPnPRegistrar" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableUPnPRegistrar" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableUPnPRegistrar' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableUPnPRegistrar' -PropertyType DWord -Value 0 -Force | Out-Null

DisableInBand802DOT11Registrar

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Desativar a capacidade de configurar usando WCN por WLAN 802.11 em banda
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WCN\Registrars]

; Opções (use apenas uma)
; Marcado
"DisableInBand802DOT11Registrar"=dword:00000001
; Desmarcado
"DisableInBand802DOT11Registrar"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableInBand802DOT11Registrar" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableInBand802DOT11Registrar" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableInBand802DOT11Registrar' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableInBand802DOT11Registrar' -PropertyType DWord -Value 0 -Force | Out-Null

DisableFlashConfigRegistrar

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Desativar o recurso de configuração usando uma unidade flash USB
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WCN\Registrars]

; Opções (use apenas uma)
; Marcado
"DisableFlashConfigRegistrar"=dword:00000001
; Desmarcado
"DisableFlashConfigRegistrar"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableFlashConfigRegistrar" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableFlashConfigRegistrar" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableFlashConfigRegistrar' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableFlashConfigRegistrar' -PropertyType DWord -Value 0 -Force | Out-Null

DisableWPDRegistrar

REG_DWORDComputador
Marcado
1
Desmarcado
0
Elemento
Desligar o recurso de configurar o Dispositivo Portátil do Windows (WPD)
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WCN\Registrars]

; Opções (use apenas uma)
; Marcado
"DisableWPDRegistrar"=dword:00000001
; Desmarcado
"DisableWPDRegistrar"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Marcado
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableWPDRegistrar" /t REG_DWORD /d 1 /f
:: Desmarcado
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableWPDRegistrar" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opções (use apenas uma)
# Marcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableWPDRegistrar' -PropertyType DWord -Value 1 -Force | Out-Null
# Desmarcado
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableWPDRegistrar' -PropertyType DWord -Value 0 -Force | Out-Null

MaxWCNDeviceNumber

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Número máximo de dispositivos WCN permitidos:
Tipo de valor
REG_DWORD
Valor máximo
65535
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WCN\Registrars]

; Nomes e tipos de valor seguem o ADMX. Substitua <inserir valor> abaixo pelos seus próprios dados
"MaxWCNDeviceNumber"=dword:<inserir valor>
CMD
:: Nomes e tipos de valor seguem o ADMX. Substitua <inserir valor> abaixo pelos seus próprios dados

reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "MaxWCNDeviceNumber" /t REG_DWORD /d "<inserir valor>" /f
PowerShell
# Nomes e tipos de valor seguem o ADMX. Substitua <inserir valor> abaixo pelos seus próprios dados

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'MaxWCNDeviceNumber' -PropertyType DWord -Value '<inserir valor>' -Force | Out-Null

HigherPrecedenceRegistrar

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Meio de precedência mais elevada para dispositivos descobertos por várias mídias:
Opções
ItemValor armazenado
WCN na Ethernet (UPnP)1
WCN por WLAN 802.11 em banda2
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WCN\Registrars]

; Opções (use apenas uma)
; WCN na Ethernet (UPnP)
"HigherPrecedenceRegistrar"=dword:00000001
; WCN por WLAN 802.11 em banda
"HigherPrecedenceRegistrar"=dword:00000002
CMD
:: Opções (use apenas uma)

:: WCN na Ethernet (UPnP)
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "HigherPrecedenceRegistrar" /t REG_DWORD /d 1 /f
:: WCN por WLAN 802.11 em banda
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "HigherPrecedenceRegistrar" /t REG_DWORD /d 2 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opções (use apenas uma)
# WCN na Ethernet (UPnP)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'HigherPrecedenceRegistrar' -PropertyType DWord -Value 1 -Force | Out-Null
# WCN por WLAN 802.11 em banda
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'HigherPrecedenceRegistrar' -PropertyType DWord -Value 2 -Force | Out-Null