setting IP address without using control panel
- From: authorwjf <authorwjf@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Jul 2005 09:30:03 -0700
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?
.
- Follow-Ups:
- Re: setting IP address without using control panel
- From: Arkady Frenkel
- Re: setting IP address without using control panel
- Prev by Date: Re: Visual Basic Dir function problem on XP
- Next by Date: Socket recycling
- Previous by thread: DNS questions
- Next by thread: Re: setting IP address without using control panel
- Index(es):
Relevant Pages
|
Loading