Originally posted by: Nicolas
Dear all,
we know that on winnt or win2k, we need not reboot machine after the IP changed (using control panel or regedit), and the IP works immediately.
It works on win9x too!
after changing your IP, don't reboot, just goto the control panel -> system, disable the netcard, then enable it. need NOT reboot! and your new IP will work now.
further, do you guy know how to develop a program which can do the job of disable/enable system hardware? if it's possible, then win9x can act as winnt/2k at this point.
best regards,
Nicolas
Originally posted by: geo
For changing the IP address without the rebooting, you may use the undocumented function DhcpNotifyConfigChange. But this works only to the next reboot - so finally you should also write the IP + Gateway etc. to the registry.
If you interested, let me know
Originally posted by: Ramesh S
I still dont get the solution..
Can somebody explain?
Thanx
Ramesh S
Originally posted by: Ken Varn
Is there a way to progmatically switch the system from DHCP to static IP? I would also like to be able to switch back from staic IP to DHCP.
Needed under Windows NT.
ReplyOriginally posted by: Ralf
How to change IP on Win95/98?
ReplyOriginally posted by: Yuh-Rong Leu
I bumped into the solution while searching the MSDN library. According to the KB article Q257748, "How to Use the NETSH Command to Change from Static IP Address to DHCP in Windows 2000," NetSh.exe (NetShell) can be used to change the IP address of a network interface without restarting the computer. Also, reversely, it can be used to set the interface to use DHCP. But remember to run afterward "IPConfig /renew" to request an IP address from a DHCP server.
To programmatically launch NetSh.exe with a command line, you can use the Win32 API, CreateProcess. I think the NetSh solution is good enough if no further API can be found.
Originally posted by: Guenter Wirth
I 've done it. With 'Sendkeys' commands ... :-)
regards
btw: much questions here - less answers ...
Hi folks !
But! It works.
Originally posted by: El gran Javi
I would like a website not to see my IP address. Is that possible?
I mean, I would like to visit a website, be keeping my IP address unseen, so that they cant say: Hey.. you were in my site!!
Originally posted by: Atsumi Misawa
I can add IP address with AddIpAddress() of the IP Helper APIs on Windows 2000. but can not delete the original IP address. If you know good way, please mail to me.
thanx -atsumi
Hi, all
Originally posted by: Guenter Wirth
I surfed "the whole web" to get information about
Your infos are the first at all I get all arround !
I thought about changing the registry by myself, but there must be an 'official way', like the control panel does.
If anybody get ANY information - please : A short mail would save my month.
(I'm writing a small tool to detect the local subnet after 'ghosting' a corrupt machine by a unexperienced user and it 's impossible for me to do 35 reboots to get this.)
Thanx
Guenter
Hi friends !
this special theme : 'Changing the IP adress - without
rebooting o course'
A way without rebooting.