Enable Agent XP in SQL Server

By default Agent XP is disabled in the Sql Server. It is required to create different jobs on the Sql Server. Any attempt to access it might result in the following error:

Agent XP can be enabled by the following 2 ways:

1) SQL Server Configuration

To enable it rt click the SQL Server and follow these steps

2)SQL Query

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

Now you can see in the following image, that Agent xp has been enabled.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.