To disable an output device on Windows 11, use these steps:
- Open Settings.
- Click on System.
- Click the Sound page on the right side.
- Under the "Output" section, click the Speakers setting.
- Under the "General" section, click the Don't allow button for the "Audio" setting.
- Click the Don't allow button again.
Once you complete the steps, Windows 11 will no longer play sounds on that specific set of speakers, headsets, or headphones.