How to unplug device after installed by inf file?

Hi all,
I want to change my audio driver to unplugged state by default after install inf file.
Can I change something in my .inf file? Or run some command line to do this?
Regards.

What bigger problem are you trying to solve? Can you clarify what you mean by unplugged? That the mic is unplugged? That the device not show up in device manager? Is this a root enumerated device?

This is actually fairly easy. Your audio driver is required to support KSPROPERTY_JACK_DESCRIPTION to report the state of your jacks. If you don’t support that, Audio Engine won’t even talk to you. So, just set IsConnected to false in your default state. When you (presumably) get some event that represents “plugging in”, you just change that to TRUE and fire a KSEVENT_PINCAPS_JACKINFOCHANGE event. Audio Engine will then requery for the descriptors and your device will magically appear.