NT Service working on LocalSystem. Can ordinary user start such service?
I've tried this:
scmHandle = OpenSCManager(NULL, NULL, SC_MANAGER_CONNECT);
[...]
scHandle = OpenService(scmHandle, "CapNetSrv", SERVICE_START);
[...]
OpenSCManager working but OpenService return error: "The handle does not
have access to the service."
There is any way to start such service? Should I do something by create
service to give ordinary user start service?
--
Thanks in advance for any help or suggestions
Best regards,
Pawel.