View Windows Upgrade History in Windows 10  

Page 1 of 2 12 LastLast
    View Windows Upgrade History in Windows 10

    View Windows Upgrade History in Windows 10

    How to View Windows Upgrade History in Windows 10
    Published by Category: Installation & Upgrade
    24 Jun 2020
    Designer Media Ltd


    How to View Windows Upgrade History in Windows 10


    Each time you upgrade Windows 10 (ex: Home to Pro edition) or have a build upgrade of Windows 10 (ex: new build via Windows Update), this upgrade history is stored in the registry.

    It can be useful to view the Windows upgrade history details to find out about previously installed builds and editions of Windows on your Windows 10 PC.

    This tutorial will show you how to view the Windows upgrade history of your Windows 10 PC.


    Contents

    • Option One: To View Windows Upgrade History in PowerShell
    • Option Two: To View Windows Upgrade History in Registry Editor






    OPTION ONE

    To View Windows Upgrade History in PowerShell


    1 Open PowerShell.

    2 Copy and paste the command below into PowerShell, and press Enter. (see screenshot below)

    This command will collect the Windows upgrade history of your PC from the registry, and assign it to $OSUpgradeHistory.

    Code:
    $OSUpgradeHistory = $(gci "HKLM:\System\Setup" | ? {$_.Name -match "\\Source\s"}) | % { $_ | Select @{n="UpdateTime";e={if ($_.Name -match "Updated\son\s(\d{1,2}\/\d{1,2}\/\d{4}\s\d{2}:\d{2}:\d{2})\)$") {[dateTime]::Parse($Matches[1],([Globalization.CultureInfo]::CreateSpecificCulture('en-US')))}}}, @{n="ReleaseID";e={$_.GetValue("ReleaseID")}},@{n="Branch";e={$_.GetValue("BuildBranch")}},@{n="Build";e={$_.GetValue("CurrentBuild")}},@{n="ProductName";e={$_.GetValue("ProductName")}},@{n="InstallTime";e={[datetime]::FromFileTime($_.GetValue("InstallTime"))}} };


    3 Copy and paste the command below into PowerShell, and press Enter.

    This command will display the $OSUpgradeHistory.

    $OSUpgradeHistory | Sort UpdateTime | ft UpdateTime, ReleaseID, Branch, Build, ProductName

    4 You will now see the Windows upgrade history of your Windows 10 PC.

    View Windows Upgrade History in Windows 10-windows_upgrade_history_powershell.png






    OPTION TWO

    To View Windows Upgrade History in Registry Editor


    1 Press the Win + R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor.

    2 Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

    HKEY_LOCAL_MACHINE\SYSTEM\Setup

    3 Look in the right pane of each Source OS (Updated on <date> <time>) subkey under the Setup key. Each Source OS subkey will give you the BuildBranch, CurrentBuild (build number), ProductName (edition), ReleaseID (version number), etc... upgrade history details of a previously installed Windows.

    View Windows Upgrade History in Windows 10-windows_upgrade_history_regedit.png


    That's it,
    Shawn



  1. Steve C's Avatar
    Posts : 6,353
    Windows 10 Pro 64 bit
       #1

    This report is incomplete for some reason. This installation was first installed as Windows 8 in 2012 and is currently on 1909. Why are only partial details shown?

    10/06/2016 10:49:39 9600 Windows 8.1 Pro with Media Center
    21/12/2016 14:14:46 1511 th2_release_sec 10586 Windows 10 Pro
    02/12/2017 14:11:11 1607 rs1_release 14393 Windows 10 Pro
    22/11/2018 15:09:56 1709 rs3_release 16299 Windows 10 Pro
    10/03/2019 15:18:19 1803 rs4_release 17134 Windows 10 Pro
    25/10/2019 11:04:36 1809 rs5_release 17763 Windows 10 Pro

    Current version:
    Attachment 284888
      My Computers

  2. Brink's Avatar
    Posts : 56,788
    64-bit Windows 10 Pro for Workstations build 21370
    Thread Starter
       #2

    Steve C said:
    This report is incomplete for some reason. This installation was first installed as Windows 8 in 2012 and is currently on 1909. Why are only partial details shown?
    Hello Steve,

    The upgrade history will not show the current build until the next upgrade when it then becomes history.

    What else it missing?
      My Computers

  3. Steve C's Avatar
    Posts : 6,353
    Windows 10 Pro 64 bit
       #3

    Brink said:
    Hello Steve,

    The upgrade history will not show the current build until the next upgrade when it then becomes history.

    What else it missing?
    The original installation was Windows 8 in late 2012. I thought that would be reported?
      My Computers

  4. Brink's Avatar
    Posts : 56,788
    64-bit Windows 10 Pro for Workstations build 21370
    Thread Starter
       #4

    Steve C said:
    The original installation was Windows 8 in late 2012. I thought that would be reported?
    Hmm, I'm not sure why it's showing only the last previous Windows before Windows 10.
      My Computers

  5. cgrim1985's Avatar
    Posts : 59
    Windows 10 Pro 64 Bit
       #5

    The Powershell commands don't work and I don't have Source OS in the registry under HKEY_LOCAL_MACHINE\SYSTEM\SetupView Windows Upgrade History in Windows 10-ps-command.jpgView Windows Upgrade History in Windows 10-registry.jpg
      My Computer


  6. Posts : 1,867
    Windows 10 Pro 2004 20H1
       #6

    Works on my system...Windows 10 2004 (20H1) -

    View Windows Upgrade History in Windows 10-vh.jpg
      My Computer


  7. Posts : 1,867
    Windows 10 Pro 2004 20H1
       #7

    cgrim1985 said:
    The Powershell commands don't work and I don't have Source OS in the registry under HKEY_LOCAL_MACHINE\SYSTEM\SetupView Windows Upgrade History in Windows 10-ps-command.jpgView Windows Upgrade History in Windows 10-registry.jpg
    Did you clean install your current version?
      My Computer

  8. cgrim1985's Avatar
    Posts : 59
    Windows 10 Pro 64 Bit
       #8

    OldNavyGuy said:
    Looks like you ran the first command, but not the second. Did you clean install your current version?
    Even when I run both commands it still doesn't work and yes I did.


      My Computer


  9. Posts : 1,867
    Windows 10 Pro 2004 20H1
       #9

    cgrim1985 said:
    yes I did
    That's why there are no Source OS entries, and no PowerShell results.
      My Computer


 
Page 1 of 2 12 LastLast

Tutorial Categories

View Windows Upgrade History in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 20:15.
Find Us




Windows 10 Forums