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).

Task Manager with the processes sorted by memory

  • 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 Disk tab of Resource Monitor with the processes that read and write

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 seeWhat it usually isWhat to do
Microsoft Defender Antimalware (MsMpEng) uses the processor or the diskThe 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 busyWindows 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 growingThe 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 restartWindows is still starting its services.Wait a few minutes.
Drive C: is almost fullWindows 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

Was this answer helpful? 0 Users Found This Useful (0 Votes)