How to remove a network bridge from the windows registry

I do need to remove a network bridge from a remote windows web server 2008 R2 x64.

The only way I have to do this, is by editing the registry from console.

I cannot use devcon as I haven't been able to find a version which runs on that OS (wrong version error message, i have downloaded 7 diff versions of the utility).

So I have to remove it manually from the registry using reg.exe

There is only one bridge on that system.

Any help is appreciated.
Who is Participating?
KurrorConnect With a Mentor Author Commented:
I was able to get a compatible version of the devcon.exe utility for Windows Web Server 2008 R2 (installing windows driver development kit 8.1 -

With this version I was able to remove the bridge adapter.
Davis McCarnOwnerCommented:
You should be able to uninstall it using the built in device manager.  DEVMGMT.MSC
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Radhakrishnan RSenior Technical LeadCommented:

When you try to access device manager via remote, it won't allow due to "plug and play". You can enable this via GPO and access. Have look at the following procedures;

Log on to the server as a system administrator.
Click Start, Administrative Tools, Group Policy Management.
Expand Forest, Domains, <domain name>,
Right-click the appropriate policy where the server belongs to and click Edit. The Group Policy Management Editor window opens.
Expand Computer Configuration, Policies, Administrative Templates, System and then click Device Installation.
In the right-hand pane, locate 'Allow remote access to the Plug and Play interface'.
Right-click 'Allow remote access to the Plug and Play interface' and select Edit.
Click the Enabled radio button and click OK.
Reboot the server to take effect the new settings and access device manager to delete the network bridge.

If the above method didn't work, please follow the steps and see it works;


Key: SYSTEM\CurrentControlSet\Services\BridgeMP

Value Names: DisableForwarding, DisableSTA

DWORD Values: 0 = default, 1 = disable features
KurrorAuthor Commented:
Perhaps I didn't make myself clear:

The bridge is causing a switch to block connections because it detects a mac spoofing attack. That is because the DHCP server doesn't have the MAC (in the white list) of one of the adapters bridged.

So till I disable the bridge the connections will be blocked, and I am not able to use RDP and to delete the bridge from the control panel (recursive problem).

I can access to the server via SAC console (command prompt) using a rescue service. So I have to modify the windows registry from this console and modify the registry using the reg utility to prevent the bridge to send the adapter's MAC to the DHCP server (disable/delete the bridge).

 PD: How can I modify the question? I can't find an edit button anywhere.
Davis McCarnOwnerCommented:
KurrorAuthor Commented:
I found the solution to the problem downloading a compatible version of the devcon utility.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.