Supporto versione hash per BranchCache: valore del Registro di sistema HashSupportVersionComputerHKLM\Software\Policies\Microsoft\Windows\LanmanServer
- ID criterio
- Pol_HashSupportVersion
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows Server 2012, Windows 8 o Windows RT
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Rete › Server Lanman
Registro
HashSupportVersion
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\LanmanServer Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Versione hash supportata:
| Voce | Valore memorizzato |
|---|---|
| Supporta solo la versione hash V1 | 1 |
| Supporta solo la versione hash V2 | 2 |
| Supporta sia V1 che la versione V2 | 3 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanServer] ; Opzioni (usarne solo una) ; Supporta solo la versione hash V1 "HashSupportVersion"=dword:00000001 ; Supporta solo la versione hash V2 "HashSupportVersion"=dword:00000002 ; Supporta sia V1 che la versione V2 "HashSupportVersion"=dword:00000003
CMD
:: Opzioni (usarne solo una) :: Supporta solo la versione hash V1 reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashSupportVersion" /t REG_DWORD /d 1 /f :: Supporta solo la versione hash V2 reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashSupportVersion" /t REG_DWORD /d 2 /f :: Supporta sia V1 che la versione V2 reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanServer" /v "HashSupportVersion" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Force | Out-Null # Opzioni (usarne solo una) # Supporta solo la versione hash V1 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashSupportVersion' -PropertyType DWord -Value 1 -Force | Out-Null # Supporta solo la versione hash V2 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashSupportVersion' -PropertyType DWord -Value 2 -Force | Out-Null # Supporta sia V1 che la versione V2 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer' -Name 'HashSupportVersion' -PropertyType DWord -Value 3 -Force | Out-Null