Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Administrator login nofitication

Posted on 2013-06-26
7
Medium Priority
?
168 Views
Last Modified: 2013-08-21
I want to be notified via email if someone logs in using the administrator account to either the server or exchange.   I don't want to parse logs.  I want it to be auto-magic...How can I set this up?

Windows Server 2008 with all patches and using Exchange 2008

Thanks in advance..
0
Comment
Question by:aviator21114
[X]
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
  • 4
  • 3
7 Comments
 
LVL 27

Expert Comment

by:Jason Watkins
ID: 39277951
At some point a log or two may have to be parsed. This page covers a method using a login script

http://community.spiceworks.com/topic/200563-send-an-email-alret-whenever-domain-admin-has-loged-in-in-any-macchine
0
 

Author Comment

by:aviator21114
ID: 39278079
Just to be clear I want to trigger an email when someone uses the administrator "administrator" login not necessarily when someone logs in who is an administrator.
0
 
LVL 27

Expert Comment

by:Jason Watkins
ID: 39278104
Right. Change the scope of the script to target the administrator account and not the domain admins group. You could obfuscate the administrator account for added security by renaming it to something else.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

Author Comment

by:aviator21114
ID: 39278221
Could you post details on your comment?  I'm not sure I follow it completely.... also, thank you for your prompt reply to my query..
0
 
LVL 27

Accepted Solution

by:
Jason Watkins earned 1500 total points
ID: 39278237
~~ From the web-site ~~

Create new GPO
Under Security Filtering add User or group
Create / Add VBS script to login script (code below)

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\
' A login Script to email the current username and computername to an email address.
'-------------------------------------------------------------------------------
' Initialization - Get command line arguments and declare variables & constants
'-------------------------------------------------------------------------------
Option Explicit
Dim objEmail
Dim mbAnswer
Dim attFName
Dim oShell
Dim user
Dim comp

'-------------------------------------------------------------------------------
' Main script
'-------------------------------------------------------------------------------

Set oShell = CreateObject( "WScript.Shell" )
user=oShell.ExpandEnvironmentStrings("%UserName%")
comp=oShell.ExpandEnvironmentStrings("%ComputerNam e%")

' Create the message object using CDO
Set objEmail = CreateObject("CDO.Message")


' change the 5 lines below to the crrect settings for your system
' probably only the first, second and last actually need changing, (2 * Email address, Exchange server name)
' the other 2 lines are just for customisation.
' Assign message properties (To, From, Subject, etc.)

' The addres you want to be sending from
objEmail.From = "user@domain.co.uk"
' The addres you want to be sending to - the admin monitoring group
objEmail.To = "imonitoryou@domain.co.uk;yourbossmonitorsyou@domain.co.uk;Hr @domain.co.uk"
' The text to appear in the subject of the email
objEmail.Subject = "Domain Admin monitoring Network Logon"
' The text body of the message. Currently shows which user has logged in to which machine no.
objEmail.Textbody = "User " & user & " Has Logged in to machine no " & comp
' change the myexchservername to the network name of your exch server.
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver";) = "Exchange Server Name"
' Assign additional message properties, update the object, and send the message
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing";) = 2
objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport";) = 25
objEmail.Configuration.Fields.Update
objEmail.Send
0
 

Author Comment

by:aviator21114
ID: 39278316
Thank you... let me digest this
0
 
LVL 27

Expert Comment

by:Jason Watkins
ID: 39278326
Sure. It can be alot to take in
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

661 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