I've got a Windows batch script which I'm trying to get Veritas Cluster Server to control using the process agent.

The batch script needs to run as a particular user, but when I try to online the resource I get the following error in the event log:

Source: AgentFramework

Event ID: 6532

Process:<<resource name>> Failed to launch the program <<path to batch script>>. Error = 1385

When I look up that error code here, it shows as:

Logon failure: the user has not been granted the requested logon type at this computer.

So the user account in question can't log on. That user account already runs some services, and has been granted the Logon as a service right. I've also added the Log on as a batch job right, but the problem persists.

So what rights do I need to assign to that account so that VCS can start a batch script as that user?

The operating system is Windows Server 2003, and VCS is version 5.0.


Open your Administrative Tools > Local Security Policy. Under Security Settings > Local Policies > User Rights Assignment > Make sure your user is set to Log on as a batch job.


Check the rights on c:\windows\system32\cmd.exe - make sure the user has Execute permissions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.