Server login notification

Posted on 2010-08-17
Last Modified: 2012-05-10
I am looking for a software which triggers an email alert everytime a user is trying to logon to a particular server.

I need to know who has logged in to which server, at what time etc. and want this app to be transparent to the user.

I have around 20 servers and want to keep a tab on who is logging on which server etc.

All servers Windows 2003

Question by:Fadal
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 17

Accepted Solution

sgsm81 earned 250 total points
ID: 33453278
I use this code to log all logon attempts to our terminal server (created a \\SERVERNAME\LOGS$\ share) then this writes usernames as well as date/time of logon to a text file called LogOns.log.

This could be coupled with an additional command to e-mail the log file using telnet for instance. ?
rem Log on script
If Exist "\\SERVERNAME\logs$\LogOns.Log" GoTo START1
Echo Log File > "\\SERVERNAME\logs$\LogOns.Log"
Echo. >> "\\SERVERNAME\logs$\LogOns.Log"
Echo ------------------------------------------------------ >> "\\SERVERNAME\logs$\LogOns.Log"
Echo Log On:  %USERNAME%  %COMPUTERNAME%  %Date:~0,12%  %Time:~0,5% >> "\\SERVERNAME\logs$\LogOns.Log"

Open in new window


Assisted Solution

MaSTeRiTo earned 250 total points
ID: 33453322
To email me things I use postie from infradig ( which is free for personal or non commercial use and has a very small fee for small commercial use.

In my login script I write to a log file simulair like sgsm81 and then have that emailed to me.

I could write you the whole bunch, but you proberbly want it your own way.

Postie should be able to help you

Good luck.
LVL 33

Expert Comment

ID: 33453880
i use eventsentry.  it has some nice monitoring software for login and file/folder access.  you can log it to a database and/or set alerts.  for all that it does, the cost is low.
LVL 33

Expert Comment

ID: 33453881
i use eventsentry.  it has some nice monitoring software for login and file/folder access.  you can log it to a database and/or set alerts.  for all that it does, the cost is low.
LVL 74

Expert Comment

by:Glen Knight
ID: 34689888
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Active Directory Upgrade from 2008 to 2012 21 53
ADFS Setup 4 42
Windows 2012 R2 DNS ListenAddresses Null Value 4 31
Windows 10 ISO build version 3 43
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question