Enable Alternative Ports
Supported on: At least Windows Server 2025, Windows 11
Registry
HKLM
Software\Policies\Microsoft\Windows\LanmanWorkstation Value name: EnableAlternativePorts
Enabled: EnableAlternativePorts = 1
Disabled: EnableAlternativePorts = 0
Description
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.