Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Network & Sharing

Vista - Network adapters, netsh and WMI problems

Reply
 
Old 10-17-2008   #1 (permalink)


Vista business 32bit
 
 

Network adapters, netsh and WMI problems

Hi, I'm currently having difficulty using "netsh" in vista. I've recently migrated from XP where I had no problems. The first problem is that I'm trying to manage the ip addresses attached to various network cards, simply by adding and deleting, I am not able to add IP addresses to the network cards I want, instead the addresses keep getting added to the interface named "Loopback Pseudo-Interface 1". These additions can be viewed using "netsh int ipv4 show ipaddresses", but not using "ipconfig". I can add alternate IP addresses to network cards via Network Connection, Properties, IPv4, Advanced, and view them using both methods described above.

The second problem is that after a while when attempting to add an IP address I keep getting the following error,

netsh interface ipv4>add address "Network Connection Name (i.e. Local Area Connection 1)" 10.254.254.20 255.0.0.0
Failed to configure the DHCP service. The interface may be disconnected.
The system cannot find the file specified.

I am able to specify "Loopback Pseudo-Interface 1" as the network connection name
with the add and delete, and I never get the error when I'm deleting IP addresses even after the adding started to fail. The state of the interface has not changed and the error persists if I disable and re-enable the network card, or if I pull and then re-insert the network cable.

A third problem I have, although I do have a possible work around, is that when attempting to discover the network settings of my PC programmatically using WMI, the WMI database does not seem to have any knowledge of the "Loopback Pseudo-Interface 1" interface or any of its IP addresses in the Win32_NetworkAdapter or Win32_NetworkAdapterConfiguration instances. My work around is using MIBII (Management Information Base) to obtain these properties, but its undesirable.

Is there anyone out there that has a good understanding of network adapters and can help me with these problems,

Thanks,

Ollie

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Might be a problem with one or more network adapters Network & Sharing
No Network Adapters installed Network & Sharing
network adapters Drivers
USB network adapters Network & Sharing
network adapters code 31 Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46