setting IP address without using control panel



I have spent a number of weeks now troubleshooting a networking issue and I
would be most greatful if anyone had any thoughts on the matter. The initial
requirement seemed quite easy--move the adapter configuration UI into our
application so that we would no longer have to use the Explorer shell on a
kiosk. It took all of about 15 minutes for our Windows CE product. It was
just writing some registry keys. Then I tried the same thing for our XP
product. Only it didn't work. I seemed to be able to change from static to
dhcp, or vice-versa. I even got a real address from our DHCP server when
appropriate and could surf the net, ping, etc. But as soon as the machine
gets rebooted, all adapter information is gone completely. I don't just mean
the new stuff doesn't take but the old is gone too. IPCONFIG returns
nothing. I have to go into the control panel, change back to dhcp, then
disable and enable the adapter to restore it. I assumed I was missing a key.
So I tried using netsh.exe to do the trick. Same results. Then I tried
using a WMI script I found on the web. Same results. I duplicated this on
multiple XP-SP2 boxes around the office. I opened a $35 support incident
with MS and was told something like this was not covered and that I should
bump it to the next level, $245. I can't afford to pay that for something
that should work in the first place. How about it--has anyone out there seen
this sort of behavior and if so were you able to work around it?
.



Relevant Pages

  • Re: setting IP address without using control panel
    ... >I have spent a number of weeks now troubleshooting a networking issue and I ... > just writing some registry keys. ... > dhcp, or vice-versa. ... all adapter information is gone completely. ...
    (microsoft.public.win32.programmer.networks)
  • RE: Event ID 1003 -> DHCP problem
    ... this is an expected behavior while DHCP Client failed to contact ... DHCP Server to renew the IP address. ... Considering your scenario that the affected network adapter is ... I suggest that you replace the external network adapter on the SBS ...
    (microsoft.public.windows.server.sbs)
  • Setting IP Address
    ... My requirement seemed quite easy--move the adapter configuration UI into our ... dhcp, or vice-versa. ... The modertor of the NG assured me WMI was the official way for changing the ... Then IPCONFIG reported I had no adapter at all, ...
    (microsoft.public.win32.programmer.wmi)
  • Re: OWA 2003 Problem
    ... "Luiz" schreef in bericht ... The second part is my local adapter and the third is the ... I already have configured the DHCP but it still running ... >Hi Marina, ...
    (microsoft.public.windows.server.sbs)
  • Re: IP Connection Choose Static or DHCP
    ... to switch to dhcp EnableDHCP and then rebind the adapter. ...
    (microsoft.public.pocketpc.developer.networking)

Loading