I have a Windows 2008 R2 Server Core machine and would like to disable IPv6 on one of its network adapters. Essentially this if there was a UI:
Any ideas?
I have a Windows 2008 R2 Server Core machine and would like to disable IPv6 on one of its network adapters. Essentially this if there was a UI:
Any ideas?
There's a script for that...now.
Replace Local Area Connection with the name of the adapter. This gets the GUID of that adapter and removes it from the value of the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip6\Linkage\Bind
property (uses a temp variable).PowerShell - Elevated privileges and might require a restart.
Registry hack, unfortunately. Really should be a
netsh
command, but consistency is not Redmond's forté. (source)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
Create DWORD:
DisabledComponents
Set value to
0xffffffff