Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 154
  • Last Modified:

Get a mail when a user loggs in

Hi,

I want a script with which i can be informed that the user i am searching from a long time has come to office and logged in his machine.

Is there any way that i can be informed through a mail when some specific users login to any machine in the network.

Regards
Sharath
0
bsharath
Asked:
bsharath
  • 3
  • 3
1 Solution
 
itquestionsCommented:
There are several ways to do this, but no simple solution.  The easiest is to move all the old users to a separate OU and put a group policy on that folder.  M$ describes the procedure here:
http://support.microsoft.com/kb/814595

I have used this to audit user accounts in the past.  It works well, but note that the network will have more traffic if the OU that these policies are on contains many user accounts.
0
 
bsharathAuthor Commented:
I cannot disturb the machines as already they are sorted for a different reason.

I am particular about getting a mail when a user loggs in.
0
 
RobSampsonCommented:
Sharath, have you used a log in script, that I've described a couple of times before, that logs to a text file for every user that logs in?  This way, you could just check that user's text file to see when they last logged in.....

Regards,

Rob.
0
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

 
bsharathAuthor Commented:
Rob if you have it can you share the script...
0
 
RobSampsonCommented:
0
 
bsharathAuthor Commented:
So i need to use this as a logon script?

0
 
RobSampsonCommented:
Yeah, as long as your users can write the UNC location specified, then upon logon, they'll be recording where they log on, and when....

Regards,

Rob.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now