I want to know when I login to a computer or domain. I want a pop up show me who has been logged on before me and what time he was logged on and date. By using Group Policy Script.
I've got a simple batch file set as a logon script for users via group policy:
I've set the share as hidden too (not ideal, but better than nothing if you're worried about security).
Regarding the "popping" up, you'd have to look into that one...
add to that batch %computername%
take that text file and parse it with a vbscript using regex to find the line with a %computername% that matches the machine the user is logging onto. then have the vbscript do a console.writeline of that line from the txt file. visualbasicscript.com has some good examples, just search for it there.