How to start and stop working with a window without administrator rights?
My application launch should start my service in the same way that it should stop as soon as it is closed. I can do this with the "Service Controller"
I can install the service with administrator privileges, but you should not ask for administrator privileges to start and stop the service.
Can someone tell me how can I do this using C #?
/ , . , / . .
1:
, , admin. , . . 2
2: "Subinacl.exe", SubInACL - , , , , .
SUBINACL/SERVICE\DomainName\MyService/GRANT = DomainName\USERS = TOP, / .