Windows 10: DWM.EXE High CPU (One Core) On Target System after Remote Desktop Disconnect on Windows 10...

Discus and support DWM.EXE High CPU (One Core) On Target System after Remote Desktop Disconnect on Windows 10... in Windows 10 Network and Sharing to solve the problem; Two systems, Intel NUC with Iris Plus Graphics 655 running latest drivers 26.20.100.6890 the other with Intel HD Graphics 2500 running latest... Discussion in 'Windows 10 Network and Sharing' started by KevinMarchant, Jun 19, 2019.

  1. DWM.EXE High CPU (One Core) On Target System after Remote Desktop Disconnect on Windows 10...


    Two systems,

    • Intel NUC with Iris Plus Graphics 655 running latest drivers 26.20.100.6890
    • the other with Intel HD Graphics 2500 running latest drivers 5.33.48.5069



    On completion of a remote desktop session, the target system shows high CPU utilisation (one core running at 100%) for DWM.EXE - the newer machine (Intel Iris Plus 655) will eventually crash several hours later - I suspect a memory leak such as the previous one affecting QuickSync.



    If I change the drivers to "Microsoft Basic Display Adapter" then things return to normal re: DWM.EXE. It's not a long term fix as one of the machines is my Media Centre PC and I lose audio output on it, the other is a headless Plex server and I lose "Quick Sync" hardware transcoding.



    Anyone else seeing this ? If so after a bit of digging I've identified a short term workaround.


    I believe there is a problem with the Microsoft RDP code in 1903 (an area which seems to have had a major internal overhaul), and I document a successful workaround.



    For clarity,

    • the behavior started with 1903
    • one system is an Intel NUC NUC8I7BEH PC with 16Gb Corsair Vengeance Memory and an Intel 760p 256Gb SSD; the other is a Chillblast Fusion Vacuum PC based on a P8H77-M motherboard. However other machines with nVidia GPU's are also affected, so this is NOT an Intel problem.
    • my testing consists of using a third machine running Windows 10 x64 1903 (fully patched) to run the Remote Desktop client software. The "targets" I refer to are the two machines I mention acting as RDP Host machines. Both demonstrate the high CPU DWM.EXE after taking them over and then disconnecting (the NUC has an 8 core CPU so shows 12.5% CPU) and the other machine based on an Intel P8H77-M motherboard.



    It seems Microsoft has done significant engineering to Remote Desktop in Windows 10 1903 and I now believe a significant bug exists in the Microsoft code.









    In the first article a Microsoft employee mentions



    <--------------------->

    There’s a known issue with some of the old display drivers. <I believe the issue I am facing is related to this area>



    Display drivers report some of their capabilities upon load. In previous Windows versions this reported data wasn’t used or verified. Because of that, some of the old versions of the legacy display driver may report invalid data and it would be ignored. Starting with Windows 10 1903 RDP uses this data to initialize the session.



    The best option is to install an updated display driver from the hardware manufacturer. If the new version is not available, you can workaround this by disabling the problematic driver in the device manager.



    Our team has identified the issue and we are currently verifying the fix that will dynamically switch to the software renderer if the problematic driver is detected.



    I will this thread when the fix will be included to the Windows Insider release.

    <---------------------->



    Further testing in my environment has shown that machines without Intel integrated graphics are also showing the problem.



    In the second article it mentions a change to the RDP driver area



    <--------------------->

    XDDM-based remote display driver: Starting with this release the Remote Desktop Services uses a Windows Display Driver Model (WDDM) based Indirect Display Driver (IDD) for a single session remote desktop. The support for Windows 2000 Display Driver Model (XDDM) based remote display drivers will be removed in a future release. Independent Software Vendors that use XDDM-based remote display driver should plan a migration to the WDDM driver model. For more information on implementing remote indirect display driver ISVs can reach out to *** Email address is removed for privacy ***.

    <--------------------->



    As a workaround on all of my affected machines I have used Group Policy Editor to set



    Local Computer Policy

    Computer Configuration

    Administrative Templates

    Windows Components

    Remote Desktop Service

    Remote Desktop Session Host

    Remote Session Environment

    Use WDDM graphics display driver for Remote Desktop Connections

    to DISABLED



    This forces RDP to use the old (and now deprecated XDDM drivers)



    After rebooting, behaviour returns to normal and after disconnecting from an RDP session the RDP host (target machine) no longer shows DWM.EXE consuming CPU.



    This isn't a long term fix (to rely on a deprecated feature). I also don't understand why only a limited number of users are affected, but for now, I'm up and running again, and hoping for a Microsoft fix.

    :)
     
    KevinMarchant, Jun 19, 2019
    #1

  2. DWM.EXE High CPU (One Core) On Target System after Remote Desktop Disconnect on Windows 10 x64 1903 (Fully Patched)

    Two systems,

    • Intel NUC with Iris Plus Graphics 655 running latest drivers 26.20.100.6890
    • the other with Intel HD Graphics 2500 running latest drivers 5.33.48.5069


    On completion of a remote desktop session, the target system shows high CPU utilisation (one core running at 100%) for DWM.EXE - the newer machine (Intel Iris Plus 655) will eventually crash several hours
    later - I suspect a memory leak such as the previous one affecting QuickSync.



    If I change the drivers to "Microsoft Basic Display Adapter" then things return to normal re: DWM.EXE. It's not a long term fix as one of the machines is my Media Centre PC and I lose audio output on
    it, the other is a headless Plex server and I lose "Quick Sync" hardware transcoding.



    Anyone else seeing this ? If so after a bit of digging I've identified a short term workaround.

    I believe there is a problem with the Microsoft RDP code in 1903 (an area which seems to have had a major internal overhaul), and I document a successful workaround.



    For clarity,

    • the behavior started with 1903
    • one system is an Intel NUC NUC8I7BEH PC with 16Gb Corsair Vengeance Memory and an Intel 760p 256Gb SSD; the other is a Chillblast Fusion Vacuum PC based on a P8H77-M motherboard. However other machines with nVidia GPU's are also affected, so this
      is NOT an Intel problem.
    • my testing consists of using a third machine running Windows 10 x64 1903 (fully patched) to run the Remote Desktop client software. The "targets" I refer to are the two machines I mention acting as RDP Host machines. Both demonstrate the high CPU
      DWM.EXE after taking them over and then disconnecting (the NUC has an 8 core CPU so shows 12.5% CPU) and the other machine based on an Intel P8H77-M motherboard.


    It seems Microsoft has done significant engineering to Remote Desktop in Windows 10 1903 and I now believe a significant bug exists in the Microsoft code.







    In the first article a Microsoft employee mentions



    <--------------------->

    There’s a known issue with some of the old display drivers. <I believe the issue I am facing is related to this area>



    Display drivers report some of their capabilities upon load. In previous Windows versions this reported data wasn’t used or verified. Because of that, some of the old versions of the legacy display
    driver may report invalid data and it would be ignored. Starting with Windows 10 1903 RDP uses this data to initialize the session.




    The best option is to install an updated display driver from the hardware manufacturer. If the new version is not available, you can workaround this by disabling the problematic driver in the device
    manager.




    Our team has identified the issue and we are currently verifying the fix that will dynamically switch to the software renderer if the problematic driver is detected.



    I will this thread when the fix will be included to the Windows Insider release.

    <---------------------->



    Further testing in my environment has shown that machines without Intel integrated graphics are also showing the problem.



    In the second article it mentions a change to the RDP driver area



    <--------------------->

    XDDM-based remote display driver: Starting with this release the Remote Desktop Services uses a Windows Display Driver Model (WDDM) based Indirect Display Driver (IDD) for a single session remote
    desktop. The support for Windows 2000 Display Driver Model (XDDM) based remote display drivers will be removed in a future release. Independent Software Vendors that use XDDM-based remote display driver should plan a migration to the WDDM driver model. For
    more information on implementing remote indirect display driver ISVs can reach out to L: *** Email address is removed for privacy ***.


    <--------------------->



    As a workaround on all of my affected machines I have used Group Policy Editor to set



    Local Computer Policy

    Computer Configuration

    Administrative Templates

    Windows Components

    Remote Desktop Service

    Remote Desktop Session Host

    Remote Session Environment

    Use WDDM graphics display driver for Remote Desktop Connections

    to DISABLED



    This forces RDP to use the old (and now deprecated XDDM drivers)



    After rebooting, behaviour returns to normal and after disconnecting from an RDP session the RDP host (target machine) no longer shows DWM.EXE consuming CPU.



    This isn't a long term fix (to rely on a deprecated feature). I also don't understand why only a limited number of users are affected, but for now, I'm up and running again, and hoping for a Microsoft
    fix.
     
    KevinMarchant, Jun 26, 2019
    #2
  3. Garyw Win User
    kill dwm.exe windows 10 pro 64bit


    I found this link

    What is dwm.exe and why is it using so much memory?

    With this note: "The steps below only work for Windows Vista and Windows 7. Desktop Windows Manager is not displayed in the Services window on Windows 8 and Windows 10, and therefore cannot be turned off or disabled."

    These links have suggestions for improving performance:

    dwm.exe Desktop Window Manager High CPU on Windows 10 [Solved] - Driver Easy
    Fix: Dwm.exe issues in Windows 10
    I would start here:

    DWM.EXE High CPU (One Core) On Target System after Remote Desktop Disconnect on Windows 10... [​IMG]
     
    Garyw, Jun 26, 2019
    #3
  4. DWM.EXE High CPU (One Core) On Target System after Remote Desktop Disconnect on Windows 10...

    Windows 10 - Remote Desktop

    Hi,

    We will surely assist you with the issue you are facing with Windows 10.
    - Which version of Windows 10 Operating System are you using?

    - Were you able to upgrade to Windows 10 successfully?

    I suggest you to refer the below steps and see if this helps.


    • Enable remote desktop in settings
      • Control Panel\System and Security\System, Click "Remote Settings" on the left side

    • Verify my port forwarding settings were properly forwarding to my computers local IP address
      • run "cmd.exe" and then type "ipconfig". Find your IP from that list
    [*]
    • Make sure your firewall settings are open
    • Go to "Control Panel\System and Security\Windows Firewall\Allowed apps"
    • On the left, click "Allow an app or feature through Windows Firewall"
    • Click "Change Settings"
    • Find "Remote Desktop" in the list and make sure both "Private" and "Public" is checked.

    Let us know if this helps.

    Thank you.

    Credits to : Jace_Sango.
     
    Akheel Ahmed, Jun 26, 2019
    #4
Thema:

DWM.EXE High CPU (One Core) On Target System after Remote Desktop Disconnect on Windows 10...

Loading...
  1. DWM.EXE High CPU (One Core) On Target System after Remote Desktop Disconnect on Windows 10... - Similar Threads - DWM EXE High

  2. one core high cpu usage

    in Windows 10 Gaming
    one core high cpu usage: Hey there, recently I've got a problem that causes only one core to work 100% always and causes my laptop to be slow and sluggish i did a clean install of Windows 11I tried in Linux and the problem persists there too, but the workaround in Linux was unloading the...
  3. one core high cpu usage

    in Windows 10 Software and Apps
    one core high cpu usage: Hey there, recently I've got a problem that causes only one core to work 100% always and causes my laptop to be slow and sluggish i did a clean install of Windows 11I tried in Linux and the problem persists there too, but the workaround in Linux was unloading the...
  4. Desktop window manager dwm high memory usage

    in Windows 10 Gaming
    Desktop window manager dwm high memory usage: Since I have upgraded to windows 11 I have been facing an issue with desktop window manager dwm. It uses so much memory and the laptop heats up. How to fix this problem?...
  5. Desktop window manager dwm high memory usage

    in Windows 10 Software and Apps
    Desktop window manager dwm high memory usage: Since I have upgraded to windows 11 I have been facing an issue with desktop window manager dwm. It uses so much memory and the laptop heats up. How to fix this problem?...
  6. DWM RAM HIGH Desktop Window Manager

    in Windows 10 BSOD Crashes and Debugging
    DWM RAM HIGH Desktop Window Manager: Hi, recently I have noticed that the memory usage is large for DWM on my lenovo legion gaming laptop. It could have used a large amount prior to me noticing it as I haven't really ever checked the task manager. It goes up to 250MB. Also just to note that the laptop won't have...
  7. DWM EXE high memory, anyone know how to fix it

    in Windows 10 Ask Insider
    DWM EXE high memory, anyone know how to fix it: [ATTACH] https://preview.redd.it/u7m40go4z8b61.png?width=666&format=png&auto=webp&s=a54ff7e9c58e02b4417c2abc2d4682e8e03c2e36 submitted by /u/mr_griffon [link] [comments] https://www.reddit.com/r/Windows10/comments/kx0o1w/dwm_exe_high_memory_anyone_know_how_to_fix_it/
  8. Desktop Windows Manager DWM 5GB - High Memory Use

    in Windows 10 BSOD Crashes and Debugging
    Desktop Windows Manager DWM 5GB - High Memory Use: Windows and its problems - literally never ending. Windows 10 is fully updated. Graphics driver is fully updated. DWM service memory usage keeps going up even after killing it and this time around it has peaked. I don't think there is any solution as DWM is part of...
  9. Remote desktop crashes target pc

    in Windows 10 Ask Insider
    Remote desktop crashes target pc: Hello all, I have a windows 10 machine running on a pentium g3258 to act as a plex server. It's low powered but has always behaved. It's not connected to a monitor, keyboard or mouse and the way i've always administered it was to remote into the pc using RDP. This has always...
  10. Windows 10 1903 dwm.exe high cpu usage after remote desktop session disconnected

    in Windows 10 BSOD Crashes and Debugging
    Windows 10 1903 dwm.exe high cpu usage after remote desktop session disconnected: When the remote desktop session ended, the Windows 10 CPU usage will jump to 25%-30%. The problem is caused by dwm.exe. If VMware server hosts many Windows 10 guests, it will cause VMware server runs in very high CPU level. In order to solve the problem, the schedule task...

Users found this page by searching for:

  1. disable dwm.exe for remote desktop

    ,
  2. high CPU usage in Desktop Window Manager (dwm.exe) when you disconnect from a Remote Desktop Protocol (RDP) session.

    ,
  3. does 1909 solve wddm rdp problem

    ,
  4. dwm.exe consuming cpu for RDP,
  5. dwm 100% windows 10 1903 rdp,
  6. intel graphics dwm 100% rdp 1903,
  7. dwm 100% cpu 1903,
  8. starting with windows 10 1903 rdp uses this data to initialize the session.,
  9. dwm 100% cpu windows 10 1903]