HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-30-2007, 03:20 PM
Rob A
 
Posts: n/a
Default Changing IP Address through command prompt

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
Sponsored Links
  #2  
Old 03-30-2007, 03:20 PM
Kerry Brown
 
Posts: n/a
Default Re: Changing IP Address through command prompt

"Rob A" <RobA@discussions.microsoft.com> wrote in message
news:801119B2-FEB7-4AD1-BA90-B9C4006B74C9@microsoft.com...
> 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
  #3  
Old 03-30-2007, 03:20 PM
Pegasus \(MVP\)
 
Posts: n/a
Default Re: Changing IP Address through command prompt


"Rob A" <RobA@discussions.microsoft.com> wrote in message
news:801119B2-FEB7-4AD1-BA90-B9C4006B74C9@microsoft.com...
> 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
  #4  
Old 03-30-2007, 03:20 PM
Terry
 
Posts: n/a
Default Re: Changing IP Address through command prompt

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
  #5  
Old 03-31-2007, 12:43 AM
Bruce Chambers
 
Posts: n/a
Default Re: Changing IP Address through command prompt

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
  #6  
Old 03-31-2007, 12:44 AM
Rob
 
Posts: n/a
Default Re: Changing IP Address through command prompt

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
  #7  
Old 03-31-2007, 12:44 AM
Kerry Brown
 
Posts: n/a
Default Re: Changing IP Address through command prompt

"Rob" <Rob@discussions.microsoft.com> wrote in message
news:1CF0E1EB-844F-429D-9516-7CE12571AD44@microsoft.com...
>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
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes



All times are GMT. The time now is 02:49 PM.


Powered by vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger