Page 1 of 1

Local policy

Posted: Mon May 22, 2006 12:40 pm
by humantool
hi,
i've got a delphi-made service. When i install it on a new computer, i assign it an account In delphi all i have to do, is to assign the properties ServiceStartName and Password, launch my service with the argument /INSTALL and the account used is granted with 'Open session as a service' right.
The problem is when i want to do it automatically in my install program this didn't work !
My question is if your security solution allow me to grant this kind of right by code (see Control panel/Administrative tools/Local policies/Local policy if you don't get what i mean)


Thanks
HumanTool

Posted: Mon May 22, 2006 7:52 pm
by madshi
I'm sorry, I've no idea what exactly needs to be entered into the policy or how that would work. Maybe by accessing the ADS interfaces somehow. I don't think my security units can help you much in this situation.

Posted: Tue May 23, 2006 12:51 pm
by humantool
ok, thanks by the way ! :cry:
i'm going search through my installation program :confused:

regards
Humantool