Answer the question
In order to leave comments, you need to log in
How to set default audio device in Windows via command line/script?
Windows has a sound control panel called by the mmsys.cpl command or from the Control menu.
This menu contains a list of devices connected to the PC and one of them can be selected as the default device. The devices connected are constantly the same, but can be reconnected. I would like to have a shortcut on the desktop that will assign a specific device as the default device, regardless of which one was installed at the time the shortcut was launched.
Google did not suggest how you can solve the problem with a script without involving third-party software.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question