August 9, 2007

How to develop a program that monitors when you Log Off of a computer so it can post a reminder, etc.?

I seem to forget my USB key on computers in university labs, and it's caused me to lose a couple already. I may be forgetful, but I would like to make a program that would monitor when I click Log Off on a windows machine and either display a message telling me to remove my USB key, or stop me from logging off so I can.

  1. I don't know where I would find this kind of functionality, and NO, I don't have Admin privileges, so I can't do something as nice as this:
  2. I should also mention that the computers I generally plug in to have autoplay already set up and as far as I've seen, the programs that I do have set up to autoplay on my usb key have always started without my prompting.

    I'm looking for something specific related to either .NET development or Win32 APIs that I could look up related to monitoring Log Off on computers. I don't know quite where this is watched, but I would imagine that there's a good chance it's something that I could subscribe to using delegates, I just don't know where. And then again, I could be way off.

    I know Symantec Antivirus will tell you to remove a floppy disk from the drive when you click shut down, so I know it can be done, I just don't know how deep into the system I need to be in order to get this type of functionality.

  3. http://4sysops.com/archives/never-forget…
  4. Anything is possible, but a lot will depend on your level of expertise in regards to software development and what language you would like to develop this in.

    But even more important that that is since you will not have Admin authority, you would have to manually execute this program. Where I see this as a problem is the fact that you admitted that you tend to forget to remove the USB drive when logging off… if you cannot remember to do that, then I would have to say you will tend to forget to execute your application when you plug the USB in… in which case, it will not be executing to remind you on logoff to remove your drive.

  5. How about a simple jpeg to leave on your desktop that has the text "DONT FORGET YOUR MEM STICK!!!" When you close out of your apps, youre bound to see it.
  6. I'd probably do something like edit my USB Key's Autorun.inf setting this program as the startup program.
  7. P.S. I also deal alot with logging off of Novell systems, so this might make the Log Off button work differently. I don't know how that would change things, but hopefully it wouldn't.
  8. What can I do? Does something like this already exist?

Tags: ,

Tell a Friend Today!

del.icio.us Digg Furl Reddit Ask BlinkList blogmarks Blogg-Buzz Google Ma.gnolia Netscape ppnow Rojo Shadows Simpy Socializer Spurl StumbleUpon Tailrank Technorati Windows Live Wists Yahoo! Help

Permalink • Print • Submit Your Answer

Trackback uri

http://www.123linux.com/novell/how-to-develop-a-program-that-monitors-when-you-log-off-of-a-computer-so-it-can-post-a-reminder-etc/trackback/

Track this entry

RSS BlogPulse

RSS Technorati Cosmos

Related Searches

, , , ,


Submit Your Answer Here

You must be logged in to post a comment.