winsta0,session,desktop,winlogon,default

本文深入解析Windows系统中窗口站与会话的概念,解释它们之间的层级关系和作用,通过实例展示如何在不同会话下管理窗口站与桌面。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

A window station is an objectthat contains a clipboard, a set of global atoms and a group ofdesktop objects. Only one window station per session is permittedto interact with the user. This window station is named "Winsta0."Every window station belongs to a session. Session 0 is the sessionwhere services run and typically represents the console(pre-Vista). Any other sessions (Session 1, Session 2, etc) aretypically remote desktops / terminal server sessions, or sessionsattached to the console via Fast User Switching. So to summarize,sessions contain one or more window stations, and window stationscontain one or more desktops.

     You can picture the relationshipdescribed above as a tree. Below is an example of this desktop treeon a typical system:

- Session 0

| |

| ---- WinSta0 (interactive window station)

| | |

| | ---- Default (desktop)

| | |

| | ---- Disconnect (desktop)

| | |

| | ---- Winlogon (desktop)

| |

| ---- Service-0x0-3e7$ (non-interactive window station)

| | |

| | ---- Default (desktop)

| |

| ---- Service-0x0-3e4$ (non-interactive window station)

| | |

| | ---- Default (desktop)

| |

| ---- SAWinSta (non-interactive window station)

| | |

| | ---- SADesktop (desktop)

| |

- Session 1

| |

| ---- WinSta0 (interactive window station)

| | |

| | ---- Default (desktop)

| | |

| | ---- Disconnect (desktop)

| | |

| | ---- Winlogon (desktop)

| |

- Session 2

|

---- WinSta0 (interactive window station)

|

---- Default (desktop)

|

---- Disconnect (desktop)

|

---- Winlogon (desktop)

----to be continued


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值