Home All Groups Group Topic Archive Search About

Show Msgbox in SYSTEM account

Author
2 May 2007 11:39 AM
joel_dizon
Hi,

I have an application to be run as Local System Account, it suppose to
show a msgbox to the user but it doesnt show anything.

I know that app run as system is not visible but is there any other
way to show something?

Thanks in advance.

Rgds,
Joel

Author
2 May 2007 1:23 PM
Newbie Coder
Joel,

Is it a service?

--
Newbie Coder
(It's just a name)

<joel_di***@yahoo.com> wrote in message
Show quoteHide quote
news:1178105944.053314.239240@y80g2000hsf.googlegroups.com...
> Hi,
>
> I have an application to be run as Local System Account, it suppose to
> show a msgbox to the user but it doesnt show anything.
>
> I know that app run as system is not visible but is there any other
> way to show something?
>
> Thanks in advance.
>
> Rgds,
> Joel
>
Author
2 May 2007 2:09 PM
jeff
if this is a service ... it is a bad idea to show the user a message box ...
this could freeze the service.

however, if you do want to run this as a service and have a messagebox
appear for a user...

Go to the administration tools > Services > find your service > properties >
second tab (Log On) information , check the 'Allow Service to interact with
desktop' ..

Jeff.

<joel_di***@yahoo.com> wrote in message
Show quoteHide quote
news:1178105944.053314.239240@y80g2000hsf.googlegroups.com...
> Hi,
>
> I have an application to be run as Local System Account, it suppose to
> show a msgbox to the user but it doesnt show anything.
>
> I know that app run as system is not visible but is there any other
> way to show something?
>
> Thanks in advance.
>
> Rgds,
> Joel
>
Author
3 May 2007 1:18 PM
Chris Dunaway
On May 2, 9:09 am, "jeff" <jhersey at allnorth dottt com> wrote:

> Go to the administration tools > Services > find your service > properties >
> second tab (Log On) information , check the 'Allow Service to interact with
> desktop' ..

Be advised that this will no longer work on Windows Vista
Author
2 May 2007 2:19 PM
Phill W.
joel_di***@yahoo.com wrote:

> I have an application to be run as Local System Account, it suppose to
> show a msgbox to the user but it doesnt show anything.
That's to be expected.

Services [used to] run an a "virtual desktop" that nobody can actually
get to see.  Popping up a dialog in this way would hang the service
process, so it's actively prevented, with the message usually going to
the Event Log instead.

I believe that the ability for Services to "interact with the desktop"
is being /removed/ from newer versions of Windows.

> I know that app run as system is not visible but is there any other
> way to show something?

Lots - most of which will require a process to be running in the user's
interactive session.

Regards,
    Phill  W.
Author
3 May 2007 4:30 AM
joel_dizon
Hi Phill, Jeff,

Thanks for your replies.

This is just a plain VB.Net application intended to run by Altiris (as
System). It displays a msgbox that tells user to restart the pc (yes/
no). I just want this msgbox to appear.

Can anybody guide me how to do this?
Thanks.

Rgds,
Joel



Phill W. wrote:
Show quoteHide quote
> joel_di***@yahoo.com wrote:
>
> > I have an application to be run as Local System Account, it suppose to
> > show a msgbox to the user but it doesnt show anything.
> That's to be expected.
>
> Services [used to] run an a "virtual desktop" that nobody can actually
> get to see.  Popping up a dialog in this way would hang the service
> process, so it's actively prevented, with the message usually going to
> the Event Log instead.
>
> I believe that the ability for Services to "interact with the desktop"
> is being /removed/ from newer versions of Windows.
>
> > I know that app run as system is not visible but is there any other
> > way to show something?
>
> Lots - most of which will require a process to be running in the user's
> interactive session.
>
> Regards,
>     Phill  W.