미디어 공유 금지 레지스트리 값 PreventLibrarySharing컴퓨터HKLM\Software\Policies\Microsoft\WindowsMediaPlayer

정책 ID
PreventLibrarySharing
범위
컴퓨터 구성
지원 OS
Windows XP용 Windows Media Player 11 또는 Windows Vista 이상용 Windows Media Player 11
출처
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
카테고리
Windows 구성 요소 › Windows Media Player

레지스트리

PreventLibrarySharing

REG_DWORD컴퓨터
활성 값
1
비활성 값
0
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsMediaPlayer]

; 선택 항목 (하나만 사용)
; 사용
"PreventLibrarySharing"=dword:00000001
; 사용 안 함
"PreventLibrarySharing"=dword:00000000
CMD
:: 선택 항목 (하나만 사용)

:: 사용
reg add "HKLM\Software\Policies\Microsoft\WindowsMediaPlayer" /v "PreventLibrarySharing" /t REG_DWORD /d 1 /f
:: 사용 안 함
reg add "HKLM\Software\Policies\Microsoft\WindowsMediaPlayer" /v "PreventLibrarySharing" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기
New-Item -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Force | Out-Null

# 선택 항목 (하나만 사용)
# 사용
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'PreventLibrarySharing' -PropertyType DWord -Value 1 -Force | Out-Null
# 사용 안 함
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'PreventLibrarySharing' -PropertyType DWord -Value 0 -Force | Out-Null