2.1 KiB
IPv4 vor IPv6
Mittwoch, 7. Februar 2018
21:14
Here is a simple way to do it using PowerShell
1 2 3 4 5 6 7 8 9 |
Break #In case you paste this in to PowerShell ISE and press run script:) #Check if IPv4 IP address is preferred ping $env:COMPUTERNAME #If the reply is IPv6 address, run following registry setting to just prefer ipv4 and reboot New-ItemProperty “HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\” -Name “DisabledComponents” -Value 0x20 -PropertyType “DWord” #If DisabledComponents exists, use the set cmdlet Set-ItemProperty “HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\” -Name “DisabledComponents” -Value 0x20 #You need to reboot the computer in order for the changes to take effect Restart-Computer |
---|
To force the system to use IPv4 first, before IPv6
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents
Optional: KB929852 - MS Fixit für die unten aufgeführten Schritte!
-
In Registry Editor:\
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters \
-
Doppelt auf DisabledComponents zum ändern klicken ODER\
wenn der DisabledComponents nicht vorhanden ist, muss dieser erstellt werden:
<!-- -->
- Edit Menü -> New ->** DWORD (32-bit) Value**
<!-- -->
-
"DisabledComponents" eingeben, ENTER
-
Doppelklick auf DisabledComponents
<!-- -->
- "0x20" eingeben um IPv4 vor IPv6 zu bevorzugen.
Zugriff auf freigaben
\\fdd0-0-0-1-0-0-0-8.ipv6-literal.net