Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detecting a USB connection event

Status
Not open for further replies.

drosten

Programmer
Mar 12, 2004
3
0
0
US
Our company has a tremendous amount of proprietary information stored on our LAN, and we want to protect it from rogue employees

who attempt to steal it. I want to create a tiny utility that does just 2 things:

1) detect when a USB mass storage device gets connected to the PC
2) unmount the device or otherwise disable it

This is in a Windows environment, primarily Win2k with a few NT and XP boxes. I'm a strong Win32 SDK developer but weak in DDK stuff.

I assume I'd have to create a Windows Service that subscribes to some sort of notification on volume mounting, but I don't know where

to begin. I need a non-.NET solution.

Can someone point me in the right direction?

Thanks,
:-David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top