2014-08-06

How to disable IPV6 on Windows Server 2012 and Hyper-V 2012 from power shell

How to disable IPV6 on Windows Server 2012 and Hyper-V 2012 from power shell


Another simple one that disables IPV6 from powershell for Server and Hyper-V 2012.

New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters -Name DisabledComponents -PropertyType DWord -Value 0xffffffff

So that’s one command and you can simply copy and paste into power shell. You will need to have admin privs for this to work.