How to reset TCP/IP on Windows 8.1?











up vote
1
down vote

favorite
1












The following netsh command is not working on Windows 8.1.



netsh int ipv4 reset



It give “Access Denied” error and it is a VERY known issue, many people complaining about it all ove online forums.



There is no known equivalent PowerShell command.
One tedious solution is to use Process Monitor and track the registry that it needs to have



access to and grant access. This is not practical since the registry key includes a random guid on each machine.



What is the practical remedy for this?



Update:



@grawity, I tried the command in the elevated mode - Of course










share|improve this question
























  • PowerShell? netsh is a standalone command, it should work in any shell.
    – grawity
    Dec 6 '13 at 21:18






  • 1




    What is the problem you are trying to solve with this command? Perhaps there is a different approach.
    – Paul
    Dec 6 '13 at 22:07










  • @Paul: This command fixes many networking issues and rebuilds all P stack registry settings. I have been in many situations where the network access was slow or not working and this command did the magic. The fact that it stopped working on Win8.1 should not force us to question its use.
    – Allan Xu
    Dec 7 '13 at 2:14






  • 4




    ...did you run it in an elevated shell or a regular one?
    – grawity
    Dec 7 '13 at 14:16






  • 1




    @AllanXu I am not questioning its use but it sounds like a driver issue from your description, and so addressing the underlying issue is an alternative approach to solving the problem.
    – Paul
    Dec 8 '13 at 20:53















up vote
1
down vote

favorite
1












The following netsh command is not working on Windows 8.1.



netsh int ipv4 reset



It give “Access Denied” error and it is a VERY known issue, many people complaining about it all ove online forums.



There is no known equivalent PowerShell command.
One tedious solution is to use Process Monitor and track the registry that it needs to have



access to and grant access. This is not practical since the registry key includes a random guid on each machine.



What is the practical remedy for this?



Update:



@grawity, I tried the command in the elevated mode - Of course










share|improve this question
























  • PowerShell? netsh is a standalone command, it should work in any shell.
    – grawity
    Dec 6 '13 at 21:18






  • 1




    What is the problem you are trying to solve with this command? Perhaps there is a different approach.
    – Paul
    Dec 6 '13 at 22:07










  • @Paul: This command fixes many networking issues and rebuilds all P stack registry settings. I have been in many situations where the network access was slow or not working and this command did the magic. The fact that it stopped working on Win8.1 should not force us to question its use.
    – Allan Xu
    Dec 7 '13 at 2:14






  • 4




    ...did you run it in an elevated shell or a regular one?
    – grawity
    Dec 7 '13 at 14:16






  • 1




    @AllanXu I am not questioning its use but it sounds like a driver issue from your description, and so addressing the underlying issue is an alternative approach to solving the problem.
    – Paul
    Dec 8 '13 at 20:53













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





The following netsh command is not working on Windows 8.1.



netsh int ipv4 reset



It give “Access Denied” error and it is a VERY known issue, many people complaining about it all ove online forums.



There is no known equivalent PowerShell command.
One tedious solution is to use Process Monitor and track the registry that it needs to have



access to and grant access. This is not practical since the registry key includes a random guid on each machine.



What is the practical remedy for this?



Update:



@grawity, I tried the command in the elevated mode - Of course










share|improve this question















The following netsh command is not working on Windows 8.1.



netsh int ipv4 reset



It give “Access Denied” error and it is a VERY known issue, many people complaining about it all ove online forums.



There is no known equivalent PowerShell command.
One tedious solution is to use Process Monitor and track the registry that it needs to have



access to and grant access. This is not practical since the registry key includes a random guid on each machine.



What is the practical remedy for this?



Update:



@grawity, I tried the command in the elevated mode - Of course







networking powershell windows-8.1 netsh






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 7 '13 at 23:25

























asked Dec 6 '13 at 20:36









Allan Xu

2702312




2702312












  • PowerShell? netsh is a standalone command, it should work in any shell.
    – grawity
    Dec 6 '13 at 21:18






  • 1




    What is the problem you are trying to solve with this command? Perhaps there is a different approach.
    – Paul
    Dec 6 '13 at 22:07










  • @Paul: This command fixes many networking issues and rebuilds all P stack registry settings. I have been in many situations where the network access was slow or not working and this command did the magic. The fact that it stopped working on Win8.1 should not force us to question its use.
    – Allan Xu
    Dec 7 '13 at 2:14






  • 4




    ...did you run it in an elevated shell or a regular one?
    – grawity
    Dec 7 '13 at 14:16






  • 1




    @AllanXu I am not questioning its use but it sounds like a driver issue from your description, and so addressing the underlying issue is an alternative approach to solving the problem.
    – Paul
    Dec 8 '13 at 20:53


















  • PowerShell? netsh is a standalone command, it should work in any shell.
    – grawity
    Dec 6 '13 at 21:18






  • 1




    What is the problem you are trying to solve with this command? Perhaps there is a different approach.
    – Paul
    Dec 6 '13 at 22:07










  • @Paul: This command fixes many networking issues and rebuilds all P stack registry settings. I have been in many situations where the network access was slow or not working and this command did the magic. The fact that it stopped working on Win8.1 should not force us to question its use.
    – Allan Xu
    Dec 7 '13 at 2:14






  • 4




    ...did you run it in an elevated shell or a regular one?
    – grawity
    Dec 7 '13 at 14:16






  • 1




    @AllanXu I am not questioning its use but it sounds like a driver issue from your description, and so addressing the underlying issue is an alternative approach to solving the problem.
    – Paul
    Dec 8 '13 at 20:53
















PowerShell? netsh is a standalone command, it should work in any shell.
– grawity
Dec 6 '13 at 21:18




PowerShell? netsh is a standalone command, it should work in any shell.
– grawity
Dec 6 '13 at 21:18




1




1




What is the problem you are trying to solve with this command? Perhaps there is a different approach.
– Paul
Dec 6 '13 at 22:07




What is the problem you are trying to solve with this command? Perhaps there is a different approach.
– Paul
Dec 6 '13 at 22:07












@Paul: This command fixes many networking issues and rebuilds all P stack registry settings. I have been in many situations where the network access was slow or not working and this command did the magic. The fact that it stopped working on Win8.1 should not force us to question its use.
– Allan Xu
Dec 7 '13 at 2:14




@Paul: This command fixes many networking issues and rebuilds all P stack registry settings. I have been in many situations where the network access was slow or not working and this command did the magic. The fact that it stopped working on Win8.1 should not force us to question its use.
– Allan Xu
Dec 7 '13 at 2:14




4




4




...did you run it in an elevated shell or a regular one?
– grawity
Dec 7 '13 at 14:16




...did you run it in an elevated shell or a regular one?
– grawity
Dec 7 '13 at 14:16




1




1




@AllanXu I am not questioning its use but it sounds like a driver issue from your description, and so addressing the underlying issue is an alternative approach to solving the problem.
– Paul
Dec 8 '13 at 20:53




@AllanXu I am not questioning its use but it sounds like a driver issue from your description, and so addressing the underlying issue is an alternative approach to solving the problem.
– Paul
Dec 8 '13 at 20:53










2 Answers
2






active

oldest

votes

















up vote
0
down vote













With Powershell you could almost make your own command. Something like this might help:



$netadapt = Get-CimInstance CIM_NetworkAdapter | ? {$_.AdapterType -eq "Ethernet 802.3"}
$netadapt.Disable()
$netadapt.Enable()


The only caveat with this is that it's going to reset all network adapters that are "Ethernet 802.3". If that's an issue you can substitute $_.AdapterType with $_.name and also replace "Ethernet 802.3" with an actual device name e.g. "Intel(R) 82579V Gigabit Network Connection."






