So, in my case I am using the Julia programming language and this works:
powercfg /powerthrottling disable /path "C:\Julia\Julia-1.8.3\bin\julia.exe"
Thanks to @lexa_a for pointing me in the right direction
@lexa_a - thanks for this. I wonder can you say if this works on Windows 10 or if you might be able to advice a similar solution in Windows 10?
I have observed an itentical issue. In my case I am running optimisation solvers through Python and Julia and often am running via remote desktop...