Serververificatie configureren voor client: registerwaarde AuthenticationLevelComputerHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

Beleids-ID
TS_SERVER_AUTH
Bereik
Computerconfiguratie
Ondersteund op
Minimaal Microsoft Vista met Service Pack 1
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Extern bureaublad-services › Client voor Verbinding met extern bureaublad

Register

AuthenticationLevel

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Verificatie-instelling:
Opties
ItemOpgeslagen waarde
Altijd verbinding maken, zelfs als verificatie mislukt0
Waarschuwen als verificatie mislukt2
Geen verbinding maken als verificatie mislukt1
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]

; Opties (gebruik er maar één)
; Altijd verbinding maken, zelfs als verificatie mislukt
"AuthenticationLevel"=dword:00000000
; Waarschuwen als verificatie mislukt
"AuthenticationLevel"=dword:00000002
; Geen verbinding maken als verificatie mislukt
"AuthenticationLevel"=dword:00000001
CMD
:: Opties (gebruik er maar één)

:: Altijd verbinding maken, zelfs als verificatie mislukt
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "AuthenticationLevel" /t REG_DWORD /d 0 /f
:: Waarschuwen als verificatie mislukt
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "AuthenticationLevel" /t REG_DWORD /d 2 /f
:: Geen verbinding maken als verificatie mislukt
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "AuthenticationLevel" /t REG_DWORD /d 1 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null

# Opties (gebruik er maar één)
# Altijd verbinding maken, zelfs als verificatie mislukt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'AuthenticationLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Waarschuwen als verificatie mislukt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'AuthenticationLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# Geen verbinding maken als verificatie mislukt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'AuthenticationLevel' -PropertyType DWord -Value 1 -Force | Out-Null