Friday, February 25, 2011

Access denied while doing a restore

I recently faced the problem of having powershell and normal command line stsadm giving me the "Access denied" error when trying to restore a sharepoint site.
Here is how I fixed it.
1. Run cmd or powershell as an administrator
2. Make sure that you are a farm admin
3. Make sure the user belongs to the following groups:
  • Administrators
  • IIS_WPG 
  • WSS_WPG
  • WSS_ADMIN_WPG 
  • WSS_RESTRICTED_WPG
And that fixed my issue.

No comments:

Post a Comment