I have a third-party application installation program that installs a sys file in the folder C:\WINDOWS\system32\drivers. I want to get the actual date it was placed on the file system, ultimately programmatically, so that I can write a tool that shows driver files that were added following installation of the operating system.
Unfortunately the Date Created timestamp for the sys file shown in Windows Explorer is in the past and does not correctly show the date the file was placed on the file system (it is a few years ago). As yet I don't know how a file can be placed on the file system with a created date in the past. Nevertheless I expect GetFileTime to return this same information.
How do I get the actual date the file was added to the (NTFS) file system? Is this possible even?
I've had a look at How to get date/time when file was placed in a directory on Windows? but this does not help.