Windows Version Edition Command line?

Page 1 of 2 12 LastLast

  1. Posts : 35
    Windows 10
       #1

    Windows Version Edition Command line?


    Guys I'm looking for a way to find the Windows Edition (not only version) such as Home or Pro from Recovery Console command line.

    "Ver" gives the version only
    "Systeminfo" command doesn't work in recovery console.

    Any other ways?
      My Computer


  2. Posts : 186
    Windows 10 Pro x64
       #2

    You don't need to use a command line to find the version number of Windows 10. Just open Settings, click on System and then click on About. It's in the following 2 lines there:1. Version 2.OS Build
      My Computer


  3. Posts : 2,662
    W10 Pro (desktop), W11 (laptop), W11Pro (tablet)
       #3

    From the command line enter "winver".
      My Computer


  4. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
       #4

    KasperKyd said:
    Guys I'm looking for a way to find the Windows Edition (not only version) such as Home or Pro from Recovery Console command line.

    "Ver" gives the version only
    "Systeminfo" command doesn't work in recovery console.

    Any other ways?
    Hello Kasper, :)

    You could use the command in Option 5 of the tutorial below to see what edition of Windows 10 you have from the command line.

    https://www.tenforums.com/tutorials/...d.html#option5
      My Computers


  5. Posts : 35
    Windows 10
    Thread Starter
       #5

    Guys I clearly mentioned in "Recovery Console" and non of the suggestions could work there :)
      My Computer


  6. Posts : 31,469
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #6

    KasperKyd said:
    Guys I clearly mentioned in "Recovery Console" and non of the suggestions could work there :)
    You could look for clues in the log files. For example, these commands may help:
    type C:\windows\logs\dism\dism.log | find "OS Version"
    type C:\windows\logs\cbs\cbs.log | find "Loaded"

    or...

    dir c:\windows\servicing\version

    which for me shows:

    Code:
    Directory of c:\windows\servicing\version
    26/01/2017  03:09    <DIR>          .
    26/01/2017  03:09    <DIR>          ..
    11/01/2017  20:43    <DIR>          10.0.14393.0
    26/01/2017  03:09    <DIR>          10.0.14393.350
    26/01/2017  03:09    <DIR>          10.0.14393.693
                   0 File(s)              0 bytes
                   5 Dir(s)  188,010,721,280 bytes free


    Edit: For Home vs. Pro, look for the folder 'C:\Program Files\Windows Defender Advanced Threat Protection' which AFAIK only exists in Pro.
    Last edited by Bree; 13 Feb 2017 at 12:10.
      My Computers


  7. Posts : 35
    Windows 10
    Thread Starter
       #7

    I hope you can help me further, I"m trying to find which edition Home or Pro through recovery so I can Install same Windows edition again. I can't find anything about the edition!

    Bree said:
    You could look for clues in the log files. For example, these commands may help:
    type C:\windows\logs\dism\dism.log | find "OS Version"
    type C:\windows\logs\cbs\cbs.log | find "Loaded"

    or...

    dir c:\windows\servicing\version

    which for me shows:

    Code:
    Directory of c:\windows\servicing\version
    26/01/2017  03:09    <DIR>          .
    26/01/2017  03:09    <DIR>          ..
    11/01/2017  20:43    <DIR>          10.0.14393.0
    26/01/2017  03:09    <DIR>          10.0.14393.350
    26/01/2017  03:09    <DIR>          10.0.14393.693
                   0 File(s)              0 bytes
                   5 Dir(s)  188,010,721,280 bytes free


    Edit: For Home vs. Pro, look for the folder 'C:\Program Files\Windows Defender Advanced Threat Protection' which AFAIK only exists in Pro.
      My Computer


  8. Posts : 31,469
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #8

    KasperKyd said:
    I hope you can help me further, I"m trying to find which edition Home or Pro through recovery so I can Install same Windows edition again. I can't find anything about the edition!
    I know of no easy way from the recovery environment command prompt to get a 'Home or Pro' answer. You can deduce that Pro was installed by looking for folders only installed with Pro. The 'Program Files\Windows Defender Advanced Threat Protection' folder is one, 'C:\Windows\BitlockerDiscoveryVolumeContents' is another - there may be more.

    Alternatively, use a 3rd-party product key utility that can run in the recovery environment and is capable of recovering the information from another system's drive. Nirsoft's Produkey is one such utility that I have tested successfully.

    Copy it to the root of a recovery USB, boot from the USB then run produkey from the command prompt. In its 'Select source' dialog select 'Load the product keys from external Windows directory' and type in the path to the OS on the HDD, in my case D:\Windows. It then (correctly) told me its was 'Windows 10 Home' with a key ending in -8HVX7 (the generic key for 10 Home). The generic key for Pro ends with -3V66T. These and other generic keys you may see are in this post after upgrade windows 10 cannot activate Error code: 0xC004F034
      My Computers


  9. Posts : 18,424
    Windows 11 Pro
       #9

    Regedit

    Look at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RecoveryEnvironment
    TargetOSDescription parameter
      My Computer


  10. Posts : 31,469
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #10

    NavyLCDR said:
    Regedit
    @KasperKyd is asking what can be done from a command prompt in the recovery environment, presumably booted from a recovery drive. Regedit can be run, but to find that key from the system on the HDD first you'd have to load a hive from the other system. Instructions to do that are in option four here...
    https://www.tenforums.com/tutorials/...a.html#option4
    ...except the one you'd need to load at step 6 would (presumably) be the SOFTWARE file (not SAM as in the instructions).
      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 16:35.
Find Us




Windows 10 Forums