[Solution] How to fix 100% CPU usage on one core for windows 10 vm


Recommended Posts

Recently I noticed that my windows 10 often eating up 100% on one core at idle state, or just some http download. And if I restart the VM the cpu usage goes away. And if I use remote desktop and check task manager, the usage isn't there. It never occurs to me this has anything to do with Remote Desktop.

 

Today I found that when I have the remote session open, then cpu usage is normal. but if I close the remote session (but microsoft remote desktop wont disconnect), then the CPU usage takes 100%. It appears that windows 10 1903 has a bug where VM freeze on RDP connections (when not enough cores are allocated), interestingly i have 4 cores from 9700K allocated and still have this issue. This also explains why at VM restart i wont have this issue as i dont have remote session connected to it yet.

 

Issue explained here

https://borncity.com/win/2019/08/28/windows-10-v1903-rdp-dwm-exe-causes-high-cpu-load-freezes-vms/

 

The workaround is to force using XDDM driver instead and in that way the session will disconnect when closing the RDP window, by editing group policy and run gpupdate /force in command prompts. This fixed for me as cpu usage stay normal no matter RDP session stay active or not.

 

(Unfortunately steam home stream wont be fixed by this, still need the following workaround if you use remote desktop of any sort. https://steamcommunity.com/groups/homestream/discussions/0/617335934139051123/)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.