Blocca i componenti aggiuntivi XLL di Excel provenienti da un'origine non attendibile: valore del Registro di sistema blockxllfrominternetUtenteHKCU\software\policies\microsoft\office\16.0\excel\security
- ID criterio
- L_BlockXLLFromInternet
- Ambito
- Configurazione utente
- Supportato in
- Almeno Windows Server 2016 o Windows 10
- Origine
- Microsoft 365 Apps / Office Administrative Templates (versione 5568.1000)
- Categoria
- Microsoft Excel 2016 › Opzioni di Excel › Sicurezza › Centro protezione
Registro
blockxllfrominternet
REG_DWORDUtenteHKCU\software\policies\microsoft\office\16.0\excel\security Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- -
| Voce | Valore memorizzato |
|---|---|
| Blocca | 1 |
| Visualizza avviso aggiuntivo | 0 |
| Consenti | 2 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security] ; Opzioni (usarne solo una) ; Blocca "blockxllfrominternet"=dword:00000001 ; Visualizza avviso aggiuntivo "blockxllfrominternet"=dword:00000000 ; Consenti "blockxllfrominternet"=dword:00000002
CMD
:: Opzioni (usarne solo una) :: Blocca reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 1 /f :: Visualizza avviso aggiuntivo reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 0 /f :: Consenti reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null # Opzioni (usarne solo una) # Blocca New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 1 -Force | Out-Null # Visualizza avviso aggiuntivo New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 0 -Force | Out-Null # Consenti New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 2 -Force | Out-Null