SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


sql server Agent proxy account to execute jobs


sql server Agent proxy account to execute jobs

Author
Message
L_avital
L_avital
SSC Veteran
SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)

Group: General Forum Members
Points: 255 Visits: 211
Hello, I am created a proxy account for SQL Server Agent (sql server 2000, sp4)as described by microsoft. IT created a domain user with needed permissions. I added this proxy executing xp_sqlagent_proxy_account 'SET', 'DomainName', 'AccountName', 'AccountPassWord'
Then ran msdb..sp_set_sqlagent_properties @sysadmin_only = 0
Then executed xp_sqlagent_proxy_account 'GET' to make sure it is there.
Then gave this loggin access to master db and execute permissions on xp_cmdshell (maybe not necessary).
Granted userdb access to testuser, sql loggin that will be the job owner.
also granted this testuser exec on xp_cmdshell.
The job is to execute a simple select of one field and put in a txt file on D:/admin on the server.
When executed got this error:
xp_cmdshell failed to execute because CreateProcessAsUserW returns error 1314. please make sure the service account SQL Server running under has appropriate privilege.
I checked the privileges of proxy on the server and it had all but Increase Quotas . Can this be a reason for the failure? Also if it is what quotas are these in case I need to add it?
LL
john j serna
john j serna
Valued Member
Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)

Group: General Forum Members
Points: 56 Visits: 352
Hi, yo must set your SQL Server service account as a local adminsitrator of Windows
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search