BranchCache에 대한 해시 게시 레지스트리 값 HashPublicationForPeerCaching컴퓨터HKLM\Software\Policies\Microsoft\Windows\LanmanServer
- 정책 ID
- Pol_HashPublication
- 범위
- 컴퓨터 구성
- 지원 OS
- Windows Server 2008 R2 또는 Windows 7 이상
- 출처
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
- 카테고리
- 네트워크 › Lanman 서버
레지스트리
HashPublicationForPeerCaching
REG_DWORD컴퓨터- 활성 값
- 선택 값에 따름
- 요소
- 해시 게시 동작:
| 항목 | 저장 값 |
|---|---|
| BranchCache를 사용하는 공유 폴더에 대해서만 해시 게시 허용 | 0 |
| 모든 공유 폴더에 대해 해시 게시 허용 안 함 | 1 |
| 모든 공유 폴더에 대해 해시 게시 허용 | 2 |
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanServer] ; 선택 항목 (하나만 사용) ; BranchCache를 사용하는 공유 폴더에 대해서만 해시 게시 허용 "HashPublicationForPeerCaching"=dword:00000000 ; 모든 공유 폴더에 대해 해시 게시 허용 안 함 "HashPublicationForPeerCaching"=dword:00000001 ; 모든 공유 폴더에 대해 해시 게시 허용 "HashPublicationForPeerCaching"=dword:00000002
CMD
:: 선택 항목 (하나만 사용) :: BranchCache를 사용하는 공유 폴더에 대해서만 해시 게시 허용 reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashPublicationForPeerCaching" /t REG_DWORD /d 0 /f :: 모든 공유 폴더에 대해 해시 게시 허용 안 함 reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashPublicationForPeerCaching" /t REG_DWORD /d 1 /f :: 모든 공유 폴더에 대해 해시 게시 허용 reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashPublicationForPeerCaching" /t REG_DWORD /d 2 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Force | Out-Null # 선택 항목 (하나만 사용) # BranchCache를 사용하는 공유 폴더에 대해서만 해시 게시 허용 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashPublicationForPeerCaching' -PropertyType DWord -Value 0 -Force | Out-Null # 모든 공유 폴더에 대해 해시 게시 허용 안 함 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashPublicationForPeerCaching' -PropertyType DWord -Value 1 -Force | Out-Null # 모든 공유 폴더에 대해 해시 게시 허용 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashPublicationForPeerCaching' -PropertyType DWord -Value 2 -Force | Out-Null