Is it possible to prevent the default device changing to my device when my driver installs on Windows

Ayden Wilson 26 Reputation points
2021-01-13T21:25:09.7+00:00

I am creating a driver for a virtual audio device. When my driver installs Windows automatically changes the default device to my device. Is there a way to prevent this from happening in the driver or the installer?

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,551 questions
0 comments No comments
{count} vote

Accepted answer
  1. garydan 81 Reputation points Microsoft Employee
    2021-01-19T21:36:53.42+00:00

    If you set the following property key from within the driver INF it will block the device from ever becoming the windows default.

    https://learn.microsoft.com/en-us/windows-hardware/drivers/audio/pkey-audiodevice-neversetasdefaultendpoint

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful