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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值