INFO: Services, Desktops, and Window Stations (171890)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows NT 3.51
- the operating system: Microsoft Windows NT 4.0
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows XP
This article was previously published under Q171890 SUMMARY
A Microsoft Windows NT, Windows 2000, and Windows XP service has a Window station and Desktop combination associated with it. This is based on which account the service is running in:
- If the service is running in the LocalSystem account and is not interactive
(that is, the service type does not include the SERVICE_INTERACTIVE_PROCESS
flag), the service will use the following Window station and Desktop:
where "Service-0x0-3e7$" is the name of the Window station and "default" is the name of the desktop.
This is a noninteractive Window station. - If the service is running in the LocalSystem account and is interacting
with the desktop (that is, the service type includes the
SERVICE_INTERACTIVE_PROCESS flag), the service will use the following
Window station and Desktop:
This is an interactive Window station.
- If the service is running in the security context of a user account, the
system will create a unique noninteractive Window station and Desktop for
that service. The name of the Window station will be based on the Logon
Security Identifier (SID) of the user:
Service-0xZ1-Z2$\default where Z1 is the high part and Z2 is the low part
of the Logon SID.
Additionally, two services that are running in the same security context (same service account name) will not receive the same Window station and Desktop because Logon Security Identifier's(SID) are unique to that logon session.
Modification Type: | Major | Last Reviewed: | 4/9/2004 |
---|
Keywords: | kbinfo kbKernBase kbService KB171890 |
---|
|