Turning off tunneling IPv6 function in Windows

Last modified by Denisa Wernerová on 03.08.2023 12:57

Turning off the tunneling IPv6 function is recommended to do e.g. for correct working of e-mail Exchange on VSB-TUO, during problems with speed of loading websites via IPv6 tunnel connections, mapping network disks etc.

There are several procedures for turning off the IPv6 tunneling:

Turning off in the command line by command netsh

  1. Press WinKey+X and from shown list choose Command Line (administrator).
    In case that your account doesn't have administrative privileges press above searched cmd right mouse button and choose Run as administrator.

    011.png
     
  2. Write following command into a command line and confirm their execution by pressing Enter:
     netsh interface ipv6 set teredo disabled 
     netsh interface ipv6 6to4 set state disabled 
     netsh interface ipv6 isatap set state disabled 

    012.png
     
  3. Verify turning off the IPv6 tunnels can be done again in the command line cmd by listing command ipconfigg:
    Type ipconfig in the command line and confirm by pressing Enter.
    There shouldn't be displayed Adapters for tunnel connection.. in the listing.

    002.png

Edit the register by importing from file

After this register edit will be turned off tunneling IPv6 functions.
 

  1. Save following text (between marks --beginning .reg file-- and ---end .reg file---) to the file with suffix .reg .
    • You can download prepared file from our storage.

      --beginning .reg file--
       Windows Registry Editor Version 5.00

      [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters]

      "DisabledComponents"=dword:00000001
       ---end .reg file---
       
  2. Click on file and agree with saving information into a register.
      
  3. After edit register Windows is necessary to reboot the computer.

Modification of registers using Register Editor

  1. Go via Start and choose Run... and type regedit into the window open and click on OK
     (Or search regedit in the searching field above Start and click on the searched editor.)
     Search the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters.
     By clicking right mouse button open the menu and choose New and choose Value DWORD (32bit).
     Rename item to DisabledComponents and choose it't value to 1.

    001.png
     
  2. After edit register Windows is necessary to reboot the computer.