Press the Windows Key and the R key at the same time to bring up the Run dialog box.
Type regedit in the Run dialog box and click OK
Use Registry Editor to expand the registry tree and browse to:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP6\Parameters
Right click on Parameters, expand New, and select DWORD (32-bit) Value
Enter DisabledComponents into the Name field
Double click on the new DisabledComponents value, enter ffffffff into the Value data dialog box, and click theOK button
Confirm the new registry value contains the required data.
After restarting the computer, run ipconfig again at the command prompt to confirm that IPv6 is disabled.