Andy Talbot Logo

Print This Post Print This Post

How to Disable/Enable SharePoint Alerts

by Andy on August 20th, 2008

I noticed someone came across my blog via google looking for ‘How to Disable SharePoint Alerts’. I didn’t (until now!) have an article on this matter, so in-case that person comes back or you arrived here looking for the same thing, here’s how disable alerts for the web application, enable them again and create a timer job set to run every 5 minutes. This is done via STSADM (these commands also come in handy when you need to add the timer job and kick start alerts if they’ve stopped post 2003 to 2007 migration):

Disable Alerts
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue false -url http://Web_App-URL

Enable Alerts
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue true -url http://Web_App-URL

Set the Timer Job
stsadm -o setproperty -propertyname job-immediate-alerts -propertyvalue “every 5 minutes” -url http://Web_App-URL

NOTE: you can also use -pn in place of -propertyname & -pv inplace of -propertyvalue. e.g.
stsadm -o setproperty -propertyname alerts-enabled -propertyvalue false -url http://Web_App-URL
can aslo be written as
stsadm -o setproperty -pn alerts-enabled -pv false -url http://Web_App-URL

Post to Twitter Tweet This Post

Tags: Alerts