신뢰할 수 없는 텍스트 기반 파일을 항상 제한된 보기에서 열기 레지스트리 값 enableforeigntextfileprotectedview사용자HKCU\software\policies\microsoft\office\16.0\excel\security\protectedview
- 정책 ID
- L_EnableForeignTextFileProtectedView
- 범위
- 사용자 구성
- 지원 OS
- Windows Server 2008 R2 또는 Windows 7 이상
- 출처
- Microsoft 365 Apps / Office Administrative Templates (버전 5568.1000)
- 카테고리
- Microsoft Excel 2016 › Excel 옵션 › 보안 › 보안 센터 › 제한된 보기
레지스트리
enableforeigntextfileprotectedview
REG_DWORD사용자- 활성 값
- 1
- 비활성 값
- 0
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security\protectedview] ; 선택 항목 (하나만 사용) ; 사용 "enableforeigntextfileprotectedview"=dword:00000001 ; 사용 안 함 "enableforeigntextfileprotectedview"=dword:00000000
CMD
:: 선택 항목 (하나만 사용) :: 사용 reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\protectedview" /v "enableforeigntextfileprotectedview" /t REG_DWORD /d 1 /f :: 사용 안 함 reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\protectedview" /v "enableforeigntextfileprotectedview" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Force | Out-Null # 선택 항목 (하나만 사용) # 사용 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'enableforeigntextfileprotectedview' -PropertyType DWord -Value 1 -Force | Out-Null # 사용 안 함 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'enableforeigntextfileprotectedview' -PropertyType DWord -Value 0 -Force | Out-Null