?
Solved

How can you invoke Internet Protocol Properties menu via command line?

Posted on 2008-10-26
3
Medium Priority
?
1,746 Views
Last Modified: 2011-10-19
I would like to invoke the Internet Protocol (TCP/IP) Properties menu via a command line.  I know you could use ncpa.cpl to call Network Connections, but I would like to get into Internet Protocol config (see attched bmp).  Is there a way to do this?



TCPIP.bmp
0
Comment
Question by:John_2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Expert Comment

by:cemal_ozun
ID: 22809836
Not too sure what you are trying to accomplish, can you clarify. I use NETSH allot as it allows you configure and read current configuration from command line.
Have a read of the bellow KB
http://support.microsoft.com/kb/242468
 
0
 

Author Comment

by:John_2000
ID: 22811877
Sorry I was not clear ...  What I would like to find a command that I could type via command prompt that would simulate key entry and open the Internet Protocol (TCP/IP) Properties screen.  Basically a shortcut.  Then I would be able to call it in a script to simplify entry of data with out additional key strokes and menu navigation.
0
 
LVL 2

Accepted Solution

by:
cemal_ozun earned 500 total points
ID: 22812964
I still think you would be better off using the netsh command, you can request user input to provide the IP address details using a script if you want.
 The following command configures the interface named Local Area Connection with the static IP address 192.168.0.100, the subnet mask of 255.255.255.0, and a default gateway of 192.168.0.1:
netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1
Below command sets the primary dns
netsh interface ip set dns "Local Area Connection" static 192.168.0.200
Set Secondary DNS
netsh interface ip add dns "Local Area Connection" 192.168.0.201
 Have a look at the MS KB article http://technet.microsoft.com/en-us/library/cc785383.aspx
 
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month11 days, 3 hours left to enroll

770 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