To correct this
Open a new query and paste the following:
In the query window type the following:
sp_configure ‘show advanced options’, 1;
sp_configure ‘Agent XPs’, 1;
After you run it you should expect to see the following in the message window.
Configuration option ‘show advanced options’ changed from 0 to 1. Run the RECONFIGURE statement to install.
Configuration option ‘Agent XPs’ changed from 0 to 1. Run the RECONFIGURE statement to install.
If you want to disable either just replace the 1 with a 0.