Is there any way to write a batch file in windows to read the status of a a device and enable it if it is currently disabled?
Problem is, some times when I start the windows, the audio device is disabled (I don't know why). So I have to go to device manager and right click on the audio device and select "enable". Therefore, I am planning to write a script or batch file to scan for the devices and enable the device automatically.
However I don't know the if windows commands supports such feature.