-1

My question relates to another similar:

How to configure app to run in elevated mode from Standard User Account?

Generally I am curious:

What should I do to configure my .NET the application to run under Standard User Account without needed elevated mode? (To get rid of the window: Do you want to allow the following program from an unknown publisher to make changes to this computer.)

Thanks in advance

John
  • 127

1 Answers1

0

If I'm understanding your query correctly, you would like your application to be able to perform privileged operations without UAC prompts.

in order to do that, MS expects you to architect your application as two separate components, a service running in system-space, and a client application in user-space. that way the service is running in an elevated state, and is started by an high integrity process, but the client connecting to it need not do so.

Of course, installing, registering, and starting a service requires admin, but once installed and rebooted, any user with access to the application should be able to invoke the privledged service component without additional privldges for the interactive user.

Frank Thomas
  • 37,476