Is there a way to get an administrative alert / message when a specific user is logging on?
Announcement
Collapse
No announcement yet.
Logon alert
Collapse
X
-
Re: Logon alert
Hi !
If you're using logonscripts it's fairly easy:
put the following line to your user-logonscript:
net send [pc-xyz|user-xyz]%username%has
logged on
if you do not use user-specific logonscripts but a system-wide logonscript it takes some additional efforts:
put a file with the usernames you want to be alerted on in a line into the netlogon-(sub)dir
add something like the following lines to your logonscript:
findstr /i %username% file-with-username
if errorlevel nnn net send %username% has
logged on
We use scripts like that heavily with WinNT - please check for correct syntax (it's just "meta-code" to give you an idea)
Markus
Comment