Solved

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

Posted on 2008-10-26
3
1,735 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
  • 2
3 Comments
 
LVL 2

Expert Comment

by:cemal_ozun
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now