how can i see the execution of .exe file? dates and hours

Sergio Parra 0 Reputation points
2025-03-04T16:01:07.5266667+00:00

how can i see details dates and hours of execution of .exe or .cmd files?

Microsoft 365 Developer Program
Microsoft 365 Developer Program
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.Developer Program: A Microsoft program designed to help developers build cross-platform productivity experiences by giving them access to a developer subscription, sample data packs, documentation, training, experts, recommendations, and community events.
89 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 57,216 Reputation points
    2025-03-04T16:16:12.2766667+00:00

    If you are asking how you can get an audit log of when programs were run, you can't. This isn't something Windows tracks by default. However you can enable the auditing of this by going to GPO and then to Computer Configuration \ WIndows Settings \ Security Settings \ Local Policies \ Audit Policy. If you enable Audit process tracking then Windows will track process-related events such as the creation of a process.

    Be warned though that this also audits a lot of other process events that you aren't going to want. AFAIK there is no way to filter this. Furthermore there are literally hundreds of processes that are started during the life of a user login so the audit logs are going to fill up very fast. Many of these processes you likely don't care about, such as wininit, svchost, etc.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.