Esegui solo applicazioni Windows specificate: valore del Registro di sistema RestrictApps (RestrictRun)UtenteHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RestrictRun

ID criterio
RestrictApps
Ambito
Configurazione utente
Supportato in
Almeno Windows 2000
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Sistema

Registro

RestrictRun

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

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

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

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

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

(valori dell'elenco)

REG_SZUtente
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Elenco di applicazioni consentite
Tipo di valore
REG_SZ
Aggiungi al valore esistente
true
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RestrictRun]
"<inserisci valore>"="<inserisci valore>"
CMD
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RestrictRun" /v "<inserisci valore>" /t REG_SZ /d "<inserisci valore>" /f
PowerShell
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RestrictRun' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RestrictRun' -Name '<inserisci valore>' -PropertyType String -Value '<inserisci valore>' -Force | Out-Null