Click here to Skip to main content
15,889,931 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
these are commands i am using to change IP Address

@echo off
netsh interface ipv4 set address name="Local Area Connection" source=static addr=xxx.xxx.xx.xxx mask=255.255.255.0 gateway=xxx.xxx.xx.x
PAUSE

it works for local machine. But i want to change IP address of client machine from server machine, on windows startup..
what will be the command for that, any suggestion ??
Posted
Comments
Richard Deeming 29-Jun-15 9:27am    
If you're trying to manage IP addresses within your domain, use DHCP[^].

If you're trying to change IP addresses for computers outside of your domain, you can't.
Madhuri Gamane 30-Jun-15 0:35am    
yeah all systems are in same domain..
Sorry but your link is not giving me any answer :-(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900