Nice tip from Ståle Hansen on how to set IPv4 as preferred IP on Windows Server using PowerShell.
Sometimes working with Lync and Skype for Business I see that the services are trying to contact other servers or localhost which returns an IPv6 address. If the service is set to run only on IPv4 the service will fail and not find the listening interface since it is not listening on IPv6. In these cases I do not disable IPv6 but prefer IPv4. This needs to be done in registry and a reboot is required after the change. Do not disable IPv6 on the network card because that will not work.
Here is a simple way to do it using PowerShell
Check the values below for other options
- Type to re-enable all IPv6 components (Windows default setting).
- Type 0xff to disable all IPv6 components except the IPv6 loopback interface. This value also configures Windows to prefer using IPv4 over IPv6 by changing entries in the prefix policy table. For more…
View original post 75 more words