Interdire l’accès aux propriétés des composants d’une connexion d’accès à distance : valeur de Registre NC_RasChangePropertiesUtilisateurHKCU\Software\Policies\Microsoft\Windows\Network Connections
- ID de stratégie
- NC_RasChangeProperties
- Étendue
- Configuration utilisateur
- Pris en charge sur
- Systèmes d’exploitation Microsoft Windows Server 2003, Windows XP et Windows 2000 Service Pack 1 uniquement
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Réseau › Connexions réseau
Registre
NC_RasChangeProperties
REG_DWORDUtilisateur- Valeur si activée
- 0
- Valeur si désactivée
- 1
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections] ; Options (en utiliser une seule) ; Activé "NC_RasChangeProperties"=dword:00000000 ; Désactivé "NC_RasChangeProperties"=dword:00000001
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKCU\Software\Policies\Microsoft\Windows\Network Connections" /v "NC_RasChangeProperties" /t REG_DWORD /d 0 /f :: Désactivé reg add "HKCU\Software\Policies\Microsoft\Windows\Network Connections" /v "NC_RasChangeProperties" /t REG_DWORD /d 1 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections' -Name 'NC_RasChangeProperties' -PropertyType DWord -Value 0 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections' -Name 'NC_RasChangeProperties' -PropertyType DWord -Value 1 -Force | Out-Null