Policy
Enable Alternative Ports
This policy controls whether the SMB client will enable or disable alternative ports. If you disable this policy setting, alternative ports will not be used by the SMB client. If you do not configure this policy setting, alternative ports may be used by the SMB client.
PackMicrosoft Windows
CategoryNetwork / Lanman Workstation
Policy ID
1c89c4b7becbInternal name
Pol_EnableAlternativePortsRegistry
Copy registry mappings
HKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation\EnableAlternativePorts (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation\EnableAlternativePorts (disabled) = 0Policy notes
This policy controls whether the SMB client will enable or disable alternative ports. If you disable this policy setting, alternative ports will not be used by the SMB client. If you do not configure this policy setting, alternative ports may be used by the SMB client.
Related policies
Alternative Port MappingsAudit insecure guest logonAudit server does not support encryptionAudit server does not support signingBlock NTLM (LM, NTLM, NTLMv2)Block NTLM Server Exception ListCipher suite orderDisable SMB compressionDisabled SMB over QUIC Server Exception ListEnable insecure guest logonsEnable remote mailslotsEnable SMB over QUICHandle Caching on Continuous Availability SharesMandate the maximum version of SMBMandate the minimum version of SMBOffline Files Availability on Continuous Availability SharesRequire EncryptionUse SMB compression by default