Microsoft Excel on Windows 2019 terminal server - unable to use all cores

Anonymous
2022-05-31T13:36:05.243+00:00

Hello,
Excel on our terminal server is apparently using only 2 cores although 36 are available. Multiple users are using the terminal server simultaneously - meaning the RDS (remote desktop services) role is installed.
Operating system is Windows Server 2019 Standard. The users use Office365 E3 license and mostly excel with makros.

We tried setting the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Common\IdealConcurrencyValueOverride to zero but that didn't help.
We also tried enabling the Application.MultiThreadedCalculation property in VBA (we did the opposite of what is described here - https://www.remkoweijnen.nl/blog/2012/06/08/excel-2010-multi-threaded-calculation/) but no luck either.

Any ideas or hints would be much appreciated :-)
Many thanks in advance!

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,726 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,772 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,863 questions
{count} vote

Accepted answer
  1. Graham Jessop 76 Reputation points
    2022-09-09T14:23:19.823+00:00

    Hi all

    The key you need is below

    HKLM\SOFTWARE\Microsoft\Office\Common
    Key = Reg DWord
    Key Name = IdealConcurrencyValueOverride
    Key Value = "Core Number"

    I run the below as a start up script which utilises a standard windows variable %number_of_processors%. I need this as the VDI environment I manage has VMs spec'd differently in terms of CPU Cores

    REG ADD HKLM\SOFTWARE\Microsoft\Office\Common /v IdealConcurrencyValueOverride /t REG_DWORD /d %number_of_processors% /f

    Hope this helps

    Graham

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-11-23T15:33:07.347+00:00

    Hi @Graham Jessop ,

    thank you very much for your answer!
    Excel is now using more then 2 processors - Woohooo!
    Unfortunately our VBA Makro doesn't :-(
    Is there a configuration we have to set?

    Thank you very much for your help!

    0 comments No comments

  2. Graham Jessop 76 Reputation points
    2022-11-23T15:45:41.2+00:00

    Hi @Anonymous

    Great news about Excel!

    Sorry, I can't help with VBA ... My line of work doesn't stretch to macros thankfully

    Good luck in finding a solution

    Graham

    0 comments No comments

  3. G C 0 Reputation points
    2023-08-30T16:14:09.9333333+00:00

    We have a Windows 2019 Server STD VM running on Vmware Esx 7.0.3 on Lenovo server equipped with AMD Epyc 7532 - 32 cores, the VM has 12 cores assigned and in the Task Manager are displayed correctly while in Excel 2021 LTSC only two are available.

    I found a workaround, if i run Excel using Windows 8 compatibility mode all the cores are detected.

    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.