SharePoint – August cumulative update and search results from anonymous web site (follow up)

Following my previous post about this issue (, the script provided by the Microsoft Support has been updated and works fine.   [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") $siteUrl = "<site collection URL>";$site = New-Object Microsoft.SharePoint.SPSite($siteurl);$web = $site.OpenWeb(); $enumPerms = [Microsoft.SharePoint.SPBasePermissions]; Write-Host $web.AnonymousPermMask64;$web.AnonymousPermMask64 = $enumPerms::ViewListItems -bor $enumPerms::ViewVersions -bor $enumPerms::ViewFormPages -bor $enumPerms::Open -bor $enumPerms::ViewPages -bor $enumPerms::UseClientIntegration -bor $enumPerms::OpenItems$web.Update();Write-Host $web.AnonymousPermMask64; $web.Dispose();$site.Dispose(); ​​ You have to run this script for each site collection which has anonymous access enabled

Read More