Service interaction with user

  • Thread starter Thread starter rajendersaini
  • Start date Start date
R

rajendersaini

Hi

we have an application which runs as windows nt service .It
frequently interacts with user and shows many dialog boxes .

But on windows vista it is throwing security dialog for each dialog
box service is trying to show to user for interaction .

How to avoid this security dialog box ?


Thanks,

Rajender saini
 
Hi

we have an application which runs as windows nt service .It
frequently interacts with user and shows many dialog boxes .

But on windows vista it is throwing security dialog for each dialog
box service is trying to show to user for interaction .

How to avoid this security dialog box ?


Thanks,

Rajender saini


This is the correct behavior - you need to rewrite your service to stop
interacting with the logged on on user. Service should not need to interact
with a logged on user as by definition they are background tasks that run
irrespective of their being anyone logged on or not.
Secondly the service if it does need to interact with the ser should be
written to use the appropriate level of permission to avoid the necessity to
through the dialog box and should also NOT open any dialogs on the console
window but actually on the current logged in user session window (this is
one of the causes for your security pop up message and then the user
switching to a screen to handle the interaction.)
There is lot of developer documentation available for you to rewrite your
application to behave properly on a Windows Vista system and not behave in
this legacy manner.
If this is a third party application then they will need to rewrite it to
make it more compatible with Vista.
 
Back
Top