Soumya:
The best way to achieve this is to figure out which windows function is called when you take certain actions in the device manager. For example, when you right-click on My Computer and scan for hardware changes, a function is called from the windows dll. If you know which function is called for what you are trying to do, you can use the "Call Library Function Node.vi" in LabVIEW to call the windows dll.
I hope this helps and let me know if I can help further.
Best Regards,
Rudi N.