share|improve this answer




























    up vote
    -1
    down vote













    You can solve this problem with PowerShell. Just run the command:



    Remove-NetIPAddress





    share|improve this answer























    • It worked to me
      – user379638
      Oct 14 '14 at 19:28











    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%2f685011%2fhow-to-reset-tcp-ip-on-windows-8-1%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    With Powershell you could almost make your own command. Something like this might help:



    $netadapt = Get-CimInstance CIM_NetworkAdapter | ? {$_.AdapterType -eq "Ethernet 802.3"}
    $netadapt.Disable()
    $netadapt.Enable()


    The only caveat with this is that it's going to reset all network adapters that are "Ethernet 802.3". If that's an issue you can substitute $_.AdapterType with $_.name and also replace "Ethernet 802.3" with an actual device name e.g. "Intel(R) 82579V Gigabit Network Connection."






    share|improve this answer

























      up vote
      0
      down vote













      With Powershell you could almost make your own command. Something like this might help:



      $netadapt = Get-CimInstance CIM_NetworkAdapter | ? {$_.AdapterType -eq "Ethernet 802.3"}
      $netadapt.Disable()
      $netadapt.Enable()


      The only caveat with this is that it's going to reset all network adapters that are "Ethernet 802.3". If that's an issue you can substitute $_.AdapterType with $_.name and also replace "Ethernet 802.3" with an actual device name e.g. "Intel(R) 82579V Gigabit Network Connection."






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        With Powershell you could almost make your own command. Something like this might help:



        $netadapt = Get-CimInstance CIM_NetworkAdapter | ? {$_.AdapterType -eq "Ethernet 802.3"}
        $netadapt.Disable()
        $netadapt.Enable()


        The only caveat with this is that it's going to reset all network adapters that are "Ethernet 802.3". If that's an issue you can substitute $_.AdapterType with $_.name and also replace "Ethernet 802.3" with an actual device name e.g. "Intel(R) 82579V Gigabit Network Connection."






        share|improve this answer












        With Powershell you could almost make your own command. Something like this might help:



        $netadapt = Get-CimInstance CIM_NetworkAdapter | ? {$_.AdapterType -eq "Ethernet 802.3"}
        $netadapt.Disable()
        $netadapt.Enable()


        The only caveat with this is that it's going to reset all network adapters that are "Ethernet 802.3". If that's an issue you can substitute $_.AdapterType with $_.name and also replace "Ethernet 802.3" with an actual device name e.g. "Intel(R) 82579V Gigabit Network Connection."







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 13 '14 at 22:32









        Qwilson

        61848




        61848
























            up vote
            -1
            down vote













            You can solve this problem with PowerShell. Just run the command:



            Remove-NetIPAddress





            share|improve this answer























            • It worked to me
              – user379638
              Oct 14 '14 at 19:28















            up vote
            -1
            down vote













            You can solve this problem with PowerShell. Just run the command:



            Remove-NetIPAddress





            share|improve this answer























            • It worked to me
              – user379638
              Oct 14 '14 at 19:28













            up vote
            -1
            down vote










            up vote
            -1
            down vote









            You can solve this problem with PowerShell. Just run the command:



            Remove-NetIPAddress





            share|improve this answer














            You can solve this problem with PowerShell. Just run the command:



            Remove-NetIPAddress






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 14 '14 at 20:09









            Arjan

            26.7k1065107




            26.7k1065107










            answered Oct 14 '14 at 19:26









            user379638

            11




            11












            • It worked to me
              – user379638
              Oct 14 '14 at 19:28


















            • It worked to me
              – user379638
              Oct 14 '14 at 19:28
















            It worked to me
            – user379638
            Oct 14 '14 at 19:28




            It worked to me
            – user379638
            Oct 14 '14 at 19:28


















             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f685011%2fhow-to-reset-tcp-ip-on-windows-8-1%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

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix