Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change ip add remotely

Status
Not open for further replies.

gensan

MIS
Feb 21, 2001
142
SG
Hi,

Just curious. Is there a way to change a static IP address of a Windows XP Pro remotely. Meaning, doing it from another computer?

Thanks
 
I can think of 2 ways. 1 - write a WMI script to change the address - Win32_NetworkAdapterConfiguration - you will need to search all adapters to find out which one to change and 2. Hack the registry - look in HKLM\System\CurrentControlSet\Services\Tcpip\Parameters.
Be cautioned that this is not really a good idea. If you are not on the same subnet, which do you change first? Ip address or default gateway? Do you need to change the subnet mask? Also, once you change the IP address you will be disconnected. XP applies changes without a reboot.
 
thanks dk87. I'll try the 2nd option, it's the one I'm familiar with. I'll try to test it first and I'll will give feedback.

Thanks again.

gensan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top