Any way to know when Windows 10 was installed? (not upgraded)


  1. Posts : 72
    Windows 10.
       #1

    Any way to know when Windows 10 was installed? (not upgraded)


    The command "systeminfo | find "Original Install Date" shows the time Windows was last upgraded. Any way to know when Windows 10 was installed?

    Any help much appreciated.
      My Computer


  2. Posts : 23,821
    Win 10 Home ♦♦♦19045.4717 (x64) [22H2]
       #2

    rodion15 said:
    The command "systeminfo | find "Original Install Date" shows the time Windows was last upgraded. Any way to know when Windows 10 was installed?

    Any help much appreciated.



    Open Powershell as admin and copy paste this whole thing... then hit ENTER.

    $OS=@(Get-ChildItem -Path HKLM:\System\Setup\Source* | ForEach-Object {Get-ItemProperty -Path Registry::$_}; Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion')
    $OS | Select-Object ProductName, ReleaseID, CurrentBuild, @{Name='InstallDate'; Expression={[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($_.InstallDate))}} | Sort-Object "InstallDate"




    This is the only way I can find, that goes past the upgrade dates. I just tested it. It works.
    I used it on Win 11 which I had upgraded to from Windows 10. It showed the Windows 10 install date.


    Run from Windows 11... the YELLOW dot shows the date I installed Windows 10....

    Any way to know when Windows 10 was installed? (not upgraded)-image1.png



    The only "clean" install I ever did was the Windows 10 install in May 2020.
    I did an In-Place Upgrade from Win 10 to Win 11.

    The July 2020 date was when I did an In-Place Upgrade from 1909 to 2004 on Windows 10.
    The October 2022 date is when I did an In-Place Upgrade from 21H2 to 22H2 on Windows 11.
      My Computer


  3. Posts : 9,792
    Mac OS Catalina
       #3

    That is the only date if it shows in Original Install date. Any upgrade to a new major rollup is considered a new install.
      My Computer


  4. Posts : 17,050
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #4

    Ghot said:
    $OS=@(Get-ChildItem -Path HKLM:\System\Setup\Source* | ForEach-Object {Get-ItemProperty -Path Registry::$_}; Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion')
    $OS | Select-Object ProductName, ReleaseID, CurrentBuild, @{Name='InstallDate'; Expression={[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($_.InstallDate))}} | Sort-Object "InstallDate"
    Mike,

    I agree.
    And the list will include Repair install dates-times.

    And you could save it straight to a file on the user Desktop by adding an Export-csv to it -
    Code:
    $OS=@(Get-ChildItem -Path HKLM:\System\Setup\Source* | ForEach-Object {Get-ItemProperty -Path Registry::$_}; Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion')
    $ThisDesktop=(Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "Desktop").Desktop
    $OS | Select-Object ProductName, ReleaseID, CurrentBuild, @{Name='InstallDate'; Expression={[timezone]::CurrentTimeZone.ToLocalTime(([datetime]'1/1/1970').AddSeconds($_.InstallDate))}} | Sort-Object "InstallDate" | Export-CSV "$ThisDesktop\ListWindowsHistory-Install-VersionUpdate-RepairInstall.csv" -NoTypeInformation


    All the best,
    Denis
      My Computer


  5. Posts : 72
    Windows 10.
    Thread Starter
       #5

    Ghot said:
    Open Powershell as admin and copy paste this whole thing... then hit ENTER.
    That worked like a charm on both my Windows 10 Pro and Windows 10 home PCs. Thanks!
    Any way to know when Windows 10 was installed? (not upgraded)-powershell.jpg
      My Computer


  6. Posts : 23,821
    Win 10 Home ♦♦♦19045.4717 (x64) [22H2]
       #6

    rodion15 said:
    That worked like a charm on both my Windows 10 Pro and Windows 10 home PCs. Thanks!
    Any way to know when Windows 10 was installed? (not upgraded)-powershell.jpg


      My Computer


  7. Posts : 70,051
    64-bit Windows 11 Pro for Workstations
       #7
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:05.
Find Us




Windows 10 Forums