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.
Using Windows Explorer:
But there is a slight problem in this method.
Since Windows Vista release, Microsoft changed the installation type of Windows to image based which means the setup installer just extracts the required files to your hard drive.
So many times the date and time of folder creation will not be the installation date and time of Windows but it'll be the date and time when Microsoft created the Windows image for the setup.
There is a workaround for this problem!
You can check out the folder creation date of your user account folder which is present in "Documents and Settings" or "Users" folder.
Since this folder is created by Windows setup at the time of installation, its creation date and time will be almost the same as of Windows installation.
You may like to follow the guidance in this article entitled "Ask HTG: How Can I Check the Age of My Windows Installation?"