Elham Hamiti

Elham Hamiti

  • NA
  • 109
  • 54.7k

Make my application start with Administration right when Windows Log on

Jan 23 2011 9:56 AM
Hi to everyone, I have completed an application in C# that read and write data in database, also i have made it to run automatically when Windows Start, and to save automatically the data when application detect that ShutDown has started.

But i have a problem when windows log on the error message appears "Login Failed for user .....". If I right click and go with Run as Administrator it does not have problem, but is not right always to do that.
So i ask you how to make my application automatically to run with administration rights... I read something about manifest file but is not clearly described.

Thnx.

Answers (11)