Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DNS/Connection Problem 5 43
What is using port 80? 13 85
Need recommendation for a DNS host provider. 3 86
New firewall implementation guidance 12 60
Article by: rfc1180
The Maximum Segment size (MSS) is an important consideration when troubleshooting connectivity via the Internet/Intranet. As the packets are routed via the Internet/Intranet, the packets must traverse through multiple routers in the path between two…
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!
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 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