Monday, August 19, 2013

SharePoint 2010: My Site Root Deletion/Restoration

So playing around in our My Sites and discovered a My Site for SP_Farm.  Went in and deleted as a typical site collection.  BIG MISTAKE.  Apparently when browsing other My Sites you are view a layered root site (/).  By deleting this I broke My Sites for everyone.  To resolve I had to recreate the Site Collection (followed post at Jerry Orman's Blog SharePoint My Site link stops redirecting users to their Personal Site)


  1. Browse Central Administration > Application Management 
    1. Click Create Site Collection 
    2. Select the My Site Web Application 
    3. Set the Title to My Site
    4. For URL, select the "/" option for the root 
    5. Select the My Site Host site template on the Enterprise tab 
    6. Set the SharePoint System account as the owner. 
    7. Click OK
That fixed it (whew thought I would have to recreate all the My Sites from a backup last week).

If you want to remove those service account My Sites there are two ways (GUI /  PS):
  1. GUI (Central Administration)
    1.  Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Central Administration
    2. Application Management
    3. Delete Site Collection
    4. Select Site from Drop Down
    5. Delete
  2. PS (Power Shell)
    1. Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell
    2. STSAdm.exe command-line (stsadm -o deletesite -url http://mysite/personal/bobsmith)

No comments:

Post a Comment