Make htc desire work with adb

Browse to C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver

Make sure you can write to android_winusb.inf   (properties, security, edit right for users to modify the file).

Right below [Google.NTamd64] add lines:

;HTC Desire
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87&MI_01

Go to control panel and open device manager

Choose adb(one with yellow exlamation mark), right click and choose Update Driver Software

Choose Browse my computer for driver software

browse to C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver (include subfolders is checked)

press next, click yes on are you sure for unsigned driver

adb devices will now find your device.