您的位置:首页 > 大数据 > 人工智能

An error occurred during the execution of xp_cmdshell. A call to 'LogonUserW' failed with error code: '1385'

2009-06-01 17:33 2066 查看
An error occurred during the execution of xp_cmdshell. A call to 'LogonUserW' failed with error code: '1385'

The message for the error code is:
Logon failure: the user has not been granted the requested logon type at this computer.

Actually logon type means "log on as a batch job". The proxy account should have this privilege on the sql server local computer.

Go to "All Programs-->Administrative Tools-->Local Security Policy", navigate to "Local Policies-->User Rights Assignment", find out "log on as a batch job" policy. Add the account which you added in Server proxy account.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