Grant .NET application admin privileges [duplicate]

  admin, c++, privileges, windows

I created a launcher app (C#/Windows Forms) executing installers and configuring workstation of the current user. It will be the unique entrypoint because the user will not have the write permissions on any directory. So, I have to grant this launcher with admin role. But I don’t know how.

Is there a special lib in C# to do it ? Or it’s a Windows command ?

Thank you.

Source: Windows Questions

LEAVE A COMMENT