Windows 10 edition - Enterprise vs Pro

its_windows 21 Reputation points
2023-01-05T18:19:08.637+00:00

Hi everyone,

I am going through a list where I need to check the windows edition currently installed on a given set of computers. 

My approach for the same is as follows:

If I want to check the edition of Windows a computer is running, I'd basically run Get-ComputerInfo | select WindowsEditionId, OsName in a PowerShell Window, and the following would be the output (as on my computer):

276644-i1.png

Everything seems straightforward - one would expect the fields to match up i.e., either Enterprise or Pro in both fields as in 99% of the cases.

However, the thing that is driving me crazy is if I run the same command on the computer named SITE112, I get the following:

276663-i2.png

From the above screenshot, I could figure out the name to be “Microsoft Windows 10 Pro” but the edition to be “Enterprise” - Conflicting right?

Just to double-check the legitimacy of the above commands I ran the following on SITE112:

  • wmic os get caption command to verify the caption or name of the windows
  • dism /online /get-currentedition command to verify the edition
  • Results as follows: 276671-i3.png

Let me know if you guys have any insights on this unpredictable behavior and what would be a good layer to trust upon i.e., edition’s or osname’s output?

Thanks for the help.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,841 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael Taylor 55,476 Reputation points
    2023-01-05T18:38:39.06+00:00

    It's complicated and honestly I think there have been discussions over the years as to what you should really be using and even MS doesn't agree. There are several factors going on here and which value is being retrieved by which command/tool/UI is an implementation detail so I don't know that I'd try to figure it out. Choose the one that lines up with what "you" believe it should be.

    Things that can impact the edition queries. If you initially installed one edition but then upgraded/downgraded to another then the edition shown may not be the same. The WindowsEditionId comes from the registry and I would think is the most accurate but I could be wrong. You could test this scenario though.

    Another thing is the licensing. You have an edition and a product key/subscription tied to it. They don't necessarily line up. Most people install Pro and use a Pro license but you can install Pro and use an Ent license and Windows doesn't care. AFAIK you cannot go the other way though but I honestly have never tried. Furthermore MS 365 Business subscriptions throw another kink into the plan. From what has been reported online, the WindowsEditionId represents the actual Windows edition installed but the UI (and perhaps other tools) show the edition as Business even though this isn't actually an edition of Windows.

    If it were me personally I'd lean toward sticking with WindowsEditionId even if it doesn't line up with the OS name. The OS name, to me, is a UI display thing and may or may not be accurate. But you should probably base your decision on your own testing.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.