이러한 장치 설치 클래스와 일치하는 드라이버를 사용한 장치 설치 금지 레지스트리 값 DenyDeviceClasses 외 1개 (Restrictions)컴퓨터HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions
- 정책 ID
- DeviceInstall_Classes_Deny
- 범위
- 컴퓨터 구성
- 지원 OS
- Windows Vista 이상
- 출처
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
- 카테고리
- 시스템 › 장치 설치 › 장치 설치 제한
레지스트리
DenyDeviceClasses
REG_DWORD컴퓨터- 활성 값
- 1
- 비활성 값
- 0
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions] ; 선택 항목 (하나만 사용) ; 사용 "DenyDeviceClasses"=dword:00000001 ; 사용 안 함 "DenyDeviceClasses"=dword:00000000
CMD
:: 선택 항목 (하나만 사용) :: 사용 reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceClasses" /t REG_DWORD /d 1 /f :: 사용 안 함 reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceClasses" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Force | Out-Null # 선택 항목 (하나만 사용) # 사용 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyDeviceClasses' -PropertyType DWord -Value 1 -Force | Out-Null # 사용 안 함 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyDeviceClasses' -PropertyType DWord -Value 0 -Force | Out-Null
(목록 값)
REG_SZ컴퓨터- 활성 값
- 선택 값에 따름
- 요소
- 이 장치 클래스에 대한 드라이버를 사용한 장치 설치 금지:
- 값 타입
- REG_SZ
- 값 이름 접두사
- -
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses] ; 목록 항목마다 번호를 하나씩 늘려 값을 추가 "1"="<값 입력>" "2"="<값 입력>"
CMD
:: 목록 항목마다 번호를 하나씩 늘려 값을 추가 reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses" /v "1" /t REG_SZ /d "<값 입력>" /f reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses" /v "2" /t REG_SZ /d "<값 입력>" /f
PowerShell
# 목록 항목마다 번호를 하나씩 늘려 값을 추가 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses' -Name '1' -PropertyType String -Value '<값 입력>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses' -Name '2' -PropertyType String -Value '<값 입력>' -Force | Out-Null
DenyDeviceClassesRetroactive
REG_DWORD컴퓨터- 선택함
- 1
- 선택 안 함
- 0
- 요소
- 또한 이미 설치된 해당 장치에도 적용합니다.
- 값 타입
- REG_DWORD
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions] ; 선택 항목 (하나만 사용) ; 선택함 "DenyDeviceClassesRetroactive"=dword:00000001 ; 선택 안 함 "DenyDeviceClassesRetroactive"=dword:00000000
CMD
:: 선택 항목 (하나만 사용) :: 선택함 reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceClassesRetroactive" /t REG_DWORD /d 1 /f :: 선택 안 함 reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceClassesRetroactive" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Force | Out-Null # 선택 항목 (하나만 사용) # 선택함 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyDeviceClassesRetroactive' -PropertyType DWord -Value 1 -Force | Out-Null # 선택 안 함 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyDeviceClassesRetroactive' -PropertyType DWord -Value 0 -Force | Out-Null