Getting execute permission to xp_cmdshell
For users that are not members of the sysadmin role on the SQL Server instance you need to do the following actions to grant access to the xp_cmdshell extended stored procedure. In addition if you forgot one of the steps I have listed the error that will be thrown. Enable the xp_cmdshell procedure Msg 15281, … Read more