Harsh Agarwal
New Member
Member details
- Joined
- Jul 25, 2024
- Messages
- 5
Hi, So i am developing an application which requires admin access for some operations. So i decided to create a win exe that requires admin privileges to start and when it started i used ipc to perform all o/ps that require admin access. This way i ask user for admin credentials once and get all my o/ps performed. Now what issue i am facing is that when i give admin credentials the exe starts to run with admin's user access token. Now i can only have one exe running for all users this way. So i want that my exe should have the same access as admin but it should run in my current user context i.e. my exe should create its applicationData in %AppData% but it should be able to access resources which require admin access.
Is there a way to achieve this
Is there a way to achieve this