Enable Agent

 

---
--- enable SQL Agent and Maintenance plans. Just needs to be run once per server
---

sp_configure 'show advanced options', 1; 
GO 
RECONFIGURE; 
GO 
sp_configure 'Agent XPs', 1; 
GO 
RECONFIGURE 
GO