신뢰할 수 없는 원본에서 가져온 Excel XLL 추가 기능 차단 레지스트리 값 blockxllfrominternet사용자HKCU\software\policies\microsoft\office\16.0\excel\security

정책 ID
L_BlockXLLFromInternet
범위
사용자 구성
지원 OS
Windows Server 2016, Windows 10 이상
출처
Microsoft 365 Apps / Office Administrative Templates (버전 5568.1000)
카테고리
Microsoft Excel 2016 › Excel 옵션 › 보안 › 보안 센터

레지스트리

blockxllfrominternet

REG_DWORD사용자
활성 값
선택 값에 따름
요소
-
선택 값
항목저장 값
차단1
추가 경고 표시0
허용2
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

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

; 선택 항목 (하나만 사용)
; 차단
"blockxllfrominternet"=dword:00000001
; 추가 경고 표시
"blockxllfrominternet"=dword:00000000
; 허용
"blockxllfrominternet"=dword:00000002
CMD
:: 선택 항목 (하나만 사용)

:: 차단
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 1 /f
:: 추가 경고 표시
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 0 /f
:: 허용
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 2 /f
PowerShell
# 공통: 키 만들기
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null

# 선택 항목 (하나만 사용)
# 차단
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 1 -Force | Out-Null
# 추가 경고 표시
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 0 -Force | Out-Null
# 허용
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 2 -Force | Out-Null