Shortcut to enable/disable a device in Windows

Solution 1:

You may use the Microsoft utility of Windows Device Console (Devcon.exe) to enable and disable drivers, and may create icons for these commands on the desktop.

This utility is part of the Windows Driver Kit, Visual Studio, or the Windows SDK for desktop apps. To avoid installing these heavy products, see the post Quick Method to install DevCon.exe?

To see an example of using Devcon, see the post Running the devcon.exe properly (enabling/disabling the device from command line in Windows 10) and also ss64.com.