시스템 설정: 소프트웨어 제한 정책에 대한 Windows 실행 파일에서 인증서 규칙 사용 레지스트리 값 AuthenticodeEnabled컴퓨터HKLM\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers
레지스트리
AuthenticodeEnabled
REG_DWORD컴퓨터- 활성 값
- 1
- 비활성 값
- 0
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers] ; 선택 항목 (하나만 사용) ; 사용 "AuthenticodeEnabled"=dword:00000001 ; 사용 안 함 "AuthenticodeEnabled"=dword:00000000
CMD
:: 선택 항목 (하나만 사용) :: 사용 reg add "HKLM\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers" /v "AuthenticodeEnabled" /t REG_DWORD /d 1 /f :: 사용 안 함 reg add "HKLM\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers" /v "AuthenticodeEnabled" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers' -Force | Out-Null # 선택 항목 (하나만 사용) # 사용 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers' -Name 'AuthenticodeEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # 사용 안 함 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers' -Name 'AuthenticodeEnabled' -PropertyType DWord -Value 0 -Force | Out-Null