HOw to display GUI of an application running under SYSTEM account

Posted on 2007-08-11
Last Modified: 2013-12-04
My application, developed in MFC using VS2005, is running under SYSTEM account. It needs to display some GUI on the user's desktop.

How Can my application display GUI on the Logged in user's desktop.

My application is started using the 'Winlogon Notification Packages'

any help will be appreciated.

Thanks In advance

Question by:Akhterrehan
    LVL 86

    Accepted Solution

    As I wrote in your other question: You can set 'SERVICE_INTERACTIVE_PROCESS' when calling 'CreateService()', it does exactly what it is named after. See also ("Interactive Services")
    LVL 39

    Assisted Solution

    You could write a little GUI app that get started from 'Startup' folder or from 'Run' section in the user's part of registry. The app would go in background after start (there are means to not even show a icon in the taskbar)  and the service would make program-to-program (p2p) communication in order to show messages via that app. That easily can be done via shared memory, or sockets, or pipes ...

    The advantage of doing so is, that you have a easy means to control the service via that, e. g. to restart or stop it  or add some new tasks, or debug ...

    Regards, Alex

    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
    Article by: btan
    The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
    The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
    The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now