Dec 10
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.


$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
Write-Host $web.AnonymousPermMask64;

You have to run this script for each site collection which has anonymous access enabled


​Privacy Information

This blog is using tracking code for analytics purpose.

No personal data are stored and maintained.

 Share This

 Follow Me On

 Translation Tool

Translate this page