here is how for the android:
right click on My Computer and select properties
Go to advanced tab
Click on environment variables
Create a new system environment variable: devmgr_show_nonpresent_devices
set its value to 1
select device manager from the properties menu
select view and check "show hidden devices"
You should now be able to see something like "ADB Interface"
Select the Android device under it, right click and choose Uninstall
A popup window should allow you to check "Delete the driver
software for this device"
check the box and click OK
I expect the other should be somewhere in Control panel -> Programs and Features. Find it, select it and remove it.