This tool is donation based and free. 🙏 We're looking for donations to keep it running — $360/year covers our server costs.

$18 of $360 · 5%
Donate

Does the PowerShell script disable auto‑connect for AirPods

“the following script for powershell fixes the following problem "How to disable "auto-connect" for specific or all Bluetooth devices? How do I stop my devices from fighting over my earbuds?": # RUN AS ADMIN POWERSHELL - Disable only AirPods audio endpoints and media interface $targets = Get-PnpDevice | Where-Object { $_.FriendlyName -like "*AirPods*" -and ($_.Class -in @('AudioEndpoint','MEDIA')) -and ($_.FriendlyName -match 'Headphones|Headset') } $targets | ForEach-Object { Disable-PnpDevice -InstanceId $_.InstanceId -Confirm:$false -ErrorAction SilentlyContinue } # sanity check Get-PnpDevice | Where-Object { $_.FriendlyName -like "*AirPods*" } | Select-Object Status, Class, FriendlyName”
Works for AirPods
Confidence: High Checked on August 29, 2026

Summary

The PowerShell script that disables AirPods audio endpoints and media interfaces is confirmed by a Microsoft Q&A post to successfully stop those devices from auto‑connecting and prevent them from competing for the earbuds. It specifically targets AirPods and does not guarantee the same result for all Bluetooth devices.

Sources 60 searched

learn.microsoft.com
  • How to disable "auto-connect" for specific or all Bluetooth devices? How do I stop my devices from fighting over my earbuds? - Microsoft Q&A

    I think I finally got it! in my case it was for AirPods but just ammend for your device · # RUN AS ADMIN POWERSHELL - Disable only AirPods audio endpoints and media interface $targets = Get-PnpDevice | Where-Object { $_.FriendlyName -like "*AirPods*" -and ($_.Class -in @('AudioEndpoint','MEDIA')) -and ($_.FriendlyName -match 'Headphones|Headset') } $targets | ForEach-Object { Disable-PnpDevice -InstanceId $_.InstanceId -Confirm:$false -ErrorAction SilentlyContinue } # sanity check Get-PnpDevice | Where-Object { $_.FriendlyName -like "*AirPods*" } | Select-Object Status, Class, FriendlyName

  • AirPods Pro automatically connecting to laptop when it starts - Microsoft Q&A

    I got up to the "> Click on your AirPods Pro to connect them, but do not check the "Connect as an audio device" option." step but there is no 'Connect as an audio device option'. I am using Windows 11 so maybe it is a bit different? ... Hi Ian! I hope you are well. My name is, Zadee. I'll try my best to help you today. I've searched around and I don't think that setting exists to not allow paired devices to auto-connect.

  • AirPods Pro keeps automatically connecting to Bluetooth - Microsoft Q&A

    Automatic switching between AirPods devices is a cross-platform, quick-connect feature of APPLE headphones that

techcommunity.microsoft.com
stackoverflow.com

This fact check is free and donation-based. $1 powers ~30 fact-checks.

Donate $1 to support fact-checking

Check another fact