Quantcast
Channel: Intel Communities: Message List - Wireless Networking
Viewing all articles
Browse latest Browse all 15514

Re: Setting Preferred Band to 5ghz

$
0
0

I know this is an old post, but I wanted to give anyone who happens to come upon this post while searching for a way to do this some help.

 

You can easily script this setting.  You just need to search the Registry for the value "RoamingPreferredBandType" and change it to "2".  Here is code that you can use in a simple batch file to do this:

**Start Copy Below**

@echo off

set iwifi=

FOR /f "usebackq" %%i IN ('reg query HKLM\SYSTEM\CurrentControlSet\Control\Class /v RoamingPreferredBandType /s^|find "Class"') DO set iwifi=%%i

if "%iwifi%"=="" goto bye

reg add %iwifi% /v RoamingPreferredBandType /t REG_SZ /d 2 /f

set iwifi=

:bye

exit

**End Copy Above**

 

You need to do a search because there will be a key in the path that is a GUID that will be different depending upon what hardware is installed.


Viewing all articles
Browse latest Browse all 15514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>