Solved

How to remove a network bridge from the windows registry

Posted on 2014-02-13
7
2,602 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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
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…

820 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