Number of Cores

Lexx ZS Chay 0 Reputation points
2026-10-06T08:04:30.19+00:00

I have only details like
vCPU 20
vCPU 16

if I need to purchase licensing how can i come out with the numbers of cores?
these are all VMs

Windows for business | Windows Server | Devices and deployment | Licensing and activation
0 comments No comments

1 answer

Sort by: Most helpful
  1. Ronald Sabiiti 160 Reputation points Independent Advisor
    2026-10-06T15:18:50.95+00:00

    Hello @Lexx ZS Chay

    Welcome to Microsoft Q&A!

    Thank you for your patience, and taking the time to elaborate on your concerns.

    Licensing for Windows Server (and SQL Server) in virtualized environments can be confusing because vendors often report vCPUs instead of physical cores.

    How to Translate vCPU → Licensing Cores

    • vCPU definition: In Hyper‑V, VMware, and most hypervisors, a vCPU is essentially a thread (logical processor) presented to the VM.

    Licensing requirement: Microsoft licensing is based on physical cores of the host, not vCPUs assigned to VMs.

    Key point: You don’t license per vCPU. You must license all physical cores on the host machine where the VMs run.

    Practical Steps

    Check Host Hardware

    Run systeminfo or wmic cpu get NumberOfCores,NumberOfLogicalProcessors on the physical host.

      Example: 2 CPUs × 10 cores each = 20 physical cores.
      
      **Apply Licensing Rules**
      
         Windows Server Standard/Datacenter requires licensing **all physical cores**.
         
            Minimum: 8 cores per processor and 16 cores per server must be licensed, even if fewer are present.
            
               Licenses are sold in 2‑core packs.
               
               **VMs with vCPUs**
               
                  The VM’s vCPU count (16, 20, etc.) does **not** change licensing requirements.
                  
                     You can assign vCPUs freely as long as the host is fully licensed.
                     
                     **SQL Server (if relevant)**
                     
                        SQL Server can be licensed either per vCore (in Azure) or per physical core (on‑prem).
                        
                           For on‑prem VMs, you can license **per vCPU/vCore assigned to the VM** if you choose “per core” licensing, but you must cover all vCPUs allocated.
                           
    

    In Summary: For Windows Server, ignore vCPU counts, license all physical cores on the host. For SQL Server, you can license per vCPU assigned to the VM.

    I hope this helps to better understand the diagnostic options available and the risks involved.

    If this information was helpful, please click Accept Answer.

    Thank you for choosing Microsoft Q&A.

    Was this answer helpful?

    0 comments No comments

Your answer

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