Impostazioni di sistema: utilizza regole certificati con i file eseguibili di Windows per i criteri di restrizione software: valore del Registro di sistema AuthenticodeEnabledComputerHKLM\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers
- Categoria
- Impostazioni sicurezza › Criteri locali › Opzioni di sicurezza
- Ambito
- Configurazione computer
- Origine
- Windows 11 (versione 26H2 · 26300.9457)
Registro
AuthenticodeEnabled
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers Chiave corrente
- Valore abilitato
- 1
- Valore disabilitato
- 0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers] ; Opzioni (usarne solo una) ; Abilitato "AuthenticodeEnabled"=dword:00000001 ; Disabilitato "AuthenticodeEnabled"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Abilitato reg add "HKLM\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers" /v "AuthenticodeEnabled" /t REG_DWORD /d 1 /f :: Disabilitato reg add "HKLM\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers" /v "AuthenticodeEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers' -Force | Out-Null # Opzioni (usarne solo una) # Abilitato New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers' -Name 'AuthenticodeEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Disabilitato New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers' -Name 'AuthenticodeEnabled' -PropertyType DWord -Value 0 -Force | Out-Null