2 Methods to Get Windows Installation Date and Time

2 Methods to Get Windows Installation Date and Time

When thinking about reinstalling Windows operating system, you may want to determine how long ago the system was installed. This tutorial provides 2 methods how to get Windows installation date and time.

Method 1 - CMD

To get Windows installation date and time, run the wmic command as follows:

wmic os get installdate

Output example:

InstallDate
20181021214348.000000+180

Date and time is printed using yyyymmddHHMMSS format. In our case, output means 2018-10-21 21:43:48.

Method 2 - PowerShell

In PowerShell, use Get-WmiObject command to get Windows installation date and time:

(Get-WmiObject Win32_OperatingSystem).InstallDate

Output example:

20181021214348.000000+180

Leave a Comment

Cancel reply

Your email address will not be published.