Hash Version support for BranchCache: registry value HashSupportVersionComputerHKLM\Software\Policies\Microsoft\Windows\LanmanServer

Policy ID
Pol_HashSupportVersion
Scope
Computer Configuration
Supported on
At least Windows Server 2012, Windows 8 or Windows RT
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Network › Lanman Server

Registry

HashSupportVersion

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Hash version supported:
Options
ItemStored value
Supports V1 hash version only1
Supports V2 hash version only2
Supports V1 as well as V2 versions3
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanServer]

; Options (use only one)
; Supports V1 hash version only
"HashSupportVersion"=dword:00000001
; Supports V2 hash version only
"HashSupportVersion"=dword:00000002
; Supports V1 as well as V2 versions
"HashSupportVersion"=dword:00000003
CMD
:: Options (use only one)

:: Supports V1 hash version only
reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashSupportVersion" /t REG_DWORD /d 1 /f
:: Supports V2 hash version only
reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashSupportVersion" /t REG_DWORD /d 2 /f
:: Supports V1 as well as V2 versions
reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashSupportVersion" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Force | Out-Null

# Options (use only one)
# Supports V1 hash version only
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashSupportVersion' -PropertyType DWord -Value 1 -Force | Out-Null
# Supports V2 hash version only
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashSupportVersion' -PropertyType DWord -Value 2 -Force | Out-Null
# Supports V1 as well as V2 versions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashSupportVersion' -PropertyType DWord -Value 3 -Force | Out-Null