PC Review


Reply
Thread Tools Rate Thread

Changing IP Address through command prompt

 
 
=?Utf-8?B?Um9iIEE=?=
Guest
Posts: n/a
 
      30th Mar 2007
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.
 
Reply With Quote
 
 
 
 
Kerry Brown
Guest
Posts: n/a
 
      30th Mar 2007
"Rob A" <(E-Mail Removed)> wrote in message
news:801119B2-FEB7-4AD1-BA90-(E-Mail Removed)...
> 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).

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      30th Mar 2007

"Rob A" <(E-Mail Removed)> wrote in message
news:801119B2-FEB7-4AD1-BA90-(E-Mail Removed)...
> 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.


 
Reply With Quote
 
Terry
Guest
Posts: n/a
 
      30th Mar 2007
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/staticp...-my-ip-address
http://www.microsoft.com/resources/d....mspx?mfr=true

--
Terry

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
Reply With Quote
 
Bruce Chambers
Guest
Posts: n/a
 
      30th Mar 2007
Rob A wrote:
> 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:
http://dts-l.org/goodpost.htm
http://www.catb.org/~esr/faqs/smart-questions.html

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
 
Reply With Quote
 
=?Utf-8?B?Um9i?=
Guest
Posts: n/a
 
      30th Mar 2007
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.

"Bruce Chambers" wrote:

> Rob A wrote:
> > 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:
> http://dts-l.org/goodpost.htm
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> 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
>

 
Reply With Quote
 
Kerry Brown
Guest
Posts: n/a
 
      30th Mar 2007
"Rob" <(E-Mail Removed)> wrote in message
news:1CF0E1EB-844F-429D-9516-(E-Mail Removed)...
>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.

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing hostname in a command prompt ? devhil Microsoft Windows 2000 0 12th Apr 2007 10:56 AM
Q: Changing Command Prompt fonts? Usenet User Windows XP General 3 12th Feb 2007 11:16 PM
Changing prompt from C:\documents and settings\ to C:\ within command prompt Nulligan@gmail.com Windows XP General 4 1st Aug 2006 08:10 PM
Changing systemdatetime in Command prompt =?Utf-8?B?SGFuc2pl?= Windows XP General 2 19th Mar 2004 11:43 AM
Changing Command Path In Command Prompt =?Utf-8?B?VGhlIE1vbGU=?= Windows XP Help 2 9th Feb 2004 08:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:55 PM.