Excel-XLL-Add-Ins blockieren, die aus einer nicht vertrauenswürdigen Quelle stammen: Registrierungswert blockxllfrominternetBenutzerHKCU\software\policies\microsoft\office\16.0\excel\security

Richtlinien-ID
L_BlockXLLFromInternet
Bereich
Benutzerkonfiguration
Unterstützt unter
Mindestens Windows Server 2016, Windows 10
Quelle
Microsoft 365 Apps / Office Administrative Templates (Version 5568.1000)
Kategorie
Microsoft Excel 2016 › Excel-Optionen › Sicherheit › Trust Center

Registrierung

blockxllfrominternet

REG_DWORDBenutzer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
-
Optionen
EintragGespeicherter Wert
Blockieren1
Zusätzliche Warnung anzeigen0
Zulassen2
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security]

; Optionen (nur eine verwenden)
; Blockieren
"blockxllfrominternet"=dword:00000001
; Zusätzliche Warnung anzeigen
"blockxllfrominternet"=dword:00000000
; Zulassen
"blockxllfrominternet"=dword:00000002
CMD
:: Optionen (nur eine verwenden)

:: Blockieren
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 1 /f
:: Zusätzliche Warnung anzeigen
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 0 /f
:: Zulassen
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null

# Optionen (nur eine verwenden)
# Blockieren
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 1 -Force | Out-Null
# Zusätzliche Warnung anzeigen
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 0 -Force | Out-Null
# Zulassen
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 2 -Force | Out-Null