Automatic uninstallation of Microsoft Teredo Tunneling Adapter
Hi,

I am attempting to uninstall the Microsoft Teredo Tunneling Adapter by using a script, on a Windows 8 Enterprise x64 OS. The device is installed incorrectly by default:

This device cannot start. (Code 10)
{Operation Failed}
The requested operation was unsuccessful


and it is not useful at all in our organization.

I've tried so far to use devcon.exe and pnputil.exe, but it is impossible to perform the uninstallation.
However, if I perform the uninstallation manually from DevMgr (right-click on device and Uninstall), the Microsoft Teredo Tunneling Adapter is removed successfully, without being reinstalled after reboot.

Can you please indicate how should I perform an automatic uninstallation of this device?

Many thanks,
Cristian
June 6th, 2013 6:40am

Hi,

I would like to confirm why you want to uninstall Microsoft Teredo Tunneling Adapter. The Teredo Tunneling Adapter is an IPv6 related feature. If you dont use IPv6, we can disable this virtual device using the following command.

netsh interface teredo set state disabled

Free Windows Admin Tool Kit Click here and download it now
June 7th, 2013 6:57am

I've already tried to disable it using netsh, but it's still present in Device Manager as a ghost device (with exclamation mark). One of my goals is to have a "clean" computer, without ghost devices.

I forgot to mention that the Teredo tunnelling adapter ghost device appears only if disable IPV6 using:

reg.exe add hkey_local_machine\system\currentcontrolset\services\TCPIP6\parameters /v disabledcomponents /t reg_dword /d 0xffffffff /f

during the MDT deployment (after the WinPE step is completed we use an internally-developed sequencer to perform driver installation and country-dependent customizations).

However if I enter this registry value AFTER the first logon (using an administrative account) the Teredo ghost device does NOT appear anymore. I tried to attach the reg.exe command in the RunOnce section, but it needs an administrative account in order to succeed.

Do you know what is the correct timing to set that registry value (actually to disable IPV6) during the MDT installation? The dilemma is:

- if the key is entered too early, then the Teredo ghost device appears

- if the key is entered too late (e.g. attached to RunOnce) then the user does not have permission to enter the reg. value.

Thanks

  • Edited by tlc76 Wednesday, June 12, 2013 10:28 AM
June 12th, 2013 10:25am

I'd also be interested in how to get rid of all tunnelling.

As I see it those of use who have enough IPv4 addresses are going to leave our IPv4 setup intact (NAT and all the rest) and build a parallel IPv6 infrastructure, rely on Windows being able to switch between the two as needed, and on 12 years time remove the IPv4.

Free Windows Admin Tool Kit Click here and download it now
July 26th, 2013 5:58pm

Hate to resurrect an old thread, but I really am finding little online. We are in the same boat, the ghost device on our image after disabling IPv6 and only finding ways online to 'Disable' the device, not uninstall it entirely.

tlc76, did you ever find a solution?

Anyone else have any ideas?

April 27th, 2015 9:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics