Windows Server 2003 Group Policy Changing IP Address

Posted on 2008-11-08
Last Modified: 2012-05-05
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 !!!
Question by:eLroY2008
    LVL 31

    Expert Comment

    by:Henrik Johansson
    Why not just using DHCP?
    LVL 31

    Accepted Solution

    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
    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.
    LVL 23

    Assisted Solution

    by:Malli Boppe
    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.
    LVL 6

    Expert Comment

    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

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
    Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now