Automatically adjust volume for audio jack vs. built in speakers?

Solution 1:

I was able to figure out a solution based on the response to this question here:

I found another simple solution for this. If you have installed the Realtek software, open the Realtek HD Audio Manager , and check the " Disable front panel jack detection" option, under connector settings in the right side panel. The headphones and other audio devices work like a charm.

Although, when I went to the Realtek HD audio manager I had to click on "Device advanced settings" and then change the audio detector to "Multi-stream mode". That instantly separated the audio outputs for me.

Solution 2:

There is a way I tested on Realtek audio drivers and laptop Lenovo b51-30 80lk. No realtek drivers will help you ever. You need to use Microsoft drivers that came with the OS. In driver details it needs to say Microsoft as Provider, not Realtek. Then you will have separate headphones and speaker volumes! Tested on Windows 10 20H2. No other solution worked. No advanced settings in Realtek app, no program Ellp, no powershell script by github user PrateekKumarSingh. Also prevent future automatic driver updates by Automatic Updates by disabling it in gpedit (Computer Configuration -> Administrative templates -> Windows Components -> Windows Update -> Do not include drivers with Windows Updates: True) or System configuration (disable services: Background Intelligent Transfer Service, Windows Update, and maybe Windows Update Medic Service). This may be risky because then you won't have automatic updates. It should look like this: enter image description here enter image description here enter image description here