Is it possible to check the date when Windows was installed on a PC and if so how?
Using the command-line, you have a tool called WMIC, that can be used to ascertain the installation date as follows:
You can run this within the command-line or directly from the windows "run".
Ps: AFAIK, you can use this since Windows XP.
You can easly read the above output adding the relevant markup:
According to this reference, you have a several ways to do that, just choose that one that you love more:
How to Determine the Windows Installation Date with and without PowerShell
The systeminfo tool displays a lot of interesting information about the computer and the operating system, among them the installation date. Here is some sample output:
The install date is stored in the property
The install date is stored in the registry value
What does not work
I first came up with the idea of querying the creation time of the Windows folder. This does not work because, beginning with Vista, the setup process is image-based. The only thing we can learn from querying the creation date of the Windows folder is when the installation image was created by Microsoft.
My second idea was to use the creation date of a file or folder created right after setup. Here is how I looked for a likely candidate:
Of these results, only the folder "Recovery" is pretty much identical to the "official" install date as recorded by Windows. But using such a method seems way too fragile for production use. Another failed attempt is to use the date of the oldest event log entry as can be seen from the following screen shot:
You can run the following command in command-line to find the install date:
While it would take a couple of seconds to get the result, the output will be very readable:
There is more information you can get by running the
Unofficially, I usually use the date the first updates were installed. Check those, and you may get a good idea of when the system was installed.