Enable Maintenance Plans in SQL Server EXEC sp_configure 'show advanced options', 1; RECONFIGURE; EXEC sp_configure 'agent xps', 1; RECONFIGURE;