Possibilità di eliminare connessioni di accesso remoto aperte a tutti gli utenti: valore del Registro di sistema NC_DeleteAllUserConnectionUtenteHKCU\Software\Policies\Microsoft\Windows\Network Connections

ID criterio
NC_DeleteAllUserConnection
Ambito
Configurazione utente
Supportato in
Solo Windows Server 2003, Windows XP e Windows 2000
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Rete › Connessioni di rete

Registro

NC_DeleteAllUserConnection

REG_DWORDUtente
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections]

; Opzioni (usarne solo una)
; Abilitato
"NC_DeleteAllUserConnection"=dword:00000001
; Disabilitato
"NC_DeleteAllUserConnection"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKCU\Software\Policies\Microsoft\Windows\Network Connections" /v "NC_DeleteAllUserConnection" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKCU\Software\Policies\Microsoft\Windows\Network Connections" /v "NC_DeleteAllUserConnection" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections' -Name 'NC_DeleteAllUserConnection' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections' -Name 'NC_DeleteAllUserConnection' -PropertyType DWord -Value 0 -Force | Out-Null