Devcon.exe -

devcon status * | find /i "non-operational"

devcon disable *net* devcon enable *net* devcon.exe

devcon [/?] [/r] [/m:\\<computer>] <command> <arguments> devcon status * | find /i "non-operational" devcon