log what programs did the user open or use

Posted on 2004-11-17
Last Modified: 2010-04-05
Hi, could it be possible to keep track on the programs that the user use or opened by using a log file. for example   11/18/2004 - 8:30 am MSMIM.EXE.
Question by:aerokevs
    1 Comment
    LVL 6

    Accepted Solution

    Check out this site to get a snapshot of all running processes:

    you can get the start time of a process using GetProcessTimes  API.

    BOOL GetProcessTimes(

        HANDLE hProcess,      // process handle
        LPFILETIME lpCreationTime,      // when the process was created
        LPFILETIME lpExitTime,      // when the process exited
        LPFILETIME lpKernelTime,      // time the process has spent in kernel mode
        LPFILETIME lpUserTime       // time the process has spent in user mode

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
    Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    728 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