https://learn.microsoft.com/en-gb/windows-hardware/drivers/devtest/devcon-rescan
This is the closest I've found, but I need a script to * autorun a hardware scan in device manager * every time the computer (the local machine, not a server-connected remote computer as in the example) start, since a soundcard systematically drops the connection after a reboot.
Thankful for help. As simple as possible, please, as I'm out of my depth already. Thank you!
Here's to refresh your synapses...
MS posted this as an example, but it refers to a different scenario (but, where the computers have the same issue): devcon rescan devcon /m:\Server01 rescan
How to adapt this code to successfully run a scan, and how to have that action trigger daily?
Example is from here: https://learn.microsoft.com/en-gb/windows-hardware/drivers/devtest/devcon-rescan