Announcement

Collapse
No announcement yet.

Logon alert

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Logon alert

    Is there a way to get an administrative alert / message when a specific user is logging on?

  • #2
    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


    • #3
      Re: Logon alert

      Thanks, I'll give it a try.

      It was just a single user on wich I wanted to have a reminder, so if there was a simple way, but maybe your idea can be used to make a setup for another time.

      Comment

      Working...
      X