473,799 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Log of Logons and Times

Is there a way to find out when someone logs into a computer and when they
logoff?

I want to see when an employyee has been logging in and out for the last
past month.

Is that possible?
Nov 16 '05 #1
2 1581
Hi César,

If you enable auditing for logon events, sure. However, this requires a
Server operating system and probably Active Directory. Using only windows
xp you can still audit file access, but I'm not sure if you can audit
logon events.

Read the event logs to see the auditing results.

--
Happy Coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2
Hi,

In Windows XP (and probably 2000 and NT) you can view auditing policies
under All Programs ->Administrati ve Tools->Local Security Policy, then
navigate to Local Policies and Audit Policy. There're options there on what
are logged. The Event Viewer (also under Admin Tools) displays logs. If
you're on a network things will be different, and if auditing's off I don't
believe there's any record kept of times. There're probably more appopriate
newsgroups for this to do with specific OSs.

If you meant "How can I write a program to record logons?", this probably is
a good newsgroup, and I don't know the answer :-)

Steve

"César Santos" <Csar Sa****@discussi ons.microsoft.c om> wrote in message
news:86******** *************** ***********@mic rosoft.com...
Is there a way to find out when someone logs into a computer and when they
logoff?

I want to see when an employyee has been logging in and out for the last
past month.

Is that possible?

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1897
by: Dennis Bronstein | last post by:
What is the best way to limit logons to a website? We assign a user ID and password to each user. These are stored in the database (SQL Server). We want to do two things: 1. Only allow one person to use a specific user ID at a time. So if I log on as user ABC and then someone else tries to logon as ABC, they will not be allowed to logon. 2. Limit the total number of users logged on at a given time. So say there are 10 users and...
5
2756
by: Bruno Mendonça | last post by:
My boss asked me to build a program to create a report with logon/logoff events for all users within our windows domain. I'm using .Net to do so and decided to have a program running on the Domain Controler to listen to all new events and send them to a database. This last part I haven't worked on yet, cause I can't tell which events are relevant to write to the db and which are not. I have managed to listen to all the security log...
6
6680
Ali Rizwan
by: Ali Rizwan | last post by:
Any body knows how to make bootscreens and logons for XP without using any software. And how to apply Help
0
4834
Nepomuk
by: Nepomuk | last post by:
OK, let's do it! Prepare the picture Create a bmp picture, size 640 x 480, 16 Colors. MS Paint can save pictures in that format, many other graphic editors can do it too. Name your picture "boot.bmp" and copy it to your Windows folder (e.g. "C:\Windows\".
0
9550
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10495
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10269
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10248
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7573
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4148
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.