This Powershell script adds a DWORD = DisabledComponents to the Registry:
Make sure you open Powershell in Run as Administrator Mode as shown below.

|
New-ItemProperty "HKLM:\system\currentcontrolset\services\tcpip6\parameters" -Name "DisabledComponents" -Value 0xFFFFFFFF -PropertyType "DWord" |