Thanks for checking this out.

some students in my Computer Science class continue to shut off other students computers by entering a string of code in the Run program. This is very annoying, as I have lost my work multiple times. I was wondering if there was a way i could create a program that would track which computer had run the shutdown code. Or track the persons login name and save it to a txt document and such. I am trying to figure out a way this could work, however brainstorming might help me.

Thank you for your time. cheers.