• Try

    sp_configure 'xp_cmdshell',1;

    reconfigure