디바이스 제어 기본 적용 정책 선택 레지스트리 값 DefaultEnforcement컴퓨터HKLM\Software\Policies\Microsoft\Windows Defender\Device Control
- 정책 ID
- DeviceControl_DefaultEnforcement
- 범위
- 컴퓨터 구성
- 지원 OS
- Windows Server 2016, Windows 10 버전 1607 이상
- 출처
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
- 카테고리
- Windows 구성 요소 › Microsoft Defender 바이러스 백신 › 장치 제어
레지스트리
DefaultEnforcement
REG_DWORD컴퓨터- 활성 값
- 선택 값에 따름
- 요소
- 디바이스 제어 기본 적용 정책 선택
| 항목 | 저장 값 |
|---|---|
| 기본 허용 | 1 |
| 기본 거부 | 2 |
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Device Control] ; 선택 항목 (하나만 사용) ; 기본 허용 "DefaultEnforcement"=dword:00000001 ; 기본 거부 "DefaultEnforcement"=dword:00000002
CMD
:: 선택 항목 (하나만 사용) :: 기본 허용 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Device Control" /v "DefaultEnforcement" /t REG_DWORD /d 1 /f :: 기본 거부 reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Device Control" /v "DefaultEnforcement" /t REG_DWORD /d 2 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Force | Out-Null # 선택 항목 (하나만 사용) # 기본 허용 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Name 'DefaultEnforcement' -PropertyType DWord -Value 1 -Force | Out-Null # 기본 거부 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Name 'DefaultEnforcement' -PropertyType DWord -Value 2 -Force | Out-Null