Windows API reference

WTSEnumerateSessionsW

Lists Remote Desktop sessions and their state on a terminal server.

Library
Wtsapi32.dll
Category
Enumeration
Suspicion
medium

Detection summary

WTSEnumerateSessionsW has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Task managers, EDR agents, installers, backup tools and inventory software.

Open WTSEnumerateSessionsW in the interactive atlas