Popular Post nickbro Posted February 2, 2011 Popular Post Posted February 2, 2011 (edited) Hi all, I was getting a bit fed up with teachers and students forgetting to remove their usb devices, so I've written a program that will warn them when the log off that they have USB Devices still connected, and provide a means of ejecting them individually. It even changes color for 10 seconds at the beginning just to get the users attention [ATTACH=CONFIG]9342[/ATTACH] The program should run as a normal user, even a restricted one as the script is running from program files (tested on RM CC3) The program can be downloaded from http://www.nbdev.co.uk/media/p/4123.aspx. You'll need .net 4 cp to run it. Install via Group Policy, and add a log out script pointing to c:\program files (x86)\Crickhowell High School\CHS USB Alert\USBAlert.exe. Parameters can be /nosound /timeout xx Edited February 2, 2011 by nickbro 9
MatthewL Posted February 2, 2011 Posted February 2, 2011 Would be interested in this, I will drop you a PM with my details.
linkazoid Posted February 2, 2011 Posted February 2, 2011 Hi Nick, Looks like another fantastic app by yourself. Will it work on vanilla setups? Thanks, Michael
glennda Posted February 2, 2011 Posted February 2, 2011 Hi Nick, Looks like another fantastic app by yourself. Will it work on vanilla setups? Thanks, Michael Same as this - would be really good if it did. Toby
nickbro Posted February 2, 2011 Author Posted February 2, 2011 Yep, it's just a .net 4 WPF application.
nickbro Posted February 2, 2011 Author Posted February 2, 2011 Note: Download Link Added USB Alert - nb development
rh91uk Posted February 2, 2011 Posted February 2, 2011 Thank you so much! A teacher actually emailed me asking if this was possible. Going to deploy this tommorow - thanks again!
plexer Posted March 1, 2011 Posted March 1, 2011 Is it possible to auto eject the device when they logoff and display your warning? Ben
nickbro Posted March 1, 2011 Author Posted March 1, 2011 Unfortunately not. When I had v1 it was but v1 would only run as an admin. I changed the code to use the Windows Device Eject dialogue instead of a custom one to allow it to work as a standard user
Arthur Posted March 1, 2011 Posted March 1, 2011 Is it possible to auto eject the device when they logoff and display your warning? I haven't tried it myself yet, but I think you could use the OnUserLogoff event in USBDLM to run USB Device Prompter (or RemoveDrive).
Rick-y Posted March 21, 2011 Posted March 21, 2011 Hi there, nice but a simple copy of usbalert on USB Alert - Introduction - Don't forget your USB stick or the download page A con of nb's tool is the .net framework. You let the users install the .net framework. USB alert on USB Alert - Introduction - Don't forget your USB stick is not depending on the .net framework en talks directly to the windows API's. So, therefore you can put the small tool on your usb stick and activate it by autorun. Just look at http://windows7migration.info or 4sysops.com Good luck!!!
LosOjos Posted March 21, 2011 Posted March 21, 2011 Hi there, nice but a simple copy of usbalert on USB Alert - Introduction - Don't forget your USB stick or the download page A con of nb's tool is the .net framework. You let the users install the .net framework. USB alert on USB Alert - Introduction - Don't forget your USB stick is not depending on the .net framework en talks directly to the windows API's. So, therefore you can put the small tool on your usb stick and activate it by autorun. Just look at http://windows7migration.info or 4sysops.com Good luck!!! nickbro's program looks much more user friendly, and most machines will have the .net framework installed as a matter of course. Add to that he's a respected member of the community and not a one time poster, and I think I'll stick with nickbro's program, thankyouverymuch
somabc Posted March 21, 2011 Posted March 21, 2011 Very nice, although it would be helpful not to install it in Crickhowell High School in Program Files! Good Work!
LosOjos Posted March 22, 2011 Posted March 22, 2011 aha friend-politics :-) I'm up to 3 posts...! It has nothing to do with "friend politics" and everything to do with a new poster coming in and immediately disregarding the work of an obviously well thought of member, while simultaneously posting a link to a non-too-professional looking website full of bad grammar and spelling mistakes. Now, as an IT professional, I am much more likely to download program created by a trusted member of this community than a program from a link posted by a brand new member. It screams SPAM and potentially also virus infected software. /rant In short, if you're not just a random spammer, get to know the community, show that you're not one of the (many) people who sign up just to spam, and then we'll all take you more seriously
nickbro Posted March 22, 2011 Author Posted March 22, 2011 Hi there, nice but a simple copy of usbalert on USB Alert - Introduction - Don't forget your USB stick or the download page A con of nb's tool is the .net framework. You let the users install the .net framework. USB alert on USB Alert - Introduction - Don't forget your USB stick is not depending on the .net framework en talks directly to the windows API's. So, therefore you can put the small tool on your usb stick and activate it by autorun. Just look at http://windows7migration.info or 4sysops.com Good luck!!! Most networks, like mine, block exes that are not installed on pcs, and are not in the allow list. Exes on pen drives are BLOCKED for security reasons. 1
CharlieGreen Posted June 4, 2012 Posted June 4, 2012 Hey Nick, Sorry to drag up an old thread, But was wondering if you could update the download link as it does not seem to be working here at the moment. Thanks
FN-GM Posted September 24, 2012 Posted September 24, 2012 Hi Nick, As soon as the app runs it crashes right away. Any thoughts please? Thanks
Arthur Posted September 24, 2012 Posted September 24, 2012 As soon as the app runs it crashes right away. Are you trying to run it from a network share?
cybergoldfish Posted August 21, 2015 Posted August 21, 2015 Sorry to dig up an old thread... Just trying to set this up on our network but there seems to be a bug. If a user pulls their usb drive out of the computer whilst the alert is on screen, the program crashes.
psumner1992 Posted February 13, 2019 Posted February 13, 2019 Sorry for bringing up an old post, just wondering if anyone has this working successfully on Windows 10? When we try to run this at log off it seems to be running in the background when logging off as we can hear it but cannot see the box. Any ideas?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now