New
#1
how to disable / enable devices using command line in Windows 10
Hello friends,
Prior to updating to 1803 my headphones/laptop speakers were working just fine. When I connect my USB headphones, audio automatically redirected to headphones but not any more (after updating to 1803). Now, I need to manually disable speakers after connecting headphones (vice versa for speakers) to make them work.
I'm more of a typing guy (text/command line etc.) than GUI so I would like to know how could I enable/device through command line. I tried DevCon tool ( DevCon Status | Microsoft Docs ) but when I run it says successful but it does NOT actually disable the device. Of course, I used "Elevated command prompt (admin)"
Any advise on how to disable/enable devices in Windows 10 command-line please? Thanks!!