Windows 10: Windows Version Edition Command line?

Page 1 of 2 12 LastLast
  1.    12 Feb 2017 #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 ComputerSystem Spec

  2.    13 Feb 2017 #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 ComputerSystem Spec

  3. strollin's Avatar
    Posts : 679
    W10 Pro (desktop), W10 (laptop), W10 (laptop), W10Pro (tablet)
       13 Feb 2017 #3

    From the command line enter "winver".
      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 19,017
    64-bit Windows 10 Pro build 15063
       13 Feb 2017 #4

    KasperKyd said: View Post
    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 ComputersSystem Spec

  5.    13 Feb 2017 #5

    Guys I clearly mentioned in "Recovery Console" and non of the suggestions could work there
      My ComputerSystem Spec

  6.    13 Feb 2017 #6

    KasperKyd said: View Post
    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 ComputersSystem Spec

  7.    17 Feb 2017 #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: View Post
    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 ComputerSystem Spec

  8.    17 Feb 2017 #8

    KasperKyd said: View Post
    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 ComputersSystem Spec

  9.    17 Feb 2017 #9

    Regedit

    Look at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RecoveryEnvironment
    TargetOSDescription parameter
      My ComputerSystem Spec

  10.    17 Feb 2017 #10

    NavyLCDR said: View Post
    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 ComputersSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Hi everyone, I am here to share how to open any Windows 10 Apps from command line. 1. Open shell:AppsFolder 2. Find your app 3. Right click and choose "Create Shortcut" 4. Yes, placed the shortcut on desktop 5. Right click the shortcut and...
Solved Launch Windows Update from Command line? in Windows Updates and Activation
Need to open windows update, but it's not where it used to be and I can't use the start button....... How can I open it?
If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule. If I use any of the followingcommand lines, the software cannot wake my computer, I have ran “powercfg/h /off” at C:\windows\system32...
How to get more from Windows Defender by using its command-line tool - TechRepublic
How do I open windows store apps like Hulu from the command prompt?
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 05:05.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums