I need to run an application through service with delphi
with elevated administrator rights.
I have tried several solutions found here, such as
RunAsAdminAndWaitForCompletion(filename,
Parameters: string; wait: boolean): Boolean;
However the application when run by the service, does not have administrator rights.
A simple impression by the application that was called is not executed because the calling application has no access to the peripherals. How can I make the application running through the service run with admin privileges on the machine.
The user who is logged in to the machine is already an administrator.