Konfiguracja ustawień bezprzewodowych przy użyciu funkcji Połącz teraz w systemie Windows: wartość rejestru EnableRegistrars i 6 więcejKomputerHKLM\Software\Policies\Microsoft\Windows\WCN\Registrars

Identyfikator zasady
WCN_EnableRegistrar
Zakres
Konfiguracja komputera
Obsługiwane w systemach
System Windows Vista lub nowszy
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
Sieć › Połącz teraz w systemie Windows

Rejestr

EnableRegistrars

REG_DWORDKomputer
Wartość włączona
1
Wartość wyłączona
0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Włączone
"EnableRegistrars"=dword:00000001
; Wyłączone
"EnableRegistrars"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Włączone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "EnableRegistrars" /t REG_DWORD /d 1 /f
:: Wyłączone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "EnableRegistrars" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Włączone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'EnableRegistrars' -PropertyType DWord -Value 1 -Force | Out-Null
# Wyłączone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'EnableRegistrars' -PropertyType DWord -Value 0 -Force | Out-Null

DisableUPnPRegistrar

REG_DWORDKomputer
Zaznaczone
1
Niezaznaczone
0
Element
Wyłącz możliwość konfigurowania przy użyciu funkcji Połącz teraz w systemie Windows w sieci Ethernet (UPnP)
Typ wartości
REG_DWORD
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Zaznaczone
"DisableUPnPRegistrar"=dword:00000001
; Niezaznaczone
"DisableUPnPRegistrar"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Zaznaczone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableUPnPRegistrar" /t REG_DWORD /d 1 /f
:: Niezaznaczone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableUPnPRegistrar" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Zaznaczone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableUPnPRegistrar' -PropertyType DWord -Value 1 -Force | Out-Null
# Niezaznaczone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableUPnPRegistrar' -PropertyType DWord -Value 0 -Force | Out-Null

DisableInBand802DOT11Registrar

REG_DWORDKomputer
Zaznaczone
1
Niezaznaczone
0
Element
Wyłącz możliwość konfigurowania za pomocą funkcji WCN przez wewnątrzpasmową sieć WLAN 802.11
Typ wartości
REG_DWORD
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Zaznaczone
"DisableInBand802DOT11Registrar"=dword:00000001
; Niezaznaczone
"DisableInBand802DOT11Registrar"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Zaznaczone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableInBand802DOT11Registrar" /t REG_DWORD /d 1 /f
:: Niezaznaczone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableInBand802DOT11Registrar" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Zaznaczone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableInBand802DOT11Registrar' -PropertyType DWord -Value 1 -Force | Out-Null
# Niezaznaczone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableInBand802DOT11Registrar' -PropertyType DWord -Value 0 -Force | Out-Null

DisableFlashConfigRegistrar

REG_DWORDKomputer
Zaznaczone
1
Niezaznaczone
0
Element
Wyłącz możliwość konfigurowania przy użyciu dysku flash USB
Typ wartości
REG_DWORD
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Zaznaczone
"DisableFlashConfigRegistrar"=dword:00000001
; Niezaznaczone
"DisableFlashConfigRegistrar"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Zaznaczone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableFlashConfigRegistrar" /t REG_DWORD /d 1 /f
:: Niezaznaczone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableFlashConfigRegistrar" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Zaznaczone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableFlashConfigRegistrar' -PropertyType DWord -Value 1 -Force | Out-Null
# Niezaznaczone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableFlashConfigRegistrar' -PropertyType DWord -Value 0 -Force | Out-Null

DisableWPDRegistrar

REG_DWORDKomputer
Zaznaczone
1
Niezaznaczone
0
Element
Wyłącz możliwość konfigurowania urządzenia WPD (Windows Portable Device)
Typ wartości
REG_DWORD
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Zaznaczone
"DisableWPDRegistrar"=dword:00000001
; Niezaznaczone
"DisableWPDRegistrar"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Zaznaczone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableWPDRegistrar" /t REG_DWORD /d 1 /f
:: Niezaznaczone
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "DisableWPDRegistrar" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Zaznaczone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableWPDRegistrar' -PropertyType DWord -Value 1 -Force | Out-Null
# Niezaznaczone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'DisableWPDRegistrar' -PropertyType DWord -Value 0 -Force | Out-Null

MaxWCNDeviceNumber

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Maksymalna liczba dozwolonych urządzeń WCN:
Typ wartości
REG_DWORD
Wartość maksymalna
65535
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Nazwy i typy wartości są zgodne z plikiem ADMX. Zastąp poniższe <wpisz wartość> własnymi danymi
"MaxWCNDeviceNumber"=dword:<wpisz wartość>
CMD
:: Nazwy i typy wartości są zgodne z plikiem ADMX. Zastąp poniższe <wpisz wartość> własnymi danymi

reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "MaxWCNDeviceNumber" /t REG_DWORD /d "<wpisz wartość>" /f
PowerShell
# Nazwy i typy wartości są zgodne z plikiem ADMX. Zastąp poniższe <wpisz wartość> własnymi danymi

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 '<wpisz wartość>' -Force | Out-Null

HigherPrecedenceRegistrar

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Nośnik o wyższym pierwszeństwie dla urządzeń odnalezionych za pośrednictwem wielu nośników:
Opcje
PozycjaZapisana wartość
WCN przez sieć Ethernet (UPnP)1
WCN przez wewnątrzpasmową sieć WLAN 802.112
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; WCN przez sieć Ethernet (UPnP)
"HigherPrecedenceRegistrar"=dword:00000001
; WCN przez wewnątrzpasmową sieć WLAN 802.11
"HigherPrecedenceRegistrar"=dword:00000002
CMD
:: Opcje (użyj tylko jednej)

:: WCN przez sieć Ethernet (UPnP)
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "HigherPrecedenceRegistrar" /t REG_DWORD /d 1 /f
:: WCN przez wewnątrzpasmową sieć WLAN 802.11
reg add "HKLM\Software\Policies\Microsoft\Windows\WCN\Registrars" /v "HigherPrecedenceRegistrar" /t REG_DWORD /d 2 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Force | Out-Null

# Opcje (użyj tylko jednej)
# WCN przez sieć Ethernet (UPnP)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'HigherPrecedenceRegistrar' -PropertyType DWord -Value 1 -Force | Out-Null
# WCN przez wewnątrzpasmową sieć WLAN 802.11
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WCN\Registrars' -Name 'HigherPrecedenceRegistrar' -PropertyType DWord -Value 2 -Force | Out-Null