[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Windows Login

Posted on 2008-10-08
6
Medium Priority
?
137 Views
Last Modified: 2010-04-23
Is there a way to keep a log of Windows Logon in Domain enviroment in vb.net? This will be for the entire company. Their user name and time they logon will be store in MS-SQL.  Is this a possible thing to do? I want to know where to read it from. I can read from logon event, but that is way to much. I don't really need to see the code right now. Any thoughts for you, Experts ?
0
Comment
Question by:VBdotnet2005
[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
6 Comments
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 22675451
You could read the security logs of your domain controllers.
0
 

Author Comment

by:VBdotnet2005
ID: 22675667
is that the only way?
0
 
LVL 1

Expert Comment

by:FireMelon
ID: 22675697
Logon script which enters the username into a DB perhaps?
String user = SystemInformation.UserName

Open in new window

0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 15

Expert Comment

by:JackOfPH
ID: 22675706
Create a program that will capture the username of the log person.
Then run the program everytime the user login.
0
 

Author Comment

by:VBdotnet2005
ID: 22675803
JackOfPH,
That is what I am trying to do.   Lets say, when they hit "Ctrl, Alt, Delete" to log in, is there are way to capture it? And how about the idle time?
0
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 2000 total points
ID: 22675895
Sorry for my earlier comment as I thought you wanted to burn logs from servers to database.

The other two suggestions are based on using Active Directory login scripts to trigger your .NET code; however, it sounds like you want this to fire even on the unlock which doesn't re-run login script.  

For the idle time, it would not matter in the former solution as it triggers on login and optionally logout, but not in between.

Kev
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

649 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