Ogranicz delegowanie poświadczeń do serwerów zdalnych: wartość rejestru RestrictedRemoteAdministration i 1 więcejKomputerHKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation

Identyfikator zasady
RestrictedRemoteAdministration
Zakres
Konfiguracja komputera
Obsługiwane w systemach
Co najmniej system Windows Server 2012 R2, Windows 8.1 lub Windows RT 8.1
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
System › Delegowanie poświadczeń

Rejestr

RestrictedRemoteAdministration

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\CredentialsDelegation]

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

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

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

RestrictedRemoteAdministrationType

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Użyj następującego trybu ograniczania:
Opcje
PozycjaZapisana wartość
Ogranicz delegowanie poświadczeń3
Wymagaj zdalnej funkcji Credential Guard2
Wymagaj administracji z ograniczeniami1
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredentialsDelegation]

; Opcje (użyj tylko jednej)
; Ogranicz delegowanie poświadczeń
"RestrictedRemoteAdministrationType"=dword:00000003
; Wymagaj zdalnej funkcji Credential Guard
"RestrictedRemoteAdministrationType"=dword:00000002
; Wymagaj administracji z ograniczeniami
"RestrictedRemoteAdministrationType"=dword:00000001
CMD
:: Opcje (użyj tylko jednej)

:: Ogranicz delegowanie poświadczeń
reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "RestrictedRemoteAdministrationType" /t REG_DWORD /d 3 /f
:: Wymagaj zdalnej funkcji Credential Guard
reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "RestrictedRemoteAdministrationType" /t REG_DWORD /d 2 /f
:: Wymagaj administracji z ograniczeniami
reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "RestrictedRemoteAdministrationType" /t REG_DWORD /d 1 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Ogranicz delegowanie poświadczeń
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'RestrictedRemoteAdministrationType' -PropertyType DWord -Value 3 -Force | Out-Null
# Wymagaj zdalnej funkcji Credential Guard
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'RestrictedRemoteAdministrationType' -PropertyType DWord -Value 2 -Force | Out-Null
# Wymagaj administracji z ograniczeniami
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'RestrictedRemoteAdministrationType' -PropertyType DWord -Value 1 -Force | Out-Null