Solved

Monitoring USB license key removal

Posted on 2014-07-22
2
374 Views
Last Modified: 2014-07-30
I have 12 workstations running a very high-end machining application. The software's license manager detect the presence of USB key with a license number... I would like to be notified by email whenever any of these USB devices  are removed or inserted. The workstations are all Windows 7, the security key's are USB Hasplsm running a Sentinel driver. I suspect Powershell is the best option for reporting this. Any thoughts or suggestions?
0
Comment
Question by:Lee Ingalls
2 Comments
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 40211877
Hi.

Powershell can do a lot, but here I would use blat.exe command line mailing in conjunction with event triggered tasks.
Like this: USB drive inserted ->windows creates an event->that event triggers the mailing task.

I have done this before but with win8.1 and USB mass storage keys. It does work similar with win7, see http://superuser.com/questions/219401/starting-scheduled-task-by-detecting-connection-of-usb-drive where it says "It should be quite easy using EventVwr" - maybe that works for the HASP keys as well.
0
 
LVL 8

Author Closing Comment

by:Lee Ingalls
ID: 40228854
Thank you McKnife!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines the process to identify and resolve account lockout in an Active Directory environment.
In this increasingly digital world, security hacks are no longer just a threat, but a reality. As we've witnessed with Target's big identity hack 2013, Heartbleed in 2015, and now Cloudbleed, companies and their leaders need to prepare for the unthi…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question