Solved

Can you monitor server logins for all accounts that are not on the local network?

Posted on 2011-02-28
15
285 Views
Last Modified: 2012-05-11
I want to be able to know what accounts are login/logged out from outside the local network. Is there a way to send alerts or log this? I know event viewer logs all types of logon/logoff and their login type so I assume someone out there has a app that monitors this.

Also, can I monitor the IP, computer name, or anything else with external logon/logoffs. Same goes for all logons that are unsuccessful.
0
Comment
Question by:rpmccly
  • 9
  • 6
15 Comments
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 35003851
essemtially you want to enable auditing...do you have SBS 2003 or SBS 2008?
0
 
LVL 1

Author Comment

by:rpmccly
ID: 35006730
SBS 2003
0
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 35006791
HOW TO: Audit Active Directory Objects in Windows Server 2003
http://support.microsoft.com/kb/814595
This step-by-step article describes how to use Windows Server 2003 auditing to track user activities and system-wide events in Active Directory.

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:rpmccly
ID: 35006837
Great, I won't be able to get to this today, I will let you know when I get a chance.
0
 
LVL 1

Author Comment

by:rpmccly
ID: 35021957
ok I looked intot he auditing. I'm able to audit specific accounts but there is so much that I can choose from that I have no idea what to choose. Basically, all I want to monitor is whether or not someone has success or fails to login with the administrator account. Is this logged in the event viewer > security? Is it possible to do this in its own place?
0
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 35022095
Event ID 529 is logged when there are unsuccessful login, regardless of the account
But in auditing you select to just audit logon events

Otherwise you are looking at 3rd party tools

Is there something going on that you're trying to figure out.?
0
 
LVL 1

Author Comment

by:rpmccly
ID: 35022216
we had an issue in the past with a prior employee but I just thought it would be nice to know if someone accessed the server successfully that wasn't supposed to. I could sort through the event viewer every day but thats just not worth it since we aren't having any issues. Ideally, I would want to be sent an email if someone was able to login to certain accounts during off-peak hours.
0
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 35022274
you might take a look at this question and the Assisted solution as one option
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_22011987.html

So basically it's going to come down to writing something or purchasing a third party product designed to do something more in depth..
0
 
LVL 1

Author Comment

by:rpmccly
ID: 35036645
Ok, where do I edit the script? Here is a copy and paste of what I am talking about.

-I add a few lines to the users logon script to create a file which records  UserName, ComputerName, date and time in a simple single line, and the IP from which they connected. As written below it will create the log/text file in \\Server\Logs\LogOns.Log and the entries will look like:
Log File
Log On:  UserName ComputerName  Fri 09/30/20   8:07  
  TCP    10.0.1.100:3389        10.0.33.100:4267        ESTABLISHED
{Where 10.0.1.100 is the computer IP and 10.0.33.100 is the remote user's IP}
---------------------------------------------------------------------------
:Logging
If Exist "\\Server\Logs\LogOns.Log" GoTo START
Echo Log File > "\\Server\Logs\LogOns.Log"
:START
Echo Log On:  %USERNAME% %COMPUTERNAME%  %Date:~0,12%  %Time:~0,5% >> "\\Server\Logs\LogOns.Log"
Netstat  -an  |find  "3389"  |find  /I  "established"  >> "\\Server\Logs\LogOns.Log"
---------------------------------------------------------------------------
Note the user will need write privileges for the \\Server\Logs\LogOns.Log folder, or at least the file name.

0
 
LVL 1

Author Comment

by:rpmccly
ID: 35036652
All I can do is choose success or fail under "Audit account logon events" - not sure where I can edit the script.

0
 
LVL 1

Author Comment

by:rpmccly
ID: 35036658
Also, can I do this for a single account? I don't want all logs for every account on the domain, just the admin account.
0
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 35037245
No, with the built in tools, it's an all or nothing situation.
There are plenty of 3rd party tools available that can give you more granular reporting...that may be the way you'll have to go
0
 
LVL 1

Author Comment

by:rpmccly
ID: 35037261
Okay, do you have one in mind that would is good?
0
 
LVL 35

Accepted Solution

by:
Cris Hanna earned 500 total points
ID: 35037354
you can do a google search for "monitor AD logins" and you'll get many results like this one
http://www.manageengine.com/products/ad-manager/index.html
0
 
LVL 1

Author Closing Comment

by:rpmccly
ID: 35149141
It works but its expensive...
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

The articles for turning off the Client firewall policy on the internet are for SBS 2008 and don't really help for SBS 2011. They actually moved the Client firewall policy. In 2011, the client firewall policy has moved to the SBS computers conta…
You may have discovered the 'Compatibility View Settings' workaround for making your SBS 2008 Remote Web Workplace 'connect to a computer' section stops 'working around' after a Windows 10 client upgrade.  That can be fixed so it 'works around' agai…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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