Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

assigning "Log on as a service" policy to an accou

1 reply to this topic


  • Full Members
  • 2 posts

Posted 29 November 2006 - 22:02

I'm working on an installer for a windows service. I allow the user to specify a user/pass for the service to run as because LocalSystem is insufficient for this service. If the account the user provides does not have the "Log on as a service" policy assigned to it - admin accounts do not have this policy assigned to them by default, I want to atleast attempt to assign that policy to the account, then continue with the install if successfully or report failure.

Is this a situation that requires a C++ custom action?

Does anyone know of any good resources for this scenario?

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 30 November 2006 - 22:50

Is this a situation that requires a C++ custom action?