Solved

How to remove a network bridge from the windows registry

Posted on 2014-02-13
7
2,546 Views
Last Modified: 2014-02-19
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.
0
Comment
Question by:Kurror
7 Comments
 
LVL 21

Expert Comment

by:dan_blagut
ID: 39858754
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 39858759
You should be able to uninstall it using the built in device manager.  DEVMGMT.MSC
0
 
LVL 21

Expert Comment

by:RK
ID: 39858766
Hi,

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;

Hive: HKEY_LOCAL_MACHINE

Key: SYSTEM\CurrentControlSet\Services\BridgeMP

Value Names: DisableForwarding, DisableSTA

DWORD Values: 0 = default, 1 = disable features
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:Kurror
ID: 39859092
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.
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 39859171
0
 

Accepted Solution

by:
Kurror earned 0 total points
ID: 39860675
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 - http://msdn.microsoft.com/en-US/en-en/windows/desktop/bg162891.aspx).

With this version I was able to remove the bridge adapter.
0
 

Author Closing Comment

by:Kurror
ID: 39869831
I found the solution to the problem downloading a compatible version of the devcon utility.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
An article on effective troubleshooting
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

822 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question