Simple Questions: When was Windows Installed on My Computer?

Sometimes you will ask yourself this question. Maybe because you need this information for your work, because you want to brag about how stable your Windows installation is after all these years of abuse, or simply because you don’t want it to run for more than a 6 months without reinstalling it. Whatever the reason, we have a simple way for you to learn the correct answer, with incredible precision.

Launch the Command Prompt and Run the SystemInfo Command

All you have to do is launch the Command Prompt (you do not have to run it as administrator).

Then type or copy & paste the following command:

systeminfo | find "Original Install Date"

Wait for a couple of seconds and the information will be displayed below the command.

This method works in all versions of Windows, from Windows XP to Windows 7 and Windows 8.

Launch the Windows PowerShell and Run One of these Two Commands

You can also use Windows PowerShell to run or copy and paste one of two other commands:

([WMI]'').ConvertToDateTime((Get-WmiObject Win32_OperatingSystem).InstallDate)


[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($(get-itemproperty 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion').InstallDate))

This also works in all versions of Windows. However, there’s a lot more code to type than when using the Command Prompt.

Other Ways to Learn this Information

There are other ways to learn this information. If you would like to read more, we recommend that you head over to the Super User community and read this discussion: Determine when Windows was installed on a computer.

It helped us find the elegant solutions shared in this article.