Netsh Command Error

Step 1. Modify TCP/IPv6 Parameters through Windows Registry.

  • Open Windows Registry Editor. To do that:
    • Press Windows + R keys to load the Run dialog box.
    • Type regedit and press Enter.
    • IMPORTANT: Before you continue to modify the registry, first take a registry backup. To do that:
    • From the main menu, go to File & select Export.
    • Specify a destination location (e.g. your Desktop), give a filename (e.g. "RegistryBackup") and press Save.
  • Inside Windows Registry, navigate (from the left pane) and highlight this key.
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
  • At the right pane, double-click to modify the DisabledComponents key.
  • Set the DisabledComponents Value data to 0 (Zero) and select OK.
  • Close Registry Editor.
  • Restart your computer. (Windows should reinstall Teredo Tunneling adapter automatically.)
  • Navigate to device management.
  • Check if the Teredo tunneling adapter exists and working in device manager. To do that:
  • From the View menu choose Show hidden devices.
  • If the device manager’s screen doesn’t show any errors (and is without an exclamation mark) next to MS Teredo Tunneling Adapter (like the screen below), then your problem is solved and the Teredo tunneling should work without problems.
  • If you face a screen with a yellow exclamation mark next to Microsoft Teredo Tunneling adapter (or the Teredo Tunneling Pseudo Interface) like the screen(s) below continue to Step 2.

Step 2. Uninstall all Teredo Tunneling Adapters & Interfaces.

  • Right-Click and Uninstall the Teredo Tunneling Pseudo-Interface.
  • Uninstall also all Microsoft Teredo Tunneling Adapters (e.g. Microsoft Teredo Tunneling Adapter #2 or #3 or #4, etc.)
  • Re-install Microsoft Teredo Tunneling Adapter by following the steps from this tutorial: How to install Microsoft Teredo Tunneling Adapter
  • If after re-installing teredo tunneling, you still have problems then proceed to Step 3.

Step 3. Enable Teredo Client using NETSH command.

  • Go to Start > All Programs > Accessories.
  • Right click at Command Prompt and select Run as Administrator
  • At command prompt window type the following commands in this order and press Enter after typing each one of them.
    • netsh
    • int teredo
    • set state disabled
    • int ipv6
    • set teredo client
  • Close command prompt.
  • Open Device manager.
  • Select View > Show Hidden Devices. The Teredo Tunneling Pseudo Interface reappears and should be working without problems now.