Skip to content

Manage the windows Pv6 configuration the easy way with PowerShell

Last updated on 2021-01-13

Since a while, some Windows 10 installations reportNo Internet” even if the device has a working internet connection.

That is annoying and sometimes irritating, but some systems have significant issues with it.

The Microsoft Store Updates will not work
The Microsoft Store Updates will not work
Online Services are not available in the Office 365 suite
Online Services are not available in the Office 365 suite
Sometimes Outlook hangs with "Processing..."
Sometimes Outlook hangs with “Processing…”

There are a lot of workarounds published, one reason the “No Internet” can appear is IPv6. Some recommend disabling IPv6, but I disagree with that! I recommend setting it to “Prefer IPv4 over IPv6” instead of disabling IPv6 completely.

GitHub Gist Code:

You need to execute the Set-IPv6InWindows as administrator (e.g., in an elevated PowerShell).
After a change, please reboot to activate the configuration change!

Both functions are available are also part of my default PowerShell Repository.

Update:
Switched to Gist instead of my own Code

Published inPowerShell

Be First to Comment

    Leave a comment

    By posting a comment you consent that I store the submitted information as well as your anonymized IP address on my servers, under the terms of my Privacy Policy. Your email is never shared with anyone else.

    Required fields are marked *.