您的位置:首页 > 运维架构

Windows中的桌面管理 Window Station and Desktop Creation

2010-10-27 14:50 501 查看
The system automatically creates the interactive window station. When an interactive user logs on, the system associates the interactive window station with the user logon session. The system also creates the default input desktop for the interactive window station (Winsta0/default). Processes started by the logged-on user are associated with the Winsta0/default desktop.

工作站窗口对象是系统自动创建的。当一个交互用户登录时,系统为用户的登录会话关联一个交互的工作站窗口。并且创建一个默认的Input Desktop。登录用户关联到Winsta0/default desktop后,进程开始执行。

A process can use the CreateWindowStation function to create a new window station, and the CreateDesktop or CreateDesktopEx function to create a new desktop. The number of desktops that can be created is limited by the size of the system desktop heap. For more information, see CreateDesktop.

进程可以使用CreateWindowStation 函数创建一个新的工作站窗口,并使用CreateDesktopCreateDesktopEx 函数创建一个新的Desktop。Desktop对象创建数量受系统桌面堆的限制。更多内容,请查询CreateDesktop。

When a noninteractive process such as a service application attempts to connect and no window station exists for the process logon session, the system attempts to create a window station and desktop for the session. The name of the created window station is based on the logon session identifier, and the desktop is named: Default. The discretionary access control lists (DACL) for the window station and desktop grant the following accesses to the service's user account.

当一个非交互界面的进程(比如:服务)试图连接并且进程登录会话没有Window Station存在,系统会尝试创建一个Window Station和Desktop为这个会话。创建的Window Station名称是建立在登录会话标识的基础上的,并且Desktop对象的名称为:Default。Window Station的自主访问控制列表(DACL)并且Desktop准许服务的用户账号进行如下的访问。

Window Station:

WINSTA_ACCESSCLIPBOARD
WINSTA_ACCESSGLOBALATOMS
WINSTA_CREATEDESKTOP
WINSTA_EXITWINDOWS
WINSTA_READATTRIBUTES
STANDARD_RIGHTS_REQUIRED
Desktop:

DESKTOP_CREATEMENU
DESKTOP_CREATEWINDOW
DESKTOP_ENUMERATE
DESKTOP_HOOKCONTROL
DESKTOP_READOBJECTS
DESKTOP_WRITEOBJECTS
STANDARD_RIGHTS_REQUIRED
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