Tuesday 24 November 2009

How to Know When A Person Logs on to Windows?

Problem:
Imagine you have a Windows Service application which runs automatically when Computer starts.

You want to find out when a Person Logs on and Logs off in Windows so that you take further action against it.

Solutions:
1. Winlogon Notification Packages

If your Client PCs are in Windows XP and Windows 2003, you can use this option. It doesn't work for Windows Vista and later.


2. Windows Management Instrument
Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems.


To be continued...

No comments: