I'm not a fan of re-posting content but I'm doing it so that the possibility of somebody finding a solution for this error increases.
I was able to start a full or incremental crawl and it would complete successfully and this led to the possibility of some issue with scheduling mechanism. Now SharePoint would leverage Windows tasks scheduler to schedule events from SharePoint and so it makes sense that this error disappears when we explicitly provide the local server group "WSS_WPG" read and write permission on the "Tasks" folder within Windows folder on the Index server.
I received the following error while trying to schedule a crawl on our SharePoint farm:
I was able to start a full or incremental crawl and it would complete successfully and this led to the possibility of some issue with scheduling mechanism. Now SharePoint would leverage Windows tasks scheduler to schedule events from SharePoint and so it makes sense that this error disappears when we explicitly provide the local server group "WSS_WPG" read and write permission on the "Tasks" folder within Windows folder on the Index server.
Here are the steps (Close all explorer windows before performing these steps):
1. Start - Run - type "Cmd" and execute the following command:
attrib -s %windir%\tasks
This is done so that the "Security" tab appears in the Tasks properties window.
2. Right click Windows\Tasks folder and navigate to Properties - Security tab
3. Add the group "WSS_WPG" group with Read and Write permission. Make sure the location is set to local server and not domain because this group is a local group.
4. Start - Run - type "Cmd" and execute the following command:
attrib +s %windir%\tasks
There were few blogs and a MS article that discuss about this issue:
Comments