Solved

Windows Login

Posted on 2008-10-08
6
124 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
6 Comments
 
LVL 59

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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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 59

Accepted Solution

by:
Kevin Cross earned 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now