Skip to content

Instantly share code, notes, and snippets.

@manueldev
Created December 19, 2023 22:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manueldev/548cd633484ec8b7d09fb47030bef35e to your computer and use it in GitHub Desktop.
Save manueldev/548cd633484ec8b7d09fb47030bef35e to your computer and use it in GitHub Desktop.
disable jack detection windows
I've seen several people ask this question, and I've figured it out myself so I figured I'd post it here.
In my case, I damaged my headphone jack, making it so windows wouldn't recognize that something was plugged in unless I pushed on the plug. This fix causes Windows to always give me access to my headphones, whether Windows thinks they're plugged in or not.
DISCLAIMER: This solution involves editing the Windows registry, which could totally screw up your computer if you don't know what you're doing. Proceed at your own risk.
Solution:
Uninstall your audio drivers until you have the Windows default audio driver installed. (High Definition Audio Device 10.0.15063.447 )
Press Windows Key + R
Type regedit, press enter
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0007\GlobalSettings
Right-click the REG BINARY EnableDynamicDevices, click Modify, and set it to 0
Reboot
Windows will now display your headphones as an available audio device, whether you have headphones plugged into the jack or not.
In order to undo this change, repeat the previous steps, but set EnableDynamicDevices to 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment