PS C:\Users\dahavey> Get-NetTransportFilter
SettingName : Automatic
Protocol : TCP
LocalPortStart : 0
LocalPortEnd : 65535
RemotePortStart : 0
RemotePortEnd : 65535
DestinationPrefix : *
SettingName : DatacenterCustom <-- Bad configuration, should be InternetCustom
Protocol : TCP
LocalPortStart : 443
LocalPortEnd : 443
RemotePortStart : 0
RemotePortEnd : 65535
DestinationPrefix : *
SettingName : DatacenterCustom <-- Bad configuration, should be InternetCustom
Protocol : TCP
LocalPortStart : 80
LocalPortEnd : 80
RemotePortStart : 0
RemotePortEnd : 65535
DestinationPrefix : *
*** Don’t worry about the automatic template and certainly don’t delete it! If you have read my tutorial on TCP Templates then you already know that this template is used to switch between Datacenter and Internet.
PS C:\Users\dahavey> Get-NetTCPSetting | Select Settingname, CongestionProvider
Settingname CongestionProvider
----------- ------------------
Automatic
InternetCustom CTCP <-- Bad configuration, should be LEDBAT
DatacenterCustom LEDBAT <-- Bad configuration, should be CTCP (WS2016) or Cubic (WS2019)
Compat NewReno
Datacenter DCTCP
Internet CTCP
### Remove DatacenterCustom filters
PS C:\Users\dahavey> Remove-NetTransportFilter -SettingName DatacenterCustom
Confirm
Are you sure you want to perform this action?
Performing operation "Remove" on Target "NetTransportFilter -SettingName DatacenterCustom -Protocol TCP -DestinationPrefix *
-LocalPortStart 443 -LocalPortEnd 443 -RemotePortStart 0 -RemotePortEnd 65535"
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Confirm
Are you sure you want to perform this action?
Performing operation "Remove" on Target "NetTransportFilter -SettingName DatacenterCustom -Protocol TCP -DestinationPrefix *
-LocalPortStart 80 -LocalPortEnd 80 -RemotePortStart 0 -RemotePortEnd 65535"
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
PS C:\Users\dahavey> Get-NetTransportFilter
SettingName : Automatic
Protocol : TCP
LocalPortStart : 0
LocalPortEnd : 65535
RemotePortStart : 0
RemotePortEnd : 65535
DestinationPrefix : *
PS C:\Users\dahavey> New-NetTransportFilter -SettingName InternetCustom -Protocol TCP -LocalPortStart 443 -LocalPortEnd 443 -RemotePortStart 0 -RemotePortEnd 65535
SettingName : InternetCustom <-- Good configuration
Protocol : TCP
LocalPortStart : 443
LocalPortEnd : 443
RemotePortStart : 0
RemotePortEnd : 65535
DestinationPrefix : *
PS C:\Users\dahavey> New-NetTransportFilter -SettingName InternetCustom -Protocol TCP -LocalPortStart 80 -LocalPortEnd 80 -RemotePortStart 0 -RemotePortEnd 65535
SettingName : InternetCustom <-- Good configuration
Protocol : TCP
LocalPortStart : 80
LocalPortEnd : 80
RemotePortStart : 0
RemotePortEnd : 65535
DestinationPrefix : *
PS C:\Users\dahavey> Get-NetTransportFilter
SettingName : Automatic <-- Don’t worry about this configuration
Protocol : TCP
LocalPortStart : 0
LocalPortEnd : 65535
RemotePortStart : 0
RemotePortEnd : 65535
DestinationPrefix : *
SettingName : InternetCustom <-- Good configuration
Protocol : TCP
LocalPortStart : 443
LocalPortEnd : 443
RemotePortStart : 0
RemotePortEnd : 65535
DestinationPrefix : *
SettingName : InternetCustom <-- Good configuration
Protocol : TCP
LocalPortStart : 80
LocalPortEnd : 80
RemotePortStart : 0
RemotePortEnd : 65535
DestinationPrefix : *
PS C:\Users\dahavey> Set-NetTCPSetting -SettingName InternetCustom -CongestionProvider LEDBAT
PS C:\Users\dahavey> Set-NetTCPSetting -SettingName DatacenterCustom -CongestionProvider Cubic
PS C:\Users\dahavey> Get-NetTCPSetting -SettingName DatacenterCustom, InternetCustom | Select Settingname, CongestionProvider
Settingname CongestionProvider
----------- ------------------
InternetCustom LEDBAT
DatacenterCustom CTCP <-- Or Cubic if you are using WS2019
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.