Announcement

Collapse
No announcement yet.

How do I turn off IPv6 in via CMD?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I turn off IPv6 in via CMD?

    I want to turn off IPv6 (like the picture) through Command Line? What command should I use?

  • #2
    Re: How do I turn off IPv6 in via CMD?

    Originally posted by jiddisch View Post
    I want to turn off IPv6 (like the picture) through Command Line? What command should I use?
    As far as I know, the only way to get somewhat rid of IPv6 is to edit the registry. Take a look at this MS article about it.

    -vP

    Comment


    • #3
      Re: How do I turn off IPv6 in via CMD?

      OK thx. And what about PowerShell?

      Comment


      • #4
        Re: How do I turn off IPv6 in via CMD?

        Everything i've read about it points to editing the registry.

        Now if you know how to edit the registry using powershell then you can edit the registry keys you require.

        Comment


        • #5
          Re: How do I turn off IPv6 in via CMD?

          Originally posted by jiddisch View Post
          And what about PowerShell?
          What about Powershell? You can use it to manipulate the registry. You could use plain reg.exe too, although the syntax is different.

          -vP

          Comment


          • #6
            Re: How do I turn off IPv6 in via CMD?

            This will do the trick:

            @Echo off
            @ECHO Windows Registry Editor Version 5.00 > %TEMP%\DisableIPv6.reg
            @ECHO [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters] >> %TEMP%\DisableIPv6.reg
            @ECHO "DisabledComponents"=dword:000000ff >> %TEMP%\DisableIPv6.reg
            REGEDIT /S %TEMP%\DisableIPv6.reg


            excerpt from : http://thesystemadministrator.com/th..._ipv4_to_ipv6/

            bio...

            Comment

            Working...
            X