Solved

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

Posted on 2008-10-26
3
1,745 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 125 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
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 …

717 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