1
I need to run an application through service on delphi
with high administrator rights.
I have tried several solutions found here, such as
RunAsAdminAndWaitForCompletion(filename,
Parameters: string; wait: boolean): Boolean;
However the application when it is executed by the service, is without administrator rights.
A simple print by the calling application is not executed, because the calling application has no access to the peripherals. How can I get the application running through the service to run with administrator privileges on the machine.
The user who is logged in to the machine is already an administrator.
I used Delphi XE5 in a VCL project - Forms Application, I don’t know what version of Delphi you are using there.
– Henrique Marti