Hello,
First of all I apologize because I misunderstood your question. I'm afraid we don't have predefined support for setting the "SeBatchLogonRight" policy for a specific user account. However, in order to achieve what you want you can try to create a custom action which will set the "SeBatchLogonRight" policy for the created user account. The custom action should be scheduled after "Install Execution Stage -> Add Resources" action group and should run as deferred with no impersonation.
For example, you can create your custom action as
a custom action written in C# or
a custom action written in C++.
Also, you can add the created user account (from our "Users and Groups" page) to Administrator group (in the "Member Of" section from "User Account Properties" right pane) and see if the behavior still persist.
Here are the steps to proceed:
- add your user account in "Users and Groups" page
- add the schedule task in "Schedule Tasks" page
- go to "Custom Actions" page and add a custom action which will set the "SeBatchLogonRight" policy for the created user account
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging