How do you change your static IP from the command line in W2k3

Posted on 2007-08-02
Medium Priority
Last Modified: 2010-03-18
I need to change my static IP with a command line tool.
Question by:Scott YeahRight

Expert Comment

ID: 19620120
Here is a site with all the info you need:


Accepted Solution

fetch_ earned 2000 total points
ID: 19620129
To set a static IP address, use this format: netsh interface ip set address local static <IP address> <subnet mask> <gateway> <metric of gateway> as in the following example: netsh interface ip set address local static 1 (Some command lines wrap to two lines here because of space constraints.) To set a client's NIC DNS settings, run this command: netsh interface ip set dns local static primary To set a client back to DHCP, run these commands: netsh interface ip set address local source=dhcp netsh interface ip set dns local source=dhcp

from http://www.windowsitpro.com/Articles/ArticleID/45854/45854.html?Ad=1

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
If you try to migrate from Elastix to Issabel, you will face a lot of issues. These problems are inevitable but fortunately, you can fix them. In the guide below, I will explain how I performed the migration while keeping all data and successfully t…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

587 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