When Remote Desktop reacts slowly or a program takes much longer than usual, one of four things is usually used up: the processor, the memory, a disk or the network. Windows shows which one it is and which program is responsible. This guide shows where to look and what to do then.
The examples use Windows Server 2025.
1. Task Manager: The Quick Look
Right-click the Start button and choose Task Manager. The page Processes lists what is running. The numbers above the columns CPU, Memory, Disk and Network are the totals for the whole server (1). Click one of these column titles to sort by it: the program that uses the most is then in the first line (2).
- A total that stays near 100 % is what slows the server down.
- The arrow in front of a name opens the parts of a program, for example the nine processes of Microsoft Edge (9) in the picture.
- To close a program that no longer reacts, select it and choose End task. What was not saved in it is lost. Do not end entries of Windows that you do not know.
The second page, Performance, draws the last 60 seconds of the processor, the memory, every disk and the network. It also shows how much memory is in use, for example 3.7/31.9 GB (12%).
2. The Same With Commands
Run these in PowerShell as Administrator: right-click the Start button and choose Terminal (Admin). The five programs with the most memory:
Get-Process | Sort-Object WorkingSet64 -Descending | Select-Object -First 5 Name, Id, @{n="MemoryMB";e={[math]::Round($_.WorkingSet64/1MB)}}
Name Id MemoryMB ---- -- -------- MsMpEng 3716 366 explorer 1972 249 msedge 9416 191 dwm 3436 189 msedge 5852 184
The five programs that use the processor most at this moment:
Get-CimInstance Win32_PerfFormattedData_PerfProc_Process | Where-Object { $_.Name -notin "_Total","Idle" } | Sort-Object PercentProcessorTime -Descending | Select-Object -First 5 Name, IDProcess, PercentProcessorTime
Name IDProcess PercentProcessorTime ---- --------- -------------------- MsMpEng 3716 23 System 4 17 svchost#3 1468 11 explorer 1972 5 svchost#26 2636 0
Here 100 means one processor core in full use. A server with 12 cores can therefore show up to 1200 in total, and the 23 of the first line is a small load.
The memory of the server and how much of it is free:
Get-CimInstance Win32_OperatingSystem | Select-Object @{n="TotalGB";e={[math]::Round($_.TotalVisibleMemorySize/1MB,1)}}, @{n="FreeGB";e={[math]::Round($_.FreePhysicalMemory/1MB,1)}}
TotalGB FreeGB ------- ------ 31.9 28
3. Which Program Loads the Disk: Resource Monitor
Press Windows key + R, type resmon and press Enter. Open the Disk tab (1). Processes with Disk Activity (2) lists the programs that read or write right now, the busiest first.
The graphs on the right show the Queue Length of each disk, the number of requests that are waiting. A queue that stays high for minutes means that the disk cannot keep up with what the programs ask of it. The Network tab shows in the same way which programs send and receive data.
4. Usual Causes and What to Do
| What you see | What it usually is | What to do |
|---|---|---|
Microsoft Defender Antimalware (MsMpEng) uses the processor or the disk | The virus scanner checks files, often after a start or after many new files arrived. | Wait. It ends by itself. |
Windows Modules Installer Worker (TiWorker) is busy | Windows installs updates. | Wait, and restart when Windows asks for it: Windows Update on Windows Server. |
| One of your programs holds most of the memory, and it keeps growing | The program does not give memory back. | Close it and start it again. If the memory is always full, the server needs more memory for what you run on it. |
| A disk stays near 100 % | A program reads or writes a lot (step 3), a RAID is rebuilding, or a disk is failing. | Check the RAID and the disks: Software RAID on Windows Server, Check Disk Health on Windows Server. |
| Everything is slow in the first minutes after a restart | Windows is still starting its services. | Wait a few minutes. |
Drive C: is almost full | Windows has no room for its own files. | See Free Up Space on Drive C: of a Windows VPS; it works the same on a dedicated server. |
Good to Know
- Programs of a disconnected session keep running. If you only closed the Remote Desktop window last time, your programs from then still use memory: Keep a Program Running on Windows Server.
- A restart frees everything, but you lose the chance to see the cause. Look first, restart then: How to Restart Windows Server.
- The server restarted by itself? See Windows Server Restarted? Find Out When and Why.
- Other people on the server: the programs of every logged-in user count too.
quserlists the sessions, see Who Logged In to Your Windows Server? Check Remote Desktop Logins and Failed Attempts.

