Delete properties after changing groups


Hi Suchii,
like others, I have the problem that after a change to the group permissions the configured views does not work anymore. I am not a developer, but I recognized that the assignment of groups to view permissions is written to persistent web properties. Subsequent changes by users to the groups may not be intercepted by the feature. So, the properties contain invalid values after then. When you deinstall the feature it does not help because the properties are not deleted.
Delete the properties variables with Powershell and the views will work and set the list view permissions again.
Best regard


npo wrote Jul 23, 2009 at 8:49 PM

How to delete web property with Powershell

  1. Starting Powershell
  2. Registering SharePoint class
set-executionpolicy RemoteSigned
[System.Reflection.Assembly]:: Load ( "Microsoft.SharePoint,
Version =, Culture = neutral, PublicKeyToken = 71e9bce111e9429c ")
  1. Creating objects $Site and $Web
$SiteName = "http://yourwebsitecollection/" $WebName = "yourwebsite" $Site = new-object Microsoft.SharePoint.SPSite ($SiteName);
$Web = $Site.AllWebs [$WebName];
  1. Looking for property
  1. Deleting property (both types)
$key = "name of View permission keys"

$web.Properties.Remove ($key)
$web.AllProperties.Remove ($key)
$web.Properties.Update ();
$web.Update ();
  1. Done!

npo wrote Nov 3, 2009 at 11:33 AM

There is a great new solution to modifiy all sharepoint properties


grosenbrock wrote Apr 5, 2010 at 5:56 PM

If you want a safer method then you can use SharePoint Designer (Site -> Site Settings -> Parameters) since you will only see custom property bags.

wrote Jul 15, 2010 at 8:17 PM

wrote Feb 14, 2013 at 6:49 PM