News

How To Turn Off WiFi When Connected To LAN On Windows 10

Have you ever try to turn off WiFi when connected to LAN on Windows 10? Simply connect both a WiFi and a wired network on a Windows 10 machine. Windows 10 will favor the LAN connection over the Internet one in some situations due to it’s faster speed and more reliable connection. While having them both connected at the same time can’t offer any benefit in terms of speed. Also, you can’t get faster WiFi with two connections. Your PC simply use one connection and whatever speed it offers.

The one benefit of having both connections enable at the same time is that if one fails. Also, you’ll switch over to the other one. It can’t ensure that there won’t be any interference in traffic only that it’ll restore from it immediately.

Turn Off WiFi when LAN is connected

Windows 10 has a built-in procedure for turning off the WiFi while you’re on a LAN. It’s can’t be accessed easily so some people don’t know the feature when it exists.

Modify network adapter settings

If you want to turn off WiFi when connected to LAN, simply modify the network adapter settings.

Step 1:

Remember you’re connected to a WiFi network.

Step 2:

Head over to File Explorer and input the following in the location bar and click Enter.

Control Panel\Network and Internet\Network and Sharing Center
Step 3:

Tap your WiFi connection.

Step 4:

When windows open tap ‘Properties’ under the Activity section.

Step 5:

Tap Configure.

Step 6:

Move to the Advanced tab.

Step 7:

Move through the list of properties and look ‘Disabled Upon Wired Connect‘.

Step 8:

Choose it, and then open the Value dropdown on the right. Set it to Turned On.

Step 9:

Now restart your Windows 10 machine.

Set priority for LAN

If you do not have the Disabled Upon Wired Connect option, you can try the following instead.

Step 1:

Head over to Device Manager.

Step 2:

Now expand the Network Adapters.

Step 3:

View for the network controller. It might have a name like Realtek controller, or identical. If you don’t know, simply list all the devices until you search the below choices.

Step 4:

Right-tap it, and choose Properties.

Step 5:

Move to the Advanced tab and view for Priority & Vlan and choose it.

Step 6:

Head over to the value dropdown and choose the Enabled option.

Step 7:

Restart the PC.

Disconnect WiFi on LAN – PowerShell

It is possible the above choices can’t work due to the Disable Upon Wired Connect choice might not be listed. In that situation, simply set WiFi to be turned on when you’re on LAN from PowerShell.

Step 1:

Head over to the PowerShell with admin rights.

Step 2:

Install this script. Extract it. There will be two files in it.

Step 3:

Execute the following command in PowerShell to enable the script to run.

Set-ExecutionPolicy RemoteSigned
Step 4:

Simply use the following command to move to the extracted folder (modify the path for the folder on your PC).

cd C:\Users\fatiw\Desktop\WLANManager
Step 5:

Add the script to your PC using the following command.

.\WLANManager.ps1 -Install:System
Step 6:

Once you run the script, head over to the Task Scheduler, view for a task named WLAN Manager task.

Step 7:

Restart the system.

Removing the script

You might want to delete this script later. Simply delete the WLAN Manager task from the Task Scheduler and then restart your computer. If the WiFi choice has disappeared from your PC. Then head over to the Device Manager and view under Network Adapters for turned off devices. Turn on r off devices and you’ll have WiFi back.

An alternative way to delete it is to open PowerShell with admin privileges and execute the following command.

.\WLANManager.ps1 Remove:System

Disconnect WiFi on LAN from GroupPolicy

Also, you can set the Internet to turn off automatically once connected to a wired connection from the GroupPolicy. However, the GroupPolicy is available only on Windows 10 Professional but not on the Home edition. You can also install GroupPolicy on it but it might not work as well.

Step 1:

Click the Win+R keyboard shortcut just to open the Run box.

Step 2:

Input the following and click Enter.

gpedit. msc
Step 3:

Move to the following policy group.

Computer Configuration>Policies>Administrative Templates>Network>Windows Connection Manager

Step 4:

Now view for a policy known as Prohibit connection to non-domain networks when connected to domain authenticated network. Turn it on.

Set Connection Priority

If no one methods work for you, or you’re searching for something easy. Simply set the connection priority on your Windows 10 machine and prefer a LAN connection over the Internet when both are available.

Step 1:

Install an app named Wired WiFi Switcher.

Step 2:

Once installed run the app and during installation, choose the LAN adapter to be prioritized over the wireless adapter.

Step 3:

Now finish the installation, and restart your PC

Conclusion:

Managing WiFi is quite easy but once you manage more than one network. Also, the network types are quite different such as wireless or wired. However, Windows 10 doesn’t have many user-friendly choices. Make sure different PC’s have different configurations. What works on one PC might not work on another that is why we have a few different fixes you can try. If all else fails, simply provide a LAN priority over WiFi without breaking your PC. On the other hand, Windows 10 has quite an easy-to-access toggle in the Action Center that enables you to enable or disable WiFi.

Here’s all about ”Turn Off WiFi When Connected To LAN On Windows 10”. Have you ever face issues while disabling WiFi when connected to LAN on Windows 10? Have you found any other trick that we can’t cover in this article? Let us know your thoughts in the comment section below!

Till then! Stay Safe ?

Also Read:

About the author

Alex Joshua

Leave a Reply