Home How-To-Guides Maximizing Your Internet Speed: How to Set Priority for Programs and Networks

Maximizing Your Internet Speed: How to Set Priority for Programs and Networks

Posted: December 16, 2023

close up photography of mining rig

Introduction

In today's world, most of us are juggling multiple internet connections at once. We often connect our computers to various types of internet profiles. For instance, our computers could be connected to an Ethernet, Wi-Fi, and mobile tethering simultaneously. This array of connections ensures that all our programs run smoothly, even if one internet source goes down. However, our computers often automatically determine the network profile or adapter. But what if we want to set a manual priority?

Understanding how to set internet priority for programs on Windows 11/10 can be incredibly useful. Let's say you prefer using Ethernet over your Wi-Fi connection, Wi-Fi over your Ethernet, or Mobile tethering over Ethernet. How can you ensure that your computer follows your preference? More importantly, how can you ensure your crucial programs get the priority they need regarding bandwidth? This could mean the difference between winning or losing for gamers who play bandwidth-heavy games. This guide will show you how to set internet priority for your programs on Windows 11/10 so that you can take control of your internet usage.

Need to set internet priority for programs

In some cases, you might want to dictate the priority of a particular program when it comes to internet usage. For example, if you're downloading a large file in the background of a bandwidth-heavy game, you might want to ensure the game gets the maximum available bandwidth. This is where setting internet priority for programs comes into play.

By setting internet priority, you can control which programs take up your bandwidth and to what extent. For instance, you can set the game as a priority program to get more bandwidth. This ensures your game doesn't lag because other programs use up the bandwidth. You can set internet priority for programs in Windows 11/10 by using two methods: Windows PowerShell or Network Connections. Learning about these methods will help you better manage your internet connections and optimize bandwidth usage.

Method of Using Windows PowerShell

Windows PowerShell allows you to change your network adapter priorities flawlessly, no matter how many internet connections you juggle. Here, we will guide you through the steps to change these priorities, ensuring your chosen program will utilize the desired internet profile.

Opening Terminal or Windows PowerShell with Administrative Privilege

To begin with, you'll need to open the Terminal or Windows PowerShell with administrative privilege. This can be done by right-clicking on the Start button, pressing the Windows + X, and then selecting 'Windows PowerShell (Admin).' After doing so, you will have the necessary permissions to change the network adapter priorities.

Obtaining InterfaceMetric and the ifIndex

Once you have Windows PowerShell open with administrative privilege, your next step is to obtain the InterfaceMetric and the ifIndex. The ifIndex is particularly important as it denotes priority. To retrieve these, you'll need to enter the following command: 'Get-NetIPInterface.' This command displays information about all your network adapters, both physical and virtual, and you should note down the interface index (ifIndex) of the network adapter whose priority you wish to change.

Entering the Command to Set Priority

After identifying the connection name and noting down the corresponding ifIndex and InterfaceMetric, it's time to change the priority of the network adapter. This can be done by entering the following command: 'Set-NetIPInterface -InterfaceIndex [IFIndex] -InterfaceMetric [IFMetric].' Make sure to replace [IFIndex] with the interface index and [IFMetric] with the metric value you want to assign to the network adapter.

Afterward, you can verify the change by rerunning the initial command, 'Get-NetIPInterface.' This will display the current settings of your network adapters, and you should be able to see the changes you have made. If you have done everything correctly, you will see a success message confirming the change.

This method allows you to set the priority of your network adapters, ensuring that your programs can use your preferred internet profile. For example, by default, the LAN adapter typically has a higher priority than the wireless network adapter. Yet, if you wish to use the Wi-Fi over LAN, you can use this method to make the necessary changes. Additionally, you can disable your Wi-Fi adapter so that all your traffic is routed through the LAN adapter.

In conclusion, Windows PowerShell offers a simple and powerful solution to set internet priority for programs in Windows 11/10 systems, giving you full control over your internet connections.

Method of Using Network Connections

