No announcement yet.

Registry data on Win2000 or WinXP

  • Filter
  • Time
  • Show
Clear All
new posts

  • Registry data on Win2000 or WinXP

    How do I get the registry data (put into 2 distinct variables) from a Win2000 or WinXP workstation that tells me the Network Adapter and IP Address of the workstation, if they exist? It's located at HKEY_LOCAL_MACHINE\system\currentcontrolset\servic es\tcpip\parameters\interfaces\(Network Adapter)\(IP Address)

  • #2
    Re: Registry data on Win2000 or WinXP

    You could read the values from the Linkage\Bind key. Which I think is the bind order. Anyway strip that down to the GUID and put it in a variable. Under Parameters\Interfaces\GUID what you are looking for. Since you have the adapter GUID in a variable you can then go get the MAC whereever that is stored.

    For example my Linkage\Bind values are:


    Strip off the \Device\ and you have a way to address the NIC in the registry...


    • #3
      Re: Registry data on Win2000 or WinXP


      Just use those. It will auto magically get those [img]/ubbthreads/images/icons/smile.gif[/img]