Window stations & desktops
The session-side objects that organize visible desktops, input, and GUI isolation.
Guided paths in this branch
Follow a short sequence step by step. Each path links to the first topic; use Read next on each page to continue.
GUI & session UI
Understand sessions, window stations, desktops, USER/GDI objects, and the CSRSS/Win32k plumbing behind the shell.
Step 2 of 4 in this path
Official Microsoft docs
Closest official references related to this topic on Microsoft Learn.
Why it matters
These objects explain secure desktops, Session 0 isolation, and why not every process can just show UI to every user.
Mental model
A window station is the container; a desktop is the currently visible or hidden workspace inside that container.
How it works
- 1Each interactive user session is associated with an interactive window station, commonly Winsta0.
- 2That window station contains desktops such as Winlogon, Default, and ScreenSaver.
- 3Threads attach to a desktop, and only the active input desktop receives visible user interaction.
Key terms
- Winsta0
- The interactive window station for a logged-on session.
- Input desktop
- The currently active desktop that receives user input.
A service that cannot display a dialog to the user
Because services live in Session 0, they are not attached to the logged-in user's interactive desktop and cannot reliably present UI there.
Common misconception
A desktop is not just wallpaper and icons. It is a securable GUI object with its own windows, hooks, and access rules.
You should read next
Ranked from your current topic, related links, branch depth, and any active guided path.
intermediate
USER & GDI objects
Windows, menus, cursors, device contexts, fonts, bitmaps, and the resource model behind the GUI.
Next step in your guided path
expert
CSRSS, Win32k, and session UI plumbing
How user-mode session infrastructure and kernel-side windowing pieces cooperate.
Related topic
intermediate
Session Manager, Winlogon, and the shell
The early user-mode path from system process creation to an interactive desktop.
Related topic
Related topics
Session Manager, Winlogon, and the shell
The early user-mode path from system process creation to an interactive desktop.
Services & background infrastructure
How Windows launches, groups, isolates, and supervises long-running background components.
CSRSS, Win32k, and session UI plumbing
How user-mode session infrastructure and kernel-side windowing pieces cooperate.