When running a command to restart a remote instance (in this case a batch file) I get the following eror:Execute command (with credentials): CreateProcessAsUser() failed with error 1314
>From some brief reading on the web in attempts to solve the issue I see the >following reference from here http://msdn.microsoft.com/en-us/library/ms682429%28VS.85%29.aspx (http://msdn.microsoft.com/en-us/library/ms682429%28VS.85%29.aspx) Typically, the process that calls the CreateProcessAsUser function must have the SE_ASSIGNPRIMARYTOKEN_NAME and SE_INCREASE_QUOTA_NAME privileges. If this function fails with ERROR_PRIVILEGE_NOT_HELD (1314), use the CreateProcessWithLogonW function instead. CreateProcessWithLogonW requires no special privileges, but the specified user account must be allowed to log on interactively. Generally, it is best to use CreateProcessWithLogonW to create a process with alternate credentials. This is running version 2460 on a windows 7 box. I know that Server 2008 and Windows 7 are not yet supported. I have it running as an application right now running as a domain administrator. Jason Passow Network Administrator Mississippi Welders Supply http://www.mwsco.com (http://www.mwsco.com) [email protected] (mailto:[email protected]) ph: (507) 494-5178 fax: (507) 454-8104 To unsubscribe send a message with UNSUBSCRIBE in the subject line to [email protected] If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list.
