자동화 보안 레지스트리 값 automationsecurity사용자HKCU\software\policies\microsoft\office\common\security
- 정책 ID
- L_AutomationSecurity
- 범위
- 사용자 구성
- 지원 OS
- Windows Server 2008 R2 또는 Windows 7 이상
- 출처
- Microsoft 365 Apps / Office Administrative Templates (버전 5568.1000)
- 카테고리
- Microsoft Office 2016 › 보안 설정
레지스트리
automationsecurity
REG_DWORD사용자- 활성 값
- 선택 값에 따름
- 요소
- 자동화 보안 수준 설정
| 항목 | 저장 값 |
|---|---|
| 기본적으로 매크로 사용 안 함 | 3 |
| 응용 프로그램 매크로 보안 수준 사용 | 2 |
| 매크로 사용(기본값) | 1 |
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\common\security] ; 선택 항목 (하나만 사용) ; 기본적으로 매크로 사용 안 함 "automationsecurity"=dword:00000003 ; 응용 프로그램 매크로 보안 수준 사용 "automationsecurity"=dword:00000002 ; 매크로 사용(기본값) "automationsecurity"=dword:00000001
CMD
:: 선택 항목 (하나만 사용) :: 기본적으로 매크로 사용 안 함 reg add "HKCU\software\policies\microsoft\office\common\security" /v "automationsecurity" /t REG_DWORD /d 3 /f :: 응용 프로그램 매크로 보안 수준 사용 reg add "HKCU\software\policies\microsoft\office\common\security" /v "automationsecurity" /t REG_DWORD /d 2 /f :: 매크로 사용(기본값) reg add "HKCU\software\policies\microsoft\office\common\security" /v "automationsecurity" /t REG_DWORD /d 1 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKCU:\software\policies\microsoft\office\common\security' -Force | Out-Null # 선택 항목 (하나만 사용) # 기본적으로 매크로 사용 안 함 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'automationsecurity' -PropertyType DWord -Value 3 -Force | Out-Null # 응용 프로그램 매크로 보안 수준 사용 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'automationsecurity' -PropertyType DWord -Value 2 -Force | Out-Null # 매크로 사용(기본값) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\security' -Name 'automationsecurity' -PropertyType DWord -Value 1 -Force | Out-Null