Another way to set internet priority for your programs in Windows 11/10 is through the Network Connections option. This Graphical User Interface (GUI) option is user-friendly and doesn't require any PowerShell commands. Follow these steps to successfully prioritize your preferred network adapter:

Opening Network Connections

To open Network Connections, press Win+R to open the Run prompt. Once the Run dialog box appears, type 'ncpa.cpl' and click 'OK.' This process opens the Network Connection applet, wherein you can find all your connected network adapters.

Finding Desired Adaptor and Setting Properties

From the list of displayed network adapters, right-click on your desired adapter. You can identify these adapters by their name. After right-clicking, a context menu appears. Click the 'Properties' option.

Adjusting Internet Protocol Version 4

In the properties window of your chosen adapter, look for 'Internet Protocol Version 4 (TCP/IPv)' and double-click it. This opens another window where advanced settings concerning the Internet Protocol Version 4 can be found.

Removing Tick from Automatic Metric Checkbox and Entering a Priority Number

Next, click on the 'Advanced' button. Uncheck the box next to 'Automatic Metric' to manually assign a metric value for your chosen network adapter. Note: this metric number indicates the priority. For instance, if you want to give top preference to this adapter, you could assign it a lower metric value like "5."

Saving the Change and Resetting if Desired

After entering your desired metric value, click the 'OK' button in all open windows to save your changes. Once done, the priority for your chosen adapter will change according to the assigned metric value. If you want to reset or revert this change, all you need to do is visit the advanced settings of the Internet Protocol Version 4 again and tick the 'Automatic Metric' checkbox.

In conclusion, using the Windows PowerShell method or the Network Connections option, you can easily set the internet priority for different programs in your Windows 11/10 system. Knowing these methods allows you to control how your computer utilizes all available internet connections, giving priority to your most important tasks or applications.

Setting High Priority for Apps and Network

Setting high priority for your preferred applications, alongside specifying network priority, can vastly improve the performance of these applications. Here, we will discuss ways to set an application to high priority in Windows 11 and how to adjust network priority using Windows PowerShell or the Control Panel.

Using Task Manager to Set Apps to High Priority

Task Manager, a system monitoring program available in all versions of Windows, including Windows 11, allows you to set certain applications to high priority. To achieve this:

  1. Open the Task Manager by pressing Ctrl+Shift+Esc.
  2. Navigate to the 'Details' tab.
  3. Find and right-click the process of the application you want to prioritize.
  4. In the context menu, hover over the 'Set priority' option and select 'High.'

In doing so, Windows will prioritize that application, improving its performance. Please note you can repeat this process for several applications as desired.

Changing Network Priority Using PowerShell or Control Panel

As mentioned earlier, you can use Windows PowerShell to change network priority by applying the following command: 'Set-NetIPInterface -interfaceIndex "current-ifIndex" -InterfaceMetric "current-InterfaceMetric".' Here, 'current-ifIndex' denotes the index of your preferred network adapter, and 'current-InterfaceMetric' is the metric value indicating the priority you wish to assign. Remember, lower metric values mean higher preference.

Alternatively, you can adjust the network priority via the Control Panel. Head to the 'Network Connections' options, as described in the previous sections, and select the 'Properties' of your desired network adapter. In the new window, double click 'Internet Protocol Version 4 (TCP/IPv)', click 'Advanced,' and finally uncheck the 'Automatic Metric' checkbox. Input your desired metric value and hit 'OK' to save changes.

Removing Automatic Metric Option and Setting Priority Manually

In Windows PowerShell and Control Panel methods, you can manually set network priority by deselecting or not utilizing the 'Automatic Metric' checkbox. By activating manual setup, you have more control over prioritizing your internet connections. For instance, if a wired connection is your preferred choice, assign it a lower metric value. Windows will then prioritize this network adapter even though it may automatically select Wi-Fi due to more robust signals or other factors.

In conclusion, managing priority for applications and network handlers is a must-know skill for any Windows user. It can significantly enhance the performance of your key applications and ensure the smooth running of your tasks. Whether gaming, downloading huge files, or running bandwidth-savvy applications, these settings allow you to customize your computer's preferences as per your needs.

Loading...