We would like to develop a windows 10 device, with our software suite embedded into it. This device will have two accounts: an admin account and a limited account. The final user (located worldwide) will use the limited account and will not know the admin password.
The problem we are facing is we wasn't able to run a software with both a gui and admin permissions (i.e. the setup for updating our software suite).
Till now we tried:
- running the process from a windows service : the process starts with admin rights, but no gui is showed
- running the process from a windows service impersonating current user: the process shows the gui, but no admin permission
- running the process from a windows service impersonating the admin: same result in 1.
- running process with task scheduler : no luck with both admin (no gui) and limited account (no admin rights)
- running process with psexec (from sysinternals pstools): same results as above.
Are there any workaround for launching an admin process with user interface from a windows service? I know we can have a service with admin rights comunicating with a non admin gui process (using named pipes, mqtt or...), but this is not feasible with an installshield (or nsis or...) setup.
Or are there any other solution to our problem?
Thanks for any reply.