我有一个Windows批处理脚本,我试图让Veritas集群服务器使用流程代理来控制它。
批处理脚本需要以特定用户的身份运行,但当我试图将资源联机时,会在事件日志中得到以下错误:
Source: AgentFramework
Event ID: 6532
Process:<<resource name>> Failed to launch the program <<path to batch script>>. Error = 1385当我在这里查找错误代码时,它显示为:
Logon failure: the user has not been granted the requested logon type at this computer.因此,有问题的用户帐户无法登录。该用户帐户已经运行了一些服务,并已被授予作为服务登录的权限。我还添加了作为批处理作业的登录,但问题仍然存在。
那么,我需要为该帐户分配哪些权限,以便VCS可以以该用户的身份启动批处理脚本?
操作系统为Windows 2003,VCS为5.0版。
发布于 2011-12-08 22:00:36
打开您的Administrative Tools > Local Security Policy。在Security Settings > Local Policies > User Rights Assignment >下,确保用户设置为Log on as a batch job。
发布于 2011-12-08 19:11:31
检查c:\windows\system32\cmd.exe上的权限--确保用户具有Execute权限。
https://serverfault.com/questions/338932
复制相似问题