Prevent AutoPlay from remembering user choices(자동 실행에서 사용자가 선택한 항목을 저장하지 않음) 레지스트리 값 DontSetAutoplayCheckbox사용자HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- 정책 ID
- DontSetAutoplayCheckbox
- 범위
- 컴퓨터 구성, 사용자 구성
- 지원 OS
- Windows Vista 이상
- 출처
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
- 카테고리
- Windows 구성 요소 › 자동 실행 정책
레지스트리
DontSetAutoplayCheckbox
REG_DWORD사용자컴퓨터…\Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 현재 키
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- 활성 값
- 1
- 비활성 값
- 0
.reg · CMD · PowerShell로 적용하기
사용자계정별 설정
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] ; 선택 항목 (하나만 사용) ; 사용 "DontSetAutoplayCheckbox"=dword:00000001 ; 사용 안 함 "DontSetAutoplayCheckbox"=dword:00000000
CMD
:: 선택 항목 (하나만 사용) :: 사용 reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "DontSetAutoplayCheckbox" /t REG_DWORD /d 1 /f :: 사용 안 함 reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "DontSetAutoplayCheckbox" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Force | Out-Null # 선택 항목 (하나만 사용) # 사용 New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'DontSetAutoplayCheckbox' -PropertyType DWord -Value 1 -Force | Out-Null # 사용 안 함 New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'DontSetAutoplayCheckbox' -PropertyType DWord -Value 0 -Force | Out-Null
컴퓨터전역 설정
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] ; 선택 항목 (하나만 사용) ; 사용 "DontSetAutoplayCheckbox"=dword:00000001 ; 사용 안 함 "DontSetAutoplayCheckbox"=dword:00000000
CMD
:: 선택 항목 (하나만 사용) :: 사용 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "DontSetAutoplayCheckbox" /t REG_DWORD /d 1 /f :: 사용 안 함 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "DontSetAutoplayCheckbox" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Force | Out-Null # 선택 항목 (하나만 사용) # 사용 New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'DontSetAutoplayCheckbox' -PropertyType DWord -Value 1 -Force | Out-Null # 사용 안 함 New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'DontSetAutoplayCheckbox' -PropertyType DWord -Value 0 -Force | Out-Null