none
Cannot delete IPv6 address with netsh

    Question

  • When I try to delete a manually added IPv6 address using netsh interface IPv6 delete address on my Windows 8 machines I get the error The system cannot find the file specified. I've reset IPv6 and the stack altogether but the error still occurs.  

    Running reset command in interface IPv6 also gives a bit of a strange response.  Not sure if this is an error as well but does look odd so I thought I should include it.

    netsh interface ipv6>reset
    Resetting Interface, OK!
    Resetting , failed.
    Access is denied.

    Restart the computer to complete this action.

    Not really sure how to attack this problem, any ideas?

    Saturday, August 17, 2013 4:24 PM

All replies

  • Open a command promptrun as administratorcd windows\system32

    Then try to execute your commands and get back with the results...

    -----------------------------------------------------------------------------------------------

    Don't forget to mark this as the answer if it solved your problem or mark as helpful if you found this is helpful .

    -----------------------------------------------------------------------------------------------

    Hetti Arachchige V Aravinda | Microsoft Community Support | Windows Tech Information

    (B.Sc, Microsoft Small Business Specialist, Dip. in Network Administration, MCP, MCTS,

    MCSA, MCSE, MCITP, CCNA, MBCS)
    -----------------------------------------------------------------------------------------------


    Saturday, August 17, 2013 5:29 PM
  • Did run it as admin to begin with so no change.

    I did figured out some sort of a workaround. If I add the flag store=active to the command it works, if it is set to persistent instead it returns the same error, which makes sense since it is the default setting when no flag is used. Seems like it can't access the location where the network settings are stored permanently.

    Saturday, August 17, 2013 8:42 PM
  • Did run it as admin to begin with so no change.

    I did figured out some sort of a workaround. If I add the flag store=active to the command it works, if it is set to persistent instead it returns the same error, which makes sense since it is the default setting when no flag is used. Seems like it can't access the location where the network settings are stored permanently.


    Hi,

    Regarding current situation, I suggest we reinstall IPv6 protocol to check the issue:

    Installing or Removing IPv6

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6ad3cff7-10f7-4499-8673-e866795607d1.mspx?mfr=true

    Then, please try following fix to check the issue:

    DHCPv6 client may fail to be assigned an IPv6 address

    http://support.microsoft.com/kb/2711727

    Please let me know the results and keep post.


    Kate Li

    TechNet Community Support

    Monday, August 19, 2013 12:31 PM
    Moderator
  • Don't think it possible to uninstall IPv6 on Windows 8, you can only disable it, which works to clear the settings but not much else.

    Tried the DHCPv6 fix but with no success.

    Has anyone else tried to delete a manually added IPv6 address using netsh in Windows 8, that has the latest patches? I'm suspecting that this might be a bug, that might be recent, since I have the same problem on all the machines I've tested on but I never noticed it before.

    Tuesday, August 20, 2013 12:06 PM
  • Don't think it possible to uninstall IPv6 on Windows 8, you can only disable it, which works to clear the settings but not much else.

    Tried the DHCPv6 fix but with no success.

    Has anyone else tried to delete a manually added IPv6 address using netsh in Windows 8, that has the latest patches? I'm suspecting that this might be a bug, that might be recent, since I have the same problem on all the machines I've tested on but I never noticed it before.

    Hi,

    I have try to reset IPv6 address with running Process monitor, and found that some files were blocked and failed to access which may cause the issue.

    And the reset process required restart the computer to finish the operation. Would you please try to restart the computer after you run the reset command?



    Kate Li

    TechNet Community Support

    • Marked as answer by Niki HanModerator Monday, August 26, 2013 4:13 AM
    • Unmarked as answer by e94_mli Monday, August 26, 2013 12:24 PM
    Friday, August 23, 2013 3:42 PM
    Moderator
  • I'm suspecting that this might be a bug

    Maybe this is why netsh is deprecated?  Try PowerShell?

    http://technet.microsoft.com/en-us/library/hh826145.aspx

    (Microsoft search for
        Remove-NetIPAddress)

     



    Robert Aldwinckle
    ---

    • Marked as answer by Niki HanModerator Monday, August 26, 2013 4:13 AM
    • Unmarked as answer by e94_mli Monday, August 26, 2013 12:25 PM
    Friday, August 23, 2013 4:10 PM
  • Rebooting after reset clears everything up. But it doesn't help the address delete issue as that remains the same after reset. I just included the reset command output as it looks a bit odd, was hoping it could help tell what might be wrong.

    Did you by any chance try to delete an IPv6 address? I've tried three machines now and I get the same error on all.

    Monday, August 26, 2013 12:23 PM
  • It might be on its way out eventually but it isn't deprecated yet.
    Monday, August 26, 2013 12:24 PM
  • It might be on its way out eventually but it isn't deprecated yet.

    Hi,

    You might need to make sure that no connections are listening on the old IP address (netstat is your friend here).

    Netstat

    http://technet.microsoft.com/en-us/library/bb490947.aspx



    Kate Li

    TechNet Community Support

    Wednesday, September 04, 2013 2:15 AM
    Moderator