Windows Server 2003 Group Policy Changing IP Address

I Have a Windows Server 2003 Server With Active Directory Installed and our company has a 100 Windows XP Workstation, My Problem is that i have to Change All the IP Address According to their Department without going to their workstation one by one, if any one have an idea or solution in my problem don't hesitate to answer. i think i need a batch script that can change their script using active directory LogOn Script or a free software can change the IP address remotely.

Thanks in Advance !!!
eLroY2008Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Henrik JohanssonSystems engineerCommented:
Why not just using DHCP?
0
Henrik JohanssonSystems engineerCommented:
To also answering the initial question...
It's not possibly to configure IP through native GPO.
This neads to be done through some netsh-scripting, but scripting static configuration neads to know what machine shall have the new address. This can be done by creating a list with MAC-addresses and implement a fetching routine in the script to find what IP it shall have.
A lot of more work to do this if having static address than using centralized configuration through DHCP.
Enabling DHCP on clients can be done through netsh-command like below:

netsh int ip set address "Local Area Connection" source=dynamic
or
netsh int ip reset

Before doing that on the clients, you nead to configure a server to act as DHCP server. Use DHCP reservation if you want to have control over what IP is handed out to which host.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Malli BoppeCommented:
As said above you can use group policy or login scripts to change the IP address.Is their need to havr static IP?
If not DHCP is the way to go,its really easy to administer.If you still want to have static Ip address then you need to use netsh command.
First get all the worksations in a text file using csvde command or net view.
Use a for loop to assign static Ip address to the computers in the text file with netsh command.
0
ricks_vCommented:
find out the pc mac address that you want to change the ip address, and create dhcp reservation on the server mac xxxx xxxx xxxx xxxx assign ip x.x.x.x
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.