Ondersteuning hash-versie voor BranchCache: registerwaarde HashSupportVersionComputerHKLM\Software\Policies\Microsoft\Windows\LanmanServer

Beleids-ID
Pol_HashSupportVersion
Bereik
Computerconfiguratie
Ondersteund op
Minimaal Windows Server 2012, Windows 8 of Windows RT
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Netwerk › Lanman Server

Register

HashSupportVersion

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Hash-versie ondersteund:
Opties
ItemOpgeslagen waarde
Ondersteunt alleen V1 hash-versie1
Ondersteunt alleen V2 hash-versie2
Ondersteunt zowel de versie V1 als V2 3
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Ondersteunt alleen V1 hash-versie
"HashSupportVersion"=dword:00000001
; Ondersteunt alleen V2 hash-versie
"HashSupportVersion"=dword:00000002
; Ondersteunt zowel de versie V1 als V2
"HashSupportVersion"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Ondersteunt alleen V1 hash-versie
reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashSupportVersion" /t REG_DWORD /d 1 /f
:: Ondersteunt alleen V2 hash-versie
reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashSupportVersion" /t REG_DWORD /d 2 /f
:: Ondersteunt zowel de versie V1 als V2
reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashSupportVersion" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Force | Out-Null

# Opties (gebruik er maar één)
# Ondersteunt alleen V1 hash-versie
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashSupportVersion' -PropertyType DWord -Value 1 -Force | Out-Null
# Ondersteunt alleen V2 hash-versie
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashSupportVersion' -PropertyType DWord -Value 2 -Force | Out-Null
# Ondersteunt zowel de versie V1 als V2
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashSupportVersion' -PropertyType DWord -Value 3 -Force | Out-Null