Every day, the Administrator do his normal stuff as usual, but sometimes when he tries to take a backup for a site collection, the progress of backing up data is too slow, then he canceled the process and tried another one, while he received a call from end user that his site is turned into Read Only!
The normal diagnostic is checking “Configure quotas and locks” from Central Administration, but after a quick look you will find it disabling all its options like below:
So what’s the solution?!
Fortunately, Microsoft provides us with a very easy solution by a few lines of PowerShell commands:
- Open SharePoint Management Shell using Administrator account
- In the PS prompt type accurately the following lines:
PS C:\Users\Admin> $SiteUrl = new-object Microsoft.SharePoint.Administration.SPSiteAdministration(‘http:// sitecollectionurl’) PS C:\Users\Admin> $SiteUrl.ClearMaintenanceMode()
After that the Read Only message and state will be ended, and you can take backup or do regular work.