Avatar of Math Tec
Math Tec
Flag for United States of America asked on

Notification when someone login locally or remotely to the server

Hi,

We have windows server 2008R2. Is there any way that the server sends an email with login details (IP address, location,...etc) when someone login locally or remotely to the server? Or is there any application can do that if this is not doable in server features?

Thanks
Email ServersWindows OSWindows Server 2008

Avatar of undefined
Last Comment
Adam the 32-bit Aardvark

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jose Gabriel Ortega Castro

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Adam the 32-bit Aardvark

Sending an email whenever someone logs in will require some heave scripting. You can; however, use the Get-EventLog cmdlet to return  all login and logoff events for the server. Here is a guide on how to do this:
How to check event logs with PowerShell
Your help has saved me hundreds of hours of internet surfing.
fblack61