Regular user to start app in admin mode

Naveen Vuppala 21 Reputation points
2023-11-21T16:31:47.2466667+00:00

Hi,

I would like to start an application A through a .NET application B where I can store admin password.

.NET application B is started by standard user and the application I want to start Application A which requires admin previliges to execute.

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 91,396 Reputation points
    2023-11-21T20:19:18.5533333+00:00

    Use "runas" verb to execute a process as Admin, like :

    https://pastebin.com/P3V1Jf1m

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.