Accessing the Application Desktop from a Service (115825)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows NT 3.5
- the operating system: Microsoft Windows NT 3.51
This article was previously published under Q115825 SUMMARY
Under Windows NT, version 3.1, if you want a service to have access to the
application desktop, you must run the service in the LocalSystem account. A
service process running in the LocalSystem account (or a process started
from such a service) can display message boxes, windows, and dialog boxes.
Processes that are running in the LocalSystem account are not terminated by
the system during logoff. A number of changes were made to Windows NT,
version 3.5, that affect the way Windows NT interacts with these services.
In addition, Windows NT 3.51 has a richer set of desktop APIs.
NOTE: Running interactive services under the system account is a VERY
dangerous practice. This is especially true of the command processor and
batch files. A user who wants to control the system can just hit CTRL+C
to get an interactive system command prompt.
Modification Type: | Major | Last Reviewed: | 3/16/2004 |
---|
Keywords: | KB115825 |
---|
|