You got :good:. universal serial bus devices driver installation worked. previously i have installed android device driver which given me that error.
By the way you note one thing: if mobile is in fastboot mode then adb command will not work. only fastboot command will work.
FYI: I am an android...