The jack detection feature in Windows 7 can be slightly annoying if you have an app that relies on an audio device continuously and would not appreciate it if the device disappeared in mid execution.
Since no documentation is available on google (yet..) i decided to save you the extra frustration and post a solution here. Its a little hard core, but works great.
Most posts available relate to disabling it if you have a Realtek HD driver. I dont. and needed a more generic solution. So here it is :
Simply put – just need to change one registry value, and thats it.
go to this key:
and change the value
EnableDynamicDevices to zero.
restart your system.
more info : you can have a different value for each control set ( a control set is mapped to a windows ‘configuration’). The entry current control set is always mapped to the active configuration.