Windows 10 let users change the IP address of PCs network adapter so they can connect to the internet or the network they belong to, in case there is no automatic connection for that PC. Many a time access to change this setting becomes restricted for an odd reason even if you are an administrator. If Windows 10 VPN IPv4 Properties are not working, then here are a few suggestions that may help you fix this issue of not being able to open and edit IPv4 properties.
Windows 10 VPN IPv4 Properties not working
The usual way of changing IP settings is by going to Settings > Network and Internet > Change adapter options > Select Network adapter > right click and open properties. You can select TCP/IP 4 and change it. If you cannot do this, follow the tips below to troubleshoot accessing IPv4 properties.
Cannot edit IPv4 properties
1] Use PowerShell to Set IPv4 properties manually
Since you cannot set it using the user interface, we can set it using PowerShell. This will work only when you run PowerShell with administrator privileges. According to a post on Answers, Run the following command.
set-DnsClientServerAddress -InterfaceAlias “Ethernet” -ServerAddresses xxx.xx.xxx.xxx,x.x.x.x,xxx.xx.xxx.xxx,x.x.x.x
Ethernet is the name of your network adapter or connects which is set by default. In case you want to see the actual name type the following in PowerShell and hit Enter:
Get-NetAdapter -physical | where status -eq 'up'
This will give you a list of active ethernet adapter on your PC.
Those 4 sets of X should be the IP address, and it should match with the sequence as in the screenshot below:
2] Edit rasphone.pbk files
This files stores property for the connections. Since you cannot access the IP properties, it is possible that it has been disabled in here. Good news is that you can open, and edit it with Notepad. Follow the steps as mentioned on Answers–
- Open Windows Explorer, and enable hidden files view.
- Locate the file at C:\Users\ <username>\AppData\Roaming\Microsoft\Network\Connections\Pbk\_hiddenPbk\rasphone.pbk
- Right-click the rasphone.pbk and choose to open with Notepad. It’s like editing INI files.
- Look for IpPrioritizeRemote, in the long list and when you find it, set its value from 1 to 0.
- Next, look for IPInterfaceMetric, and set its value to 1.
- Save, and exit.
Try accessing the IPv4 settings again, and this time it should work.
3] Enable Split Tunneling if you are using a VPN:
When you use a VPN service with your computer, all data goes back, and forth through the VPN. It is possible that it will disable the IPv4 edit interface. In case you need to stay connected with both the local network and VPN as well, you need to enable Split Tunneling.
- Launch PowerShell with admin privileges.
- Type Get-VpnConnection and hit enter. This will give you the exact name of your VPN.
- Now type Set-VpnConnection -Name “yourVPNName” -SplitTunneling $True and hit Enter again.
This will free your IPv5 settings so you can change it to connect with your local network if you wish to.
I hope these suggestions help you manage successfully set IPv4 properties in Windows 10.