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