Change MTU on Windows

Channel:
Subscribers:
1,660
Published on ● Video Link: https://www.youtube.com/watch?v=NMeKwwffvvY



Duration: 0:56
6 views
0


Here's how to change MTU on Windows.

MTU or Maximum Transmission Unit is a parameter that defines the maximum size of a packet that can be transmitted over a network. Changing the MTU value can affect the network performance and speed. The default MTU value for most Windows systems is 1500 bytes. However, you can change the MTU value on Windows using different methods.

Here are some possible methods to change the MTU on Windows:

- Using Windows Terminal. This method requires you to run some commands in the Windows Terminal as an administrator. To do this, press Windows key + X and select Windows Terminal (Admin). Then type the following command to see the current MTU value of your network interfaces: netsh interface ipv4 show subinterfaces. Note down the interface name for which you want to change the MTU value. Then type the following command to change the MTU value of your preferred interface: netsh interface ipv4 set subinterface interface name mtu=new value store=persistent. For example, if you want to change the MTU value of Ethernet to 1400, you can type: netsh interface ipv4 set subinterface Ethernet mtu=1400 store=persistent.

- Using Device Manager. This method requires you to access the Device Manager and change the network adapter properties. To do this, press Windows key + R and type devmgmt.msc and press Enter. Then expand the Network adapters category and double-click on the network adapter for which you want to change the MTU value. Then switch to the Advanced tab and select Jumbo Frame or Jumbo Packet from the Property list. Then select a higher value from the Value drop-down list and click OK.

- Using Registry Editor. This method requires you to edit the registry and create a new DWORD value for the MTU size. To do this, press Windows key + R and type regedit and press Enter. Then navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{interface GUID}. You can find the interface GUID by typing ipconfig /all in a command prompt and looking for the Physical Address of your network adapter. Then right-click on an empty space in the right pane and select New - DWORD (32-bit) Value. Name it MTU and double-click on it. Then enter a decimal value between 68 and 1500 for the MTU size and click OK.

- Using PowerShell. This method requires you to run some commands in PowerShell as an administrator. To do this, press Windows key + X and select Windows PowerShell (Admin). Then type the following command to see the current MTU value of your network interfaces: Get-NetIPInterface | Select-Object InterfaceAlias,NlMtu,Mtu | Format-Table -AutoSize. Note down the interface alias for which you want to change the MTU value. Then type the following command to change the MTU value of your preferred interface: Set-NetIPInterface -InterfaceAlias interface alias -NlMtuBytes new value. For example, if you want to change the MTU value of Ethernet to 1400, you can type: Set-NetIPInterface -InterfaceAlias Ethernet -NlMtuBytes 1400.