Forum Discussion

Spencer_Simpson's avatar
13 years ago

Error 1314 running powershell script as a post command

It seems simple enough: I'd like to run a PowerShell script as a post job command.   The script does what it should, but when I make it a post job command, Backup Exec refuses to run it, with the following message in the job history:

Error: Could not start Post Job Command < C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -nologo -noninteractive -file "blah.ps1" -test >. Error (1314): A required privilege is not held by the client.

I've searched around and found various suggestions in Symantec support and Technet, none of which seem to make a difference.  I'm backing up a user defined share because there's no way to put a remote agent on the remote server. This also means the media server's remote agent service has to run as a domain user to connect.

The post job command is configured to run on the backup exec media server.     The system logon account is a domain user, and all of the sevices run as te same account on the media server.

I'm not seeing any failure messages in the security log in Windows Event viewer, and the server is configured to audit all such failures.

  • Hi Q This also means the media server's remote agent service has to run as a domain user to connect. Remote agent service never should be ran on domain account ,it should always use local system account to run, so in your case it seems you running it on domain account ,please change it to local system account and try job again Thanks.