burritoincognito
Gawd
- Joined
- Sep 17, 2012
- Messages
- 767
I'm trying to find some way I can push out something via group policy (or PDQ Deploy, since it actually works reliably and repeatedly, rather than requiring pagan rituals and sacrifices to Cthulhu and just hoping for the best after 12 reboots) that will set our wireless devices to prefer the 5GHz band.
Intel cards, I can do it with this powershell script I found online.
But, against my express wishes, we've got a lot of computers that don't have intel cards. Broadcom (although I've got that down to about 20 systems, as I swap out every Broadcom POS with a 7260 or 7265 when it comes across my desk), and a lot of Marvell from when they thought Surface Pro 4s were the best thing ever...until they realized they're not. Unfortunately, I can't just swap out the wireless on those.
It does seem, however, that the Broadcom and Marvell WiFi drivers do give us the option to manually set the preference for 5GHz band. But, I want to just make that happen automagically.
Does anyone know of any scripts or group policies or anything else that might point me in the right direction?
Intel cards, I can do it with this powershell script I found online.
Code:
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
}
}
But, against my express wishes, we've got a lot of computers that don't have intel cards. Broadcom (although I've got that down to about 20 systems, as I swap out every Broadcom POS with a 7260 or 7265 when it comes across my desk), and a lot of Marvell from when they thought Surface Pro 4s were the best thing ever...until they realized they're not. Unfortunately, I can't just swap out the wireless on those.
It does seem, however, that the Broadcom and Marvell WiFi drivers do give us the option to manually set the preference for 5GHz band. But, I want to just make that happen automagically.
Does anyone know of any scripts or group policies or anything else that might point me in the right direction?