Shortcut to tcp/ip settings
Is there like a .cpl or something I could use that would directly open the tcp/ip setting dialog box for a specific connection?
March 25th, 2010 4:35pm

Which os are you using? If you use Vista or newer you can use ncpa.cpl to access the old Network Connections page.
Free Windows Admin Tool Kit Click here and download it now
March 25th, 2010 4:43pm

"tcp/ip setting" . It would be nice if I could use rundll32 or something to open the properties sheet for a specific nic. Just to add this is to simply the process for end users. I already started writing a hta (which I'm no good at) to run netsh commands, but it would be a billion times more efficient if there was just a single command to open these properties per connection.
March 25th, 2010 5:05pm

Red, you have not provided much info on what you want. Did you know you view / change / set IP config with netsh??? to change IP and default gateway: netsh int ip set address "local area connection" static 192.168.0.101 255.255.255.0 192.168.0.254 1 to change DNS: netsh int ip set dns "local area connection" static 192.168.0.254 primary This is assuming 3 things. 1) The network adapter you're trying to change the IP for is "local area connection". It could also be "local area connection 2" or "wireless network connection". Look in your control panel for the correct name 2) The IP you want to set is 192.168.0.101, change this to whatever IP to want to use. 3) The default gateway and dns are the same IP. If you are using some kind of router they usually are. Change this to match your network config found with the command ipconfig /all You could also script this via say a batch file you have users download or you push out to them.
Free Windows Admin Tool Kit Click here and download it now
March 25th, 2010 10:46pm

No such *.cpl files available. You can make shortcuts by yourself. Please create a batch file with the following command. start ::{208D2C60-3AEA-1069-A2D7-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}\::{Network Adapter GUID} You can find the “Network Adapter GUID” from the following registry key. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\{Network adapter}\ServiceName Please note that you may need to run this command as administrator.Arthur Xie - MSFT
March 26th, 2010 10:51am

I plugged in my nic's guid and tried this on my machine, but it just opens and closes. No errors, but nothing else either.
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2010 10:16pm

If you plug another NIC, you need to create another shortcut for the new specified GUID of the network adapter.Arthur Xie - MSFT
March 30th, 2010 6:31am

Yeah what I said was I copied the value of MY nic's GUID and pasted it in {"Network Adapter GUID"} of the script you posted, but when I run it nothing happens. I put a "pause" in there and I'm not getting any error messages either.
Free Windows Admin Tool Kit Click here and download it now
March 30th, 2010 3:43pm

This method should work. You may run the command manually or create a shortcut for this command separately to check if it works. If it works properly you need to check the contents of your script. Please note that this command needs to be run as administrator.Arthur Xie - MSFT
April 1st, 2010 6:05am

I just tried it and it works great from a Command Prompt: reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards" to get the list of network cards. That gave me 8 (Broadcom NetXtreme 57xx Gigabit Controller) and 14 (VirtualBox Host-Only Ethernet Adapter). Then I entered reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\8" to get the GUID which returned: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\8 ServiceName REG_SZ {41EFDF4D-34E0-4E56-B6F3-16814FDD3397} Description REG_SZ Broadcom NetXtreme 57xx Gigabit Controller and finally entered start ::{208D2C60-3AEA-1069-A2D7-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}\::{41EFDF4D-34E0-4E56-B6F3-16814FDD3397} which opened up the Properties dialog for the Broadcom card. Still had to click on the Properties button at the bottom. Runs correctly from a batch file called from a Command Prompt also. As soon as you make this a shortcut to the batch file it stops working, exactly as red888 said. Rich Why can't I be different and original like everybody else? - Vivian Stanshal
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2010 6:37am

I typed this in EXACTLY as you explained it and still I get nothing: C:\Program Files\Support Tools>start ::{208D2C60-3AEA-1069-A2D7-08002B30309D}\:: {7007ACC7-3202-11D1-AAD2-00805FC1270E}\::{My guid} <hit enter> NOTHING. Also I think even if this did work its still not what I want: "....which opened up the Properties dialog for the Broadcom card. Still had to click on the Properties button at the bottom." I said specifically in the post I wanted to know if it was possible to get to "tcp/ip properties". Like directly. If this isn't possible thats ok, I just wanted to know if it was.
April 6th, 2010 7:44pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics