Activer l’authentification du client Mappeur de point de terminaison RPC
Enable RPC Endpoint Mapper Client Authentication
Explication
Ce paramètre de stratégie détermine si les clients RPC s’authentifient auprès du service Mappeur de point de terminaison lorsque l’appel qu’ils effectuent contient des informations d’authentification. Le service Mappeur de point de terminaison sur les ordinateurs exécutant Windows NT4 (tous Service Packs) ne peut pas traiter les informations d’authentification Windows fournies ainsi.
Si vous désactivez ce paramètre de stratégie, les clients RPC ne s’authentifieront pas auprès du service Mappeur de point de terminaison, mais ils pourront communiquer avec le service Mappeur de point de terminaison sur Windows NT4 Server.
Si vous activez ce paramètre de stratégie, les clients RPC s’authentifient auprès du service Mappeur de point de terminaison pour les appels qui contiennent des informations d’authentification. Les clients qui effectuent de tels appels ne pourront pas communiquer avec le service Mappeur de point de terminaison de Windows NT4 Server.
Si vous ne configurez pas ce paramètre de stratégie, il reste désactivé. Les clients RPC ne s’authentifient pas auprès du service Mappeur de point de terminaison, mais ils peuvent communiquer avec le service Mappeur de point de terminaison de Windows NT4 Server.
Remarque : cette stratégie ne s’applique qu’après le redémarrage du système.
This policy setting controls whether RPC clients authenticate with the Endpoint Mapper Service when the call they are making contains authentication information. The Endpoint Mapper Service on computers running Windows NT4 (all service packs) cannot process authentication information supplied in this manner.
If you disable this policy setting, RPC clients will not authenticate to the Endpoint Mapper Service, but they will be able to communicate with the Endpoint Mapper Service on Windows NT4 Server.
If you enable this policy setting, RPC clients will authenticate to the Endpoint Mapper Service for calls that contain authentication information. Clients making such calls will not be able to communicate with the Windows NT4 Server Endpoint Mapper Service.
If you do not configure this policy setting, it remains disabled. RPC clients will not authenticate to the Endpoint Mapper Service, but they will be able to communicate with the Windows NT4 Server Endpoint Mapper Service.
Note: This policy will not be applied until the system is rebooted.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Rpc- Nom de la valeur
EnableAuthEpResolution
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : RPC/RpcEnableAuthEpResolution
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableAuthEpResolution' -Value 1 -Type DWordDésactiver
# Désactiver : RPC/RpcEnableAuthEpResolution
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableAuthEpResolution' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : RPC/RpcEnableAuthEpResolution
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc'
Remove-ItemProperty -Path $k -Name 'EnableAuthEpResolution' -ErrorAction SilentlyContinue