I am trying to find out when software was last used. It is my understanding that the OS keeps this information, but I have no idea how to get at it. Scripting would be ideal, as I have to do this on multiple machines across the network. I have tried researching this, but cannot find any info.

I have tried using the Last Accessed date of the executable file, but the second you check the date via scripting, the date changes, making it unreliable.

I am using this to determine who needs and uses what software, so I can remove what is unnecessary.

Any help would be appreciated.

Thank you.
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


I take it, you don't use SMS?
Answered 05/29/2007 by: revizor
Third Degree Blue Belt

Please log in to comment
Unfortunately, you are correct. We are not using SMS. Used it at my last job, but we do not have it here. So, I have to find this out using some other methods. We are using Prism Deploy, but I cannot figure out how to use that to get the info either.
Answered 05/29/2007 by: thecomputerguy74
Yellow Belt

Please log in to comment
I believe this info is stored in the ARP Cache at HKLM\Software\Microsoft\Windows\CurrentVersion\App Management\ARPCache\<GUID>.

I’m not such what you can do with the bin values, but take a look at ARPCache Viewer – it might give you a clue on how to achieve what you want to do.

Answered 05/31/2007 by: fuz_kitten
Second Degree Blue Belt

Please log in to comment
Last Accessed date of the executable file
As simple dir "C:\Program Files\Folder\myfile.exe" /T:A will output this which you then could parse the date of for further validation.
Answered 05/31/2007 by: AngelD
Red Belt

Please log in to comment
there is a windows installer option which counts the number of times an application has been used since installation.

this can be programatically pulled as well

have a look here.


this may even have the last access date its been a while since i last used it and cant remember.

the intention was that it would count the number of times an advertised entry point was accessed. unsure of the last access date bit of this although i think it would support this as well.
Answered 06/02/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment