WIN: Windows Processes and Services

An exploration of Windows processes and services, how to monitor and manage them using Task Manager, Sysinternals, Process Explorer, Autoruns, and DiskMon, and what each tool reveals about the running state of a Windows system.

What Are Services and Processes?

Services in Windows are programs that run in the background, performing specific tasks. These tasks can include system startup, network connections, printing, or updates. Services start and stop automatically without requiring user intervention.

Processes are instances of programs or tasks initiated by the system. Each process uses a certain amount of CPU, memory, and other system resources. Processes can be viewed and terminated in Task Manager.

text
+----------------------------------------+
|           Windows System               |
|                                        |
|  [ Services ]          [ Processes ]   |
|  - Run in background   - Foreground    |
|  - Auto start/stop     - User-launched |
|  - System-managed      - CPU + RAM     |
|  e.g., Windows Update  e.g., chrome.exe|
+----------------------------------------+


Managing Services and Processes

There are multiple applications you can use to manage services and processes:

  • Task Manager
  • Sysinternals
  • Process Explorer
  • Autoruns
  • DiskMon

Task Manager

Task Manager is the primary built-in tool in Windows for monitoring and managing running applications, processes, services, and performance. It is used to check computer performance, terminate applications, monitor processes, and track system resource usage (CPU, memory, disk, network).

Opening Task Manager

Task Manager can be accessed in several ways:

  • Right-click the Taskbar or the Start Menu
  • Press Ctrl + Shift + Esc on the keyboard

Task Manager Tabs

TabDescription
ProcessesLists all processes running on your computer. Allows you to terminate a process or view more information.
PerformanceGraphs and statistics showing CPU, memory, disk, and network usage. Helps diagnose performance issues.
App HistoryShows history of applications used and their resource consumption.
StartupLists programs that automatically start when the computer boots. Manage or disable startup items here.
UsersLists currently logged-in users. Useful when multiple users are logged in.
DetailsMore detailed view of processes, showing username, CPU usage, memory usage, and more per process.
ServicesLists services. Allows you to stop, start, or configure services.
Resource MonitorDetailed per-process CPU, memory, disk, and network usage. Identifies specific file handles and modules.

text
Task Manager
+-------------------------------------------+
| Processes | Performance | App History      |
| Startup   | Users       | Details          |
| Services  | Resource Monitor               |
+-------------------------------------------+
| Name          | CPU  | Memory | Disk | Net |
+---------------+------+--------+------+-----+
| chrome.exe    | 2%   | 512 MB | 0    | 0   |
| svchost.exe   | 0%   | 48 MB  | 0    | 0   |
| explorer.exe  | 0%   | 64 MB  | 0    | 0   |
+-------------------------------------------+


Sysinternals

Sysinternals was founded in 1996 by Mark Russinovich and Bryce Cogswell as a website offering free utilities. Microsoft acquired the entire project in 2006. Today, Sysinternals remains a free resource offered by Microsoft, providing a powerful suite of tools for IT professionals and developers.

Sysinternals offers numerous free tools that help you diagnose issues, optimize performance, and gain deeper insights into how your system operates.


Process Explorer

Process Explorer shows you information about which handles and DLLs processes have opened or loaded.

The display consists of two sub-windows:

  • The top window always shows a list of currently active processes, including the names of their owning accounts.
  • The bottom window depends on the mode:
  • Handle mode: Shows the handles the selected process has opened.
  • DLL mode: Shows the DLLs and memory-mapped files that the process has loaded.

text
Process Explorer
+---------------------------------------+
|  Process Tree (Top Window)            |
|  +-- System                           |
|  |   +-- svchost.exe                  |
|  +-- explorer.exe                     |
|      +-- chrome.exe                   |
+---------------------------------------+
|  Handles / DLLs (Bottom Window)       |
|  kernel32.dll                         |
|  ntdll.dll                            |
|  C:\Windows\System32\config           |
+---------------------------------------+


Autoruns

Autoruns is used to view and manage applications, services, codecs, and other startup items that start automatically when Windows boots or when a user logs in.

It is one of the most comprehensive tools for understanding what runs at startup and is commonly used in malware analysis to detect persistence mechanisms.

text
Autoruns Categories:
+----------------------------+
| Logon                      |
| Explorer extensions        |
| Internet Explorer          |
| Scheduled Tasks            |
| Services                   |
| Drivers                    |
| Boot Execute               |
| Image Hijacks              |
+----------------------------+


DiskMon

DiskMon is a tool designed to monitor and display all disk activity on your Windows system. It shows detailed information about the disk, such as:

  • Read/write operations
  • Sector
  • Length

DiskMon is useful for diagnosing I/O-intensive processes and understanding what is reading from or writing to disk at any given moment.


Summary

Windows provides a rich set of tools for monitoring and managing processes and services. Task Manager is the built-in starting point, covering processes, performance, services, and resource usage. For deeper analysis, the Sysinternals suite — including Process Explorer, Autoruns, and DiskMon — gives IT professionals and security analysts the visibility they need to understand exactly what is running on a Windows system and why.