Intel adapter settings

Change adapter settings directly in the registry with PowerShell

Get-ChildItem HKLM:\SYSTEM\CurrentControlSet\Control\Class -Recurse -ErrorAction silentlyContinue | Get-ItemProperty | ForEach-Object {

if  ($_.RoamingPreferredBandType -ge 0) {

$path = $_.pspath

Set-ItemProperty $path -name "RoamingPreferredBandType" -Value "2"

write-output $_.pspath

}

}

 

Basically you would need a separate set-itemProperty for each property you would like to set on the NIC and a bit of research into what the value on the adapter translates to in the registry, but it should be pretty straightforward.

 

Intel Driver Property Registry Key Name Type  Value  Other values 
802.11n Channel Width for 2.4GHz ChannelWidth24 REG_SZ 1 Auto = 1; 20 MHz Only = 0
802.11n Channel Width for 5GHz ChannelWidth52 REG_SZ 1 Auto = 1; 20 MHz Only = 0
Mixed Mode Protection CtsToItself REG_SZ 0 RTS/CTS Enabled = 0; CTS-to-self Enabled = 1
Roaming Aggressiveness RoamAggressiveness REG_SZ 3 0 (Lowest) - 4 (Highest)
Preferred Band RoamingPreferredBandType REG_SZ 2 0 = No Preference; 1 = 2.4GHz; 2 = 2 5GHz 
Wireless Mode WirelessMode REG_SZ 18 802.11b = 0; 802.11g = 16; 802.11a = 17; 802.11a/g = 18; 802.11b/g = 32; 802.11a/b/g = 34