Last modified at 3/15/2014 11:45 AM by Koen Zomers

When having SharePoint 2013 Search index a fileshare, you may run into the following error message in the Crawl Log and notice no items were indexed:

The crawl account did not have sufficient privileges to access the security attributes of this file or folder. Ensure the crawl account has the 'Manage auditing and security log' privilege.

This error can be fixed by adding the domain user you have configured as the default search indexer account (or if you have overriden this by configuring a crawl rule with a specific user account, use that instead) to the "Manage auditing and security log" priviledge in the Local Group Policy of the fileserver with the fileshare you're trying to index. To do this, follow these steps:

  1. Log on to the server with the fileshare you're trying to index

  2. Using start -> run / Windows + R / a command prompt / a PowerShell window, run:

    gpedit.msc

  3. Navigate to:

    Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment

  4. Look for the option named "Manage auditing and security log", right click on it and select properties

    sp2013-search-manageauditing-gpedit.png

  5. Click on the "Add User or Group" button and add the domain user account which is being used to index the fileshare on this server

    sp2013-search-manageauditing-gpedit-adduser.png

  6. Now try running a Full Crawl on the fileshare content source again. It should now succeed.