Q. How can I unbind services, such as File and Printer Sharing and Client for Microsoft Networks, from a network card on Windows Server Core?

John Savill

July 3, 2010

1 Min Read
ITPro Today logo

A. To unbind services, you need to know the GUID of your network devices. The easiest way to get these GUIDs is to get a list using

wmic nicconfig get Description,SettingID

 

For example,


C:>wmic nicconfig get description,settingid
 Description                         SettingID
 WAN Miniport (SSTP)                 \{71F897D7-EB7C-4D8D-89DB-AC80D9DD2270\}
 Realtek PCIe GBE Family Controller  \{76425266-A339-4FCD-AB83-65A2FA6B8342\}
 WAN Miniport (IP)                   \{2CAA64ED-BAA3-4473-B637-DEC65A14C8AA\}
 Microsoft ISATAP Adapter            \{0744A7AA-4E35-452D-B98C-BBF75411ECEC\}
 RAS Async Adapter                   \{78032B7E-4968-42D3-9F37-287EA86C0AAA\}
 Realtek PCIe GBE Family Controller  \{1BD08599-331A-4DE1-BAF9-8F7F6FA5A751\}

You can also look under HKLM SOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards, which lists the GUIDs for the network cards.

If you have multiple cards with the same hardware name, go to HKLM SYSTEMCurrentControlSetControlNetwork, open the GUID and under the key, and view the Connection sub-key, which will show the name of the network connection associated with the GUID of the card, as you can see below.

Once you have the GUID of the NIC, you want to unbind the services from HKLM SYSTEMCurrentControlSetservicesLinkageBind value. Open the value and delete any line that has the GUID of your NIC, then click OK.

Common services are:

  • LanmanServer—File and Printer Sharing for Microsoft Networks

  • LanmanWorkstation—Client for Microsoft Networks

  • lltdio—Link-Layer Discovery Mapper I/O Driver

  • rspndr—Link-Layer Topology Discovery Responder

For example, to unbind File and Printer Sharing, go to HKLMSYSTEMCurrentControlSetservicesLanmanServerLinkage, double-click Bind value, and delete the lines that have the GUID of the NIC.

You can also look at nvspbind, a tool available for download from Microsoft that lets you manage binding from the command line.

Read more about:

Microsoft

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like