Mogelijkheid tot het verwijderen van RAS-verbindingen van alle gebruikers: registerwaarde NC_DeleteAllUserConnectionGebruikerHKCU\Software\Policies\Microsoft\Windows\Network Connections
- Beleids-ID
- NC_DeleteAllUserConnection
- Bereik
- Gebruikersconfiguratie
- Ondersteund op
- Alleen Windows Server 2003, Windows XP, en Windows 2000
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Netwerk › Netwerkverbindingen
Register
NC_DeleteAllUserConnection
REG_DWORDGebruikerHKCU\Software\Policies\Microsoft\Windows\Network Connections Huidige sleutel
- Waarde bij ingeschakeld
- 1
- Waarde bij uitgeschakeld
- 0
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections] ; Opties (gebruik er maar één) ; Ingeschakeld "NC_DeleteAllUserConnection"=dword:00000001 ; Uitgeschakeld "NC_DeleteAllUserConnection"=dword:00000000
CMD
:: Opties (gebruik er maar één) :: Ingeschakeld reg add "HKCU\Software\Policies\Microsoft\Windows\Network Connections" /v "NC_DeleteAllUserConnection" /t REG_DWORD /d 1 /f :: Uitgeschakeld reg add "HKCU\Software\Policies\Microsoft\Windows\Network Connections" /v "NC_DeleteAllUserConnection" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections' -Force | Out-Null # Opties (gebruik er maar één) # Ingeschakeld New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections' -Name 'NC_DeleteAllUserConnection' -PropertyType DWord -Value 1 -Force | Out-Null # Uitgeschakeld New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections' -Name 'NC_DeleteAllUserConnection' -PropertyType DWord -Value 0 -Force | Out-Null