how to open tcp/ip properties from cmd or run directly?











up vote
4
down vote

favorite
6












Is there anyone knows that how to open tcp/ip ver 4 properties from cmd or run directly?



I mean the window that you can setup your ip, gateway dns...i want to make a shortcut of ip properties or open it from cmd



Did some research, looks like there is nothing like appwiz.cpl can open that ip setup window directly.....



Any idea?



PS: I need to know the way to open that ip setup GUI window from cmd or run.



This is the best answer i found, but it is still not opening that ip setup window directly, you still have to click couple times....



Use this to get your NIC number:



reg query "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"


Then to get your NIC GUID



HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCardsYourCardNumber


Then do this:



start ::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-00805FC1270E}::{Network Adapter GUID}


this actually just like ncpa.cpl



But it is still not opening that ip setup GUI window directly.....










share|improve this question




























    up vote
    4
    down vote

    favorite
    6












    Is there anyone knows that how to open tcp/ip ver 4 properties from cmd or run directly?



    I mean the window that you can setup your ip, gateway dns...i want to make a shortcut of ip properties or open it from cmd



    Did some research, looks like there is nothing like appwiz.cpl can open that ip setup window directly.....



    Any idea?



    PS: I need to know the way to open that ip setup GUI window from cmd or run.



    This is the best answer i found, but it is still not opening that ip setup window directly, you still have to click couple times....



    Use this to get your NIC number:



    reg query "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"


    Then to get your NIC GUID



    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCardsYourCardNumber


    Then do this:



    start ::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-00805FC1270E}::{Network Adapter GUID}


    this actually just like ncpa.cpl



    But it is still not opening that ip setup GUI window directly.....










    share|improve this question


























      up vote
      4
      down vote

      favorite
      6









      up vote
      4
      down vote

      favorite
      6






      6





      Is there anyone knows that how to open tcp/ip ver 4 properties from cmd or run directly?



      I mean the window that you can setup your ip, gateway dns...i want to make a shortcut of ip properties or open it from cmd



      Did some research, looks like there is nothing like appwiz.cpl can open that ip setup window directly.....



      Any idea?



      PS: I need to know the way to open that ip setup GUI window from cmd or run.



      This is the best answer i found, but it is still not opening that ip setup window directly, you still have to click couple times....



      Use this to get your NIC number:



      reg query "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"


      Then to get your NIC GUID



      HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCardsYourCardNumber


      Then do this:



      start ::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-00805FC1270E}::{Network Adapter GUID}


      this actually just like ncpa.cpl



      But it is still not opening that ip setup GUI window directly.....










      share|improve this question















      Is there anyone knows that how to open tcp/ip ver 4 properties from cmd or run directly?



      I mean the window that you can setup your ip, gateway dns...i want to make a shortcut of ip properties or open it from cmd



      Did some research, looks like there is nothing like appwiz.cpl can open that ip setup window directly.....



      Any idea?



      PS: I need to know the way to open that ip setup GUI window from cmd or run.



      This is the best answer i found, but it is still not opening that ip setup window directly, you still have to click couple times....



      Use this to get your NIC number:



      reg query "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"


      Then to get your NIC GUID



      HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCardsYourCardNumber


      Then do this:



      start ::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-00805FC1270E}::{Network Adapter GUID}


      this actually just like ncpa.cpl



      But it is still not opening that ip setup GUI window directly.....







      windows-7 windows windows-8






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 29 '14 at 23:49

























      asked Mar 29 '14 at 23:27









      Root Loop

      3652518




      3652518






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          5
          down vote













          There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.



          You can however use netsh from cmd to directly set or view the properties. For instance, if you want to set the IP address of your "Local Area Connection" (default name for the primary network interface) to 192.168.0.5, with a subnet of 255.255.255.0 and a gateway of 192.168.0.1, you would use:



          netsh interface ipv4 set address name="Local Area Connection"
          source=static address=192.168.0.5 mask=255.255.255.0 gateway=192.168.0.1


          For an overview of all possible options, use:



          netsh interface ipv4 set address /?


          To view the current configuration, you can use:



          netsh interface ipv4 show addresses "Local Area Connection"


          Which would then show:



          Configuration for interface "Local Area Connection"

          DHCP enabled: No
          IP Address: 192.168.0.5
          Subnet Prefix: 192.168.0.0/24 (mask 255.255.255.0)
          Default Gateway: 192.168.0.1
          Gateway Metric: 0
          InterfaceMetric: 10





          share|improve this answer























          • Maybe my question is not clear enough, i know how to setup ip from command line, I want to know the way that i can open that ip setup GUI window....not setup ip from cmd. Thanks for your answer anyways.
            – Root Loop
            Mar 29 '14 at 23:39










          • @user3303155 Yeah, just noticed that. There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.
            – Oldskool
            Mar 29 '14 at 23:41










          • I edited my question a bit, there is a way to open, but still need to click couple times....so sad....
            – Root Loop
            Mar 29 '14 at 23:46










          • The first line of code is demonstrated incorrectly as this is a 1-liner command. For instance, using default LAN IP (or bridge mode 192.168.1.1 static IP) is netsh interface ipv4 set address name="NeTwOrK-NaMe" source=static address=192.168.1.2 mask=255.255.255.0 gateway=192.168.1.1 while going back to DHCP is netsh interface ipv4 set address name="NeTwOrK-nAmE" source=dhcp. You guys need to let readers know how to literally use it for them to change anything else afterwards.
            – fohrums
            Nov 15 '17 at 5:33




















          up vote
          4
          down vote













          Why don't you use AutoHotKey for this? This is the script I use:



          Run ncpa.cpl 
          WinWaitActive Network Connections
          SendInput {Tab 4}{Right}!{Enter} ; change {Tab 4} to suit the position of your specific connection in the Connections list
          WinWaitActive Wireless Network Connection Properties ; change the title if necessary, for example, if you're on LAN.
          SendInput {Down 4}!r





          share|improve this answer























          • interesting software, I will try it.
            – Root Loop
            Oct 1 '14 at 12:45










          • Does not work. The information provided isn't clear enough as to how to select a network within ncpa.cpl and then to specifically open up the IPv4 options for the network selected.
            – fohrums
            Nov 15 '17 at 1:41


















          up vote
          0
          down vote













          Here is what i did.. while there is not direct CLSID for IPV4 properties, i did come up with this script for those who need it:



          FOR /F "tokens=* USEBACKQ" %%F IN (`reg query 
          "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"`) DO (
          SET var=%%F
          )
          ECHO %var%


          for /f "tokens=3" %%a in ('reg query "%var%" /V ServiceName ^|findstr /ri
          "REG_SZ"') DO (
          SET ServiceName=%%a
          )
          ECHO %ServiceName%
          explorer shell:::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-
          00805FC1270E}::%ServiceName%





          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f735292%2fhow-to-open-tcp-ip-properties-from-cmd-or-run-directly%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            5
            down vote













            There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.



            You can however use netsh from cmd to directly set or view the properties. For instance, if you want to set the IP address of your "Local Area Connection" (default name for the primary network interface) to 192.168.0.5, with a subnet of 255.255.255.0 and a gateway of 192.168.0.1, you would use:



            netsh interface ipv4 set address name="Local Area Connection"
            source=static address=192.168.0.5 mask=255.255.255.0 gateway=192.168.0.1


            For an overview of all possible options, use:



            netsh interface ipv4 set address /?


            To view the current configuration, you can use:



            netsh interface ipv4 show addresses "Local Area Connection"


            Which would then show:



            Configuration for interface "Local Area Connection"

            DHCP enabled: No
            IP Address: 192.168.0.5
            Subnet Prefix: 192.168.0.0/24 (mask 255.255.255.0)
            Default Gateway: 192.168.0.1
            Gateway Metric: 0
            InterfaceMetric: 10





            share|improve this answer























            • Maybe my question is not clear enough, i know how to setup ip from command line, I want to know the way that i can open that ip setup GUI window....not setup ip from cmd. Thanks for your answer anyways.
              – Root Loop
              Mar 29 '14 at 23:39










            • @user3303155 Yeah, just noticed that. There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.
              – Oldskool
              Mar 29 '14 at 23:41










            • I edited my question a bit, there is a way to open, but still need to click couple times....so sad....
              – Root Loop
              Mar 29 '14 at 23:46










            • The first line of code is demonstrated incorrectly as this is a 1-liner command. For instance, using default LAN IP (or bridge mode 192.168.1.1 static IP) is netsh interface ipv4 set address name="NeTwOrK-NaMe" source=static address=192.168.1.2 mask=255.255.255.0 gateway=192.168.1.1 while going back to DHCP is netsh interface ipv4 set address name="NeTwOrK-nAmE" source=dhcp. You guys need to let readers know how to literally use it for them to change anything else afterwards.
              – fohrums
              Nov 15 '17 at 5:33

















            up vote
            5
            down vote













            There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.



            You can however use netsh from cmd to directly set or view the properties. For instance, if you want to set the IP address of your "Local Area Connection" (default name for the primary network interface) to 192.168.0.5, with a subnet of 255.255.255.0 and a gateway of 192.168.0.1, you would use:



            netsh interface ipv4 set address name="Local Area Connection"
            source=static address=192.168.0.5 mask=255.255.255.0 gateway=192.168.0.1


            For an overview of all possible options, use:



            netsh interface ipv4 set address /?


            To view the current configuration, you can use:



            netsh interface ipv4 show addresses "Local Area Connection"


            Which would then show:



            Configuration for interface "Local Area Connection"

            DHCP enabled: No
            IP Address: 192.168.0.5
            Subnet Prefix: 192.168.0.0/24 (mask 255.255.255.0)
            Default Gateway: 192.168.0.1
            Gateway Metric: 0
            InterfaceMetric: 10





            share|improve this answer























            • Maybe my question is not clear enough, i know how to setup ip from command line, I want to know the way that i can open that ip setup GUI window....not setup ip from cmd. Thanks for your answer anyways.
              – Root Loop
              Mar 29 '14 at 23:39










            • @user3303155 Yeah, just noticed that. There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.
              – Oldskool
              Mar 29 '14 at 23:41










            • I edited my question a bit, there is a way to open, but still need to click couple times....so sad....
              – Root Loop
              Mar 29 '14 at 23:46










            • The first line of code is demonstrated incorrectly as this is a 1-liner command. For instance, using default LAN IP (or bridge mode 192.168.1.1 static IP) is netsh interface ipv4 set address name="NeTwOrK-NaMe" source=static address=192.168.1.2 mask=255.255.255.0 gateway=192.168.1.1 while going back to DHCP is netsh interface ipv4 set address name="NeTwOrK-nAmE" source=dhcp. You guys need to let readers know how to literally use it for them to change anything else afterwards.
              – fohrums
              Nov 15 '17 at 5:33















            up vote
            5
            down vote










            up vote
            5
            down vote









            There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.



            You can however use netsh from cmd to directly set or view the properties. For instance, if you want to set the IP address of your "Local Area Connection" (default name for the primary network interface) to 192.168.0.5, with a subnet of 255.255.255.0 and a gateway of 192.168.0.1, you would use:



            netsh interface ipv4 set address name="Local Area Connection"
            source=static address=192.168.0.5 mask=255.255.255.0 gateway=192.168.0.1


            For an overview of all possible options, use:



            netsh interface ipv4 set address /?


            To view the current configuration, you can use:



            netsh interface ipv4 show addresses "Local Area Connection"


            Which would then show:



            Configuration for interface "Local Area Connection"

            DHCP enabled: No
            IP Address: 192.168.0.5
            Subnet Prefix: 192.168.0.0/24 (mask 255.255.255.0)
            Default Gateway: 192.168.0.1
            Gateway Metric: 0
            InterfaceMetric: 10





            share|improve this answer














            There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.



            You can however use netsh from cmd to directly set or view the properties. For instance, if you want to set the IP address of your "Local Area Connection" (default name for the primary network interface) to 192.168.0.5, with a subnet of 255.255.255.0 and a gateway of 192.168.0.1, you would use:



            netsh interface ipv4 set address name="Local Area Connection"
            source=static address=192.168.0.5 mask=255.255.255.0 gateway=192.168.0.1


            For an overview of all possible options, use:



            netsh interface ipv4 set address /?


            To view the current configuration, you can use:



            netsh interface ipv4 show addresses "Local Area Connection"


            Which would then show:



            Configuration for interface "Local Area Connection"

            DHCP enabled: No
            IP Address: 192.168.0.5
            Subnet Prefix: 192.168.0.0/24 (mask 255.255.255.0)
            Default Gateway: 192.168.0.1
            Gateway Metric: 0
            InterfaceMetric: 10






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 29 '14 at 23:38

























            answered Mar 29 '14 at 23:32









            Oldskool

            589213




            589213












            • Maybe my question is not clear enough, i know how to setup ip from command line, I want to know the way that i can open that ip setup GUI window....not setup ip from cmd. Thanks for your answer anyways.
              – Root Loop
              Mar 29 '14 at 23:39










            • @user3303155 Yeah, just noticed that. There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.
              – Oldskool
              Mar 29 '14 at 23:41










            • I edited my question a bit, there is a way to open, but still need to click couple times....so sad....
              – Root Loop
              Mar 29 '14 at 23:46










            • The first line of code is demonstrated incorrectly as this is a 1-liner command. For instance, using default LAN IP (or bridge mode 192.168.1.1 static IP) is netsh interface ipv4 set address name="NeTwOrK-NaMe" source=static address=192.168.1.2 mask=255.255.255.0 gateway=192.168.1.1 while going back to DHCP is netsh interface ipv4 set address name="NeTwOrK-nAmE" source=dhcp. You guys need to let readers know how to literally use it for them to change anything else afterwards.
              – fohrums
              Nov 15 '17 at 5:33




















            • Maybe my question is not clear enough, i know how to setup ip from command line, I want to know the way that i can open that ip setup GUI window....not setup ip from cmd. Thanks for your answer anyways.
              – Root Loop
              Mar 29 '14 at 23:39










            • @user3303155 Yeah, just noticed that. There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.
              – Oldskool
              Mar 29 '14 at 23:41










            • I edited my question a bit, there is a way to open, but still need to click couple times....so sad....
              – Root Loop
              Mar 29 '14 at 23:46










            • The first line of code is demonstrated incorrectly as this is a 1-liner command. For instance, using default LAN IP (or bridge mode 192.168.1.1 static IP) is netsh interface ipv4 set address name="NeTwOrK-NaMe" source=static address=192.168.1.2 mask=255.255.255.0 gateway=192.168.1.1 while going back to DHCP is netsh interface ipv4 set address name="NeTwOrK-nAmE" source=dhcp. You guys need to let readers know how to literally use it for them to change anything else afterwards.
              – fohrums
              Nov 15 '17 at 5:33


















            Maybe my question is not clear enough, i know how to setup ip from command line, I want to know the way that i can open that ip setup GUI window....not setup ip from cmd. Thanks for your answer anyways.
            – Root Loop
            Mar 29 '14 at 23:39




            Maybe my question is not clear enough, i know how to setup ip from command line, I want to know the way that i can open that ip setup GUI window....not setup ip from cmd. Thanks for your answer anyways.
            – Root Loop
            Mar 29 '14 at 23:39












            @user3303155 Yeah, just noticed that. There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.
            – Oldskool
            Mar 29 '14 at 23:41




            @user3303155 Yeah, just noticed that. There is no way to open up that specific property window directly. There's only a shortcut to the "generic" interfaces screen, being ncpa.cpl.
            – Oldskool
            Mar 29 '14 at 23:41












            I edited my question a bit, there is a way to open, but still need to click couple times....so sad....
            – Root Loop
            Mar 29 '14 at 23:46




            I edited my question a bit, there is a way to open, but still need to click couple times....so sad....
            – Root Loop
            Mar 29 '14 at 23:46












            The first line of code is demonstrated incorrectly as this is a 1-liner command. For instance, using default LAN IP (or bridge mode 192.168.1.1 static IP) is netsh interface ipv4 set address name="NeTwOrK-NaMe" source=static address=192.168.1.2 mask=255.255.255.0 gateway=192.168.1.1 while going back to DHCP is netsh interface ipv4 set address name="NeTwOrK-nAmE" source=dhcp. You guys need to let readers know how to literally use it for them to change anything else afterwards.
            – fohrums
            Nov 15 '17 at 5:33






            The first line of code is demonstrated incorrectly as this is a 1-liner command. For instance, using default LAN IP (or bridge mode 192.168.1.1 static IP) is netsh interface ipv4 set address name="NeTwOrK-NaMe" source=static address=192.168.1.2 mask=255.255.255.0 gateway=192.168.1.1 while going back to DHCP is netsh interface ipv4 set address name="NeTwOrK-nAmE" source=dhcp. You guys need to let readers know how to literally use it for them to change anything else afterwards.
            – fohrums
            Nov 15 '17 at 5:33














            up vote
            4
            down vote













            Why don't you use AutoHotKey for this? This is the script I use:



            Run ncpa.cpl 
            WinWaitActive Network Connections
            SendInput {Tab 4}{Right}!{Enter} ; change {Tab 4} to suit the position of your specific connection in the Connections list
            WinWaitActive Wireless Network Connection Properties ; change the title if necessary, for example, if you're on LAN.
            SendInput {Down 4}!r





            share|improve this answer























            • interesting software, I will try it.
              – Root Loop
              Oct 1 '14 at 12:45










            • Does not work. The information provided isn't clear enough as to how to select a network within ncpa.cpl and then to specifically open up the IPv4 options for the network selected.
              – fohrums
              Nov 15 '17 at 1:41















            up vote
            4
            down vote













            Why don't you use AutoHotKey for this? This is the script I use:



            Run ncpa.cpl 
            WinWaitActive Network Connections
            SendInput {Tab 4}{Right}!{Enter} ; change {Tab 4} to suit the position of your specific connection in the Connections list
            WinWaitActive Wireless Network Connection Properties ; change the title if necessary, for example, if you're on LAN.
            SendInput {Down 4}!r





            share|improve this answer























            • interesting software, I will try it.
              – Root Loop
              Oct 1 '14 at 12:45










            • Does not work. The information provided isn't clear enough as to how to select a network within ncpa.cpl and then to specifically open up the IPv4 options for the network selected.
              – fohrums
              Nov 15 '17 at 1:41













            up vote
            4
            down vote










            up vote
            4
            down vote









            Why don't you use AutoHotKey for this? This is the script I use:



            Run ncpa.cpl 
            WinWaitActive Network Connections
            SendInput {Tab 4}{Right}!{Enter} ; change {Tab 4} to suit the position of your specific connection in the Connections list
            WinWaitActive Wireless Network Connection Properties ; change the title if necessary, for example, if you're on LAN.
            SendInput {Down 4}!r





            share|improve this answer














            Why don't you use AutoHotKey for this? This is the script I use:



            Run ncpa.cpl 
            WinWaitActive Network Connections
            SendInput {Tab 4}{Right}!{Enter} ; change {Tab 4} to suit the position of your specific connection in the Connections list
            WinWaitActive Wireless Network Connection Properties ; change the title if necessary, for example, if you're on LAN.
            SendInput {Down 4}!r






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 1 '14 at 8:38









            Matthew Williams

            3,98382036




            3,98382036










            answered Oct 1 '14 at 5:54









            NKT

            411




            411












            • interesting software, I will try it.
              – Root Loop
              Oct 1 '14 at 12:45










            • Does not work. The information provided isn't clear enough as to how to select a network within ncpa.cpl and then to specifically open up the IPv4 options for the network selected.
              – fohrums
              Nov 15 '17 at 1:41


















            • interesting software, I will try it.
              – Root Loop
              Oct 1 '14 at 12:45










            • Does not work. The information provided isn't clear enough as to how to select a network within ncpa.cpl and then to specifically open up the IPv4 options for the network selected.
              – fohrums
              Nov 15 '17 at 1:41
















            interesting software, I will try it.
            – Root Loop
            Oct 1 '14 at 12:45




            interesting software, I will try it.
            – Root Loop
            Oct 1 '14 at 12:45












            Does not work. The information provided isn't clear enough as to how to select a network within ncpa.cpl and then to specifically open up the IPv4 options for the network selected.
            – fohrums
            Nov 15 '17 at 1:41




            Does not work. The information provided isn't clear enough as to how to select a network within ncpa.cpl and then to specifically open up the IPv4 options for the network selected.
            – fohrums
            Nov 15 '17 at 1:41










            up vote
            0
            down vote













            Here is what i did.. while there is not direct CLSID for IPV4 properties, i did come up with this script for those who need it:



            FOR /F "tokens=* USEBACKQ" %%F IN (`reg query 
            "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"`) DO (
            SET var=%%F
            )
            ECHO %var%


            for /f "tokens=3" %%a in ('reg query "%var%" /V ServiceName ^|findstr /ri
            "REG_SZ"') DO (
            SET ServiceName=%%a
            )
            ECHO %ServiceName%
            explorer shell:::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-
            00805FC1270E}::%ServiceName%





            share|improve this answer

























              up vote
              0
              down vote













              Here is what i did.. while there is not direct CLSID for IPV4 properties, i did come up with this script for those who need it:



              FOR /F "tokens=* USEBACKQ" %%F IN (`reg query 
              "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"`) DO (
              SET var=%%F
              )
              ECHO %var%


              for /f "tokens=3" %%a in ('reg query "%var%" /V ServiceName ^|findstr /ri
              "REG_SZ"') DO (
              SET ServiceName=%%a
              )
              ECHO %ServiceName%
              explorer shell:::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-
              00805FC1270E}::%ServiceName%





              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Here is what i did.. while there is not direct CLSID for IPV4 properties, i did come up with this script for those who need it:



                FOR /F "tokens=* USEBACKQ" %%F IN (`reg query 
                "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"`) DO (
                SET var=%%F
                )
                ECHO %var%


                for /f "tokens=3" %%a in ('reg query "%var%" /V ServiceName ^|findstr /ri
                "REG_SZ"') DO (
                SET ServiceName=%%a
                )
                ECHO %ServiceName%
                explorer shell:::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-
                00805FC1270E}::%ServiceName%





                share|improve this answer












                Here is what i did.. while there is not direct CLSID for IPV4 properties, i did come up with this script for those who need it:



                FOR /F "tokens=* USEBACKQ" %%F IN (`reg query 
                "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkCards"`) DO (
                SET var=%%F
                )
                ECHO %var%


                for /f "tokens=3" %%a in ('reg query "%var%" /V ServiceName ^|findstr /ri
                "REG_SZ"') DO (
                SET ServiceName=%%a
                )
                ECHO %ServiceName%
                explorer shell:::{208D2C60-3AEA-1069-A2D7-08002B30309D}::{7007ACC7-3202-11D1-AAD2-
                00805FC1270E}::%ServiceName%






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 8 at 11:53









                DirectXgameR

                1




                1






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f735292%2fhow-to-open-tcp-ip-properties-from-cmd-or-run-directly%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...