Azure VMs Displaying Incorrect CPU Count in Task Manager

Terence NGAN 0 Reputation points
2024-12-11T21:58:30.4566667+00:00

Three Azure VMs running Windows Server 2016 Datacenter are showing an incorrect CPU count in the operating system. The Azure portal indicates that there are 4 CPUs, but Task Manager only recognizes 2 CPUs. Device Manager displays the correct number of CPUs. Attempts to resolve this issue have included restarting, redeploying, resizing the VMs, and restoring backups as new VMs. Despite these efforts, the Azure portal and Device Manager reflect the correct CPU count, while Task Manager continues to show only 2 CPUs. The memory size is displayed correctly in both the operating system and the portal.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,468 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Przemysław Kuczyński 0 Reputation points
    2025-03-06T14:48:14.2033333+00:00

    Its related with

    Mitigation for Transaction Asynchronous Abort vulnerability, Microarchitectural Data Sampling, Spectre, Meltdown, MMIO, Speculative Store Bypass Disable (SSBD), and L1 Terminal Fault (L1TF) with Hyper-Threading disabledreg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverride /t REG_DWORD /d 8264 /f

    Value 3 is default

    https://support.microsoft.com/en-us/topic/kb4072698-windows-server-and-azure-stack-hci-guidance-to-protect-against-silicon-based-microarchitectural-and-speculative-execution-side-channel-vulnerabilities-2f965763-00e2-8f98-b632-0d96f30c8c8e

    0 comments No comments

  2. Przemysław Kuczyński 0 Reputation points
    2025-03-06T14:49:01.4233333+00:00

    Its related with

    Mitigation for Transaction Asynchronous Abort vulnerability, Microarchitectural Data Sampling, Spectre, Meltdown, MMIO, Speculative Store Bypass Disable (SSBD), and L1 Terminal Fault (L1TF) with Hyper-Threading disabledreg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v FeatureSettingsOverride /t REG_DWORD /d 8264 /f

    Value 3 is default

    https://support.microsoft.com/en-us/topic/kb4072698-windows-server-and-azure-stack-hci-guidance-to-protect-against-silicon-based-microarchitectural-and-speculative-execution-side-channel-vulnerabilities-2f965763-00e2-8f98-b632-0d96f30c8c8e

    0 comments No comments

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.