cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
msperry
Engaged Sweeper
Is there a way to detect USB devices attached to the computer? For example. External devices like thumb drives, local printers, or even VOIP phones that the computer shares the internet connection with?
1 ACCEPTED SOLUTION
Susan_A
Lansweeper Alumni
The latest production release of Lansweeper (5.3) can already detect attached printers, USB drives, keyboards and mice for instance. Printers are listed on individual computer webpages under Config\Devices\Printer and drives under Config\Disk.

5.3 doesn't return a full list of all USB connected devices though. This feature will be added in the next Lansweeper 6.0 beta release, 6.0.0.10. If you're not on our list of beta testers yet, just send a quick email to support@lansweeper.com and include "beta" in the title of your message. We'll add you to our testers and notify you as soon as the new beta becomes available.

View solution in original post

2 REPLIES 2
ict-user
Engaged Sweeper III
You can use the DevCon.exe tool from the Windows Driver Kit.
https://msdn.microsoft.com/en-us/library/windows/hardware/ff544707(v=vs.85).aspx

Put the devcon.exe tool in the lansweeper shared folder.
Use the tool in an Deployment Package with Action type 'Command' and send the output to a shared folder on the lansweeper server.

\\{LanSweeper_server}\lansweeper$\devcon.exe find USB* > \\{Lansweeper_server}\lansweeper$\DevUSB\%COMPUTERNAME%_USBDevs.txt

devcon.exe find USB* : outputs all usb devices
devcon.exe listclass HIDClass : shows all Human Interface Devices
devcon.exe classes : shows all known classes on the computer
Susan_A
Lansweeper Alumni
The latest production release of Lansweeper (5.3) can already detect attached printers, USB drives, keyboards and mice for instance. Printers are listed on individual computer webpages under Config\Devices\Printer and drives under Config\Disk.

5.3 doesn't return a full list of all USB connected devices though. This feature will be added in the next Lansweeper 6.0 beta release, 6.0.0.10. If you're not on our list of beta testers yet, just send a quick email to support@lansweeper.com and include "beta" in the title of your message. We'll add you to our testers and notify you as soon as the new beta becomes available.