http://www.sqlserver-expert.com/2015/04/enable-and-disable-xpcmdshell-using.html Enable and Disable xp_cmdshell using SP_CONFIGURE You can enable or disable xp_cmdshell by using the Policy-Based Management or by executing sp_configure. This option enables system adms to control wheather the xp_cmdshell extended stored procedure can be executed on a system. By default this is o..