February 13, 2020 at 1:02 am
Msg 15121, Level 16, State 10, Procedure master..xp_cmdshell, Line 1 [Batch Start Line 2]
An error occurred the execution of xp_cmdshell. A call to 'CreateProcessAsUser' failed with error code: '1314'.
working on migrating from SQL Server 2008R2 to 2017 when creating proxy account and running xp_cmdshell using sqlserver login I am getting the error above.
February 13, 2020 at 1:48 am
Make sure to create the proxy account using sp_xp_cmdshell_proxy_account and specify a Windows account. The OS level permissions can't be granted to a SQL Server login.
Sue
February 13, 2020 at 2:00 am
I created proxy account with windows account with valid permissions.
February 13, 2020 at 3:19 am
And if you also made sure the permissions for the service account are also correct, you may want to double check those permissions. Error code 1314 is : A required privilege is not held by the client.
Sue
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply