Skip to main content
All CollectionsWindows Troubleshooting
High CPU Load/VPS Freezing after Disconnecting RDP (dwm.exe)
High CPU Load/VPS Freezing after Disconnecting RDP (dwm.exe)

Solve VPS freezing after disconnecting from RDP

B
Written by BL
Updated over 3 years ago

Problem

Disconnecting from an RDP session without logging out causes your VPS to freeze because of dwm.exe causing high CPU usage. This prevents the user from subsequent connections for a period of time.

Solution: Force XDDM Driver Use

We need to force Windows to use the XDDM driver instead of the default WDDM graphics driver. To do this, we'll run a command in powershell.

Find gpedit.msc by typing it in the start menu:

Select 'Run as administrator'

Navigate to the following path:

Computer Configuration 
-> Administrative Templates
-> Windows Components
-> Remote Desktop Services
-> Remote Desktop Session Host
-> Remote Session Environment

Double click Use WDDM graphics display driver for Remote Desktop Connections and set it to Disabled

Press OK and reboot.

Did this answer your question?