Changing IP Address through command prompt

G

Guest

Does anyone know how to change the IP Address on a 2000 or XP box through
command prompt? We currently have a static IP and the properties is disabled
through group policy. I would like to know if it can be changed from static
to dhcp through the command prompt.
Much Appreciated.
 
K

Kerry Brown

Rob A said:
Does anyone know how to change the IP Address on a 2000 or XP box through
command prompt? We currently have a static IP and the properties is
disabled
through group policy. I would like to know if it can be changed from
static
to dhcp through the command prompt.
Much Appreciated.


Talk to your network administrator and find out why this group policy is
set. Even if you change the setting it will change back the next time group
policy is applied (normally every 90 minutes).
 
P

Pegasus \(MVP\)

Rob A said:
Does anyone know how to change the IP Address on a 2000 or XP box through
command prompt? We currently have a static IP and the properties is disabled
through group policy. I would like to know if it can be changed from static
to dhcp through the command prompt.
Much Appreciated.

You can use netsh.exe. Expect to study it for a while until
you understand its syntax.
 
T

Terry

On 3/30/2007 6:22 AM On a whim, Rob A pounded out on the keyboard
Does anyone know how to change the IP Address on a 2000 or XP box through
command prompt? We currently have a static IP and the properties is disabled
through group policy. I would like to know if it can be changed from static
to dhcp through the command prompt.
Much Appreciated.

Hi Rob,

There must be a reason for the company(?) wanting it static. If you
change it to DHCP, it could cause a conflict on the network.

Here are a couple sites to check:
http://whatismyipaddress.com/staticpages/index.php/how-do-I-change-my-ip-address
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netsh.mspx?mfr=true

--
Terry

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
B

Bruce Chambers

Rob said:
Does anyone know how to change the IP Address on a 2000 or XP box through
command prompt? We currently have a static IP and the properties is disabled
through group policy. I would like to know if it can be changed from static
to dhcp through the command prompt.
Much Appreciated.


If your employer uses static IPs, what would be the point of changing a
workstation to DHCP? There'd have to be a DHCP server present, and
there won't be if the LAN is based on static IPs. Consult your network
administrator.


--

Bruce Chambers

Help us help you:



They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -Benjamin Franklin

Many people would rather die than think; in fact, most do. -Bertrand Russell
 
G

Guest

I am the network admin. We have the policy in effect on shop floor
computers. Its to prevent internet access. I am curious to know, with the
policy in effect to prevent the user from going to the properties of the
network connections, if the IP address can be changed at the command prompt
and change it from static to dns. If so, i want to prevent that also.
 
K

Kerry Brown

Rob said:
I am the network admin. We have the policy in effect on shop floor
computers. Its to prevent internet access. I am curious to know, with
the
policy in effect to prevent the user from going to the properties of the
network connections, if the IP address can be changed at the command
prompt
and change it from static to dns. If so, i want to prevent that also.


If they have local administrator or power user rights they will be able to
change this. The policy should change back as group policy is refreshed but
I don't know if the TCP/IP properties would change back until a reboot. The
solution is to make sure they don't have local (or domain) power user or
administrator rights. You could also look at loop back processing for group
policy. You can totally lock down a computer with this method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top