Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

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.

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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