SharePoint Reinstallation after Domain Controller Crash RRS feed

  • Question

  • Well our SharePoint Server which was installed on our Domain Controller, had a total server crash. We had to completely change the hard disks and redo Active Directory from scratch and recreate the same domain.

    Now the databases are safe in another server, hosted on SQL 2008. We rejoined this server back to the new domain.

    On the new DC, we have installed SharePoint 2007 SP2 with Arabic language Pack Sp2. Now is there some guide which I have to follow as to get SharePoint working again.

    MVI - Most Valuable Indian

    Sunday, April 21, 2013 4:00 PM


  • 1. As a best practice you shouldn't install SharePoint on a domain controller. If you can avoid it, I would suggest with your new farm you keep the two roles on different servers.

    2. Is there a reason you created a new domain rather than perform an AD DS restore from backups? The new domain, while it may have the same name is a different domain and SharePoint will see the users are different. You will need to migrate all the users from the old domain to the new domain in SharePoint using the migrateuser stsadm operation. More on this shortly.

    At a high level, your procedure will be this:

    1. Install SharePoint to the server(s) you will use for the farm. Make sure to install all cumulative updates and service packs that were previously installed. You can install newer updates if you're not sure what was installed.

    2. Configure services and web applications as needed

    3. Deploy farm solutions and other customizations.

    4. Attach the content databases to the appropriate web applications with the addcontentdb stsadm operation

    5. Test accessing the content with an administrator to ensure it looks as expected.

    6. Migrate all users in the farm from their "old" domain to the "new" domain:

    Basically the usernames haven't changed (unless you changed these) so you'll need to write a batch file or PowerShell script that basically runs something like the following:

    stsadm -o migrateuser -oldlogin DOMAIN\user1 -newlogin DOMAIN\user1 -ignoresidhistory

    Do this for every user.

    Jason Warren
    Infrastructure Architect

    Monday, April 22, 2013 1:23 PM