I do this by getting the logon script to maintain a log file on the server
for every user who logs on, recording the following details:
- Date, time
- User name
- Computer name
- Local or remote logon
This approach has several advantages:
- It tells you exactly who logs on where and when.
- It is controlled centrally. There is no need to launch a script locally.
- You do not need to rely on users responding to a message (they do not!).
You will know without asking them.
- The log file is a valuable source of information when you have security
concerns, e.g. log ons outside business hours, remote logons, logons on the