SBS 2003 to SBS 2008 Migration to a Different Domain Name
[Today's post comes to us courtesy of Wayne McIntyre and Justin Crosby ]
There are many reasons why a company may need or want to change their domain name, there could have been a company merger/split, the current domain name is too long or not to their liking, or simply the company’s name has changed.
This post will describe the migration process from SBS 2003 to SBS 2008 when you need to change your domain name. If you do not need to change your domain name please follow the SBS 2003 to SBS 2008 Migration white paper found here http://technet.microsoft.com/en-us/library/cc546034.aspx as this is the recommended method.
- The Active Directory Migration Tool agent will not successfully deploy to your client computers due to authentication issues. The computers in your domain will have to be disjoined from the old domain and rejoined to the new domain manually. An additional step is required to recover the profile which is covered in the Active Directory Section of this article.
- Exmerge has a 2gb PST file size limitation, Mailboxes larger than 2gb’s will have to be exported using Outlook.
- Since you are migrating to a new domain using exmerge, an additional step is required to add an X500 Proxy address to restore calendar and reply to functionality of old messages and calendar items.
This blog will demonstrate moving from Tailspintoys.local to Contoso.local.
SBS 2008 Installation
Install SBS 2008 using the clean/new install method which will create a new domain name that you select during setup. If you want to use a TLD other than .Local you will need to create an answer file using the answer file generator to enter advanced mode setup. For more info see http://blogs.technet.com/sbs/archive/2009/01/02/introducing-the-windows-sbs-2008-answer-file.aspx
You should now have 2 separate domains and servers configured on your network working autonomously. The next step is to make sure each server can perform DNS resolution of the other domain. I personally like to configure conditional forwarders for this purpose, which is described below.
- Open the DNS console from Administrative Tools.
- Right-click the server name and select properties.
- From the forwarders tab click new and specify the SBS 2008 domain name.
- Specify the selected domain’s forwarder IP address, which will be the IP of the SBS 2008 server itself and then click OK or Apply.
Open DNS management from Administrative Tools.
Right-Click on the Conditional Forwarders folder and select New Conditional Forwarder
Note: Ignore the error, if you check the properties of the conditional forwarder afterwards it shows up as valid.
You should now be able to resolve both domains from both servers.
We now need to install the Active Directory Migration Tool v3.0. The reason why we are using v3.0 and not 3.1 is because we are going to run ADMT from the 2003 server. There are a number of reasons for this, one being that ADMT v3.1 does not install on SBS 2008 without modifying a registry key first, and secondly ADMT v3.1 does not seem to accept the work around to bypass the trust requirement of ADMT. You can download ADMT 3.0 from http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=6f86937b-533a-466d-a8e8-aff85ad3d212.
Since ADMT normally requires a trust we cannot simply launch the GUI and begin our migration we need to use the below command line to launch ADMT on the SBS 2003 server and enter the password for the SBS 2008 domain names administrator account when prompted. This will allow us to bypass the trust requirement by using pass thru authentication.
Runas /NetOnly /user:2008domainname\AdministratorAccount "MMC \"%windir%\ADMT\Migrator.msc\""
We can now begin the process of migrating users, groups and computer accounts. The below steps will demonstrate the migration of user accounts.
From the Action menu select User Account Migration Wizard and select Next
Choose Select users from domain then click Next
In the Account Transition Options check the box for “Migrate user SIDs to target domain”. If you get prompted to enable auditing on source/target server and to create a group just select yes to all three prompts as they are required to migrate SIDs*.
You should then see the screen with your accounts migrating without error.
You can also verify that the user accounts you chose to migrate now show up in the target Domain.
You can now run the group account migration wizard which will go thru similar steps to migrate any groups you have.
As noted in the limitations you will have to disjoin your client computers from the old domain and rejoin them to the new domain manually (* you should do this as the very last step after the mail has been moved over as well). If you wish to recover the users profile you can follow the below KB article, it will work with XP and Vista clients as well: 324734 How To Restore a User Profile in Windows Server 2003
Once we have the users on both domains, the next step will be to get the user mail over to the new server. First we will need to create a mailbox for the users in Exchange 2007.
- Open Exchange Management Console
- Expand Recipient Configuration and select the Mailbox Node
- On the Actions Pane select New Mailbox
- Choose the option for User Mailbox and click Next
- Select Existing users and click the add button to add the users you had just migrated then click Next.
- Select your Mailbox database then click Next
- Click New on the next screen and it should complete without errors and the users should now have mailboxes on the new SBS 2008 domain.
Once the users have mailboxes, we need to run the change user role wizard from the SBS console.
- From the Users and Groups tab in the SBS console under the Tasks pane select Change user role for user accounts.
- Choose the Standard User and add user permissions or settings option then click Next.
- Select the box that says “Display all user accounts in the Active Directory”, select all the users you had just migrated click Add, then Change user role.
- The change user role should complete successfully and your users should now show up in the SBS console.
Now, we have user accounts, and they have mailboxes, however these mailboxes are empty other than the welcome message and any new mail that may be coming in. We now need to migrate the users mailbox from the old SBS 2003 Exchange Server to the new SBS 2008 server with Exchange 2007.
From the SBS 2003 server we recommend you use exmerge to export the user’s mailboxes to PST files. Below are some links that will help you get started with exmerge if you have never used it before.
Exmerge download: http://www.microsoft.com/downloads/details.aspx?FamilyID=429163ec-dcdf-47dc-96da-1c12d67327d5&displaylang=en
Exmerge permissions: http://technet.microsoft.com/en-us/library/aa996410(EXCHG.65).aspx
Exmerge KBs: http://support.microsoft.com/kb/174197 and http://support.microsoft.com/kb/265441
Once we have all the users mail from 2003 to PST files, follow this blog post on how to import PST files into Exchange 2007: http://blogs.technet.com/sbs/archive/2009/01/13/sbs-2008-how-to-export-and-import-mailboxes-to-and-from-pst.aspx
To correct the issue with replying to old mail and calendar items not being modifiable you will need to update the x500 address for the user accounts. Follow this blog post on how to do so: Cannot Reply To Old Emails Or Modify Old Calendar Items After PST Mail Migration.
If you need to migrate Companyweb data follow the below steps.
Steps to perform on Source (SBS 2003) server:
- Install SharePoint 2.0 SP 3.
- Complete the “To run the Prescan tool on the Source Server” steps from http://technet.microsoft.com/en-us/library/cc527602(WS.10).aspx.
- Stop the MSSQL(SharePoint) service.
- Copy the STS_servername_1 database files (.mdf and .ldf) to destination server.
Steps to perform on Destination (SBS 2008) server:
- Complete all of the steps from http://technet.microsoft.com/en-us/library/cc527482(WS.10).aspx.
- Complete the “To configure the internal Web site (CompanyWeb) to allow access from Windows Small Business Server 2008” steps from http://technet.microsoft.com/en-us/library/cc527602(WS.10).aspx.
- Open the Internet Explorer® Internet browser and browse to http://companyweb.
- On the Home page, click Site Actions and choose Site Settings.
- On the Site Settings page, in the Users and Permissions section, click Advanced permissions.
- On the Permissions page, do the following:
- Click New, Add Users.
- In Add Users, type Windows SBS SharePoint_OwnersGroup.
- In Give Permissions, select the Full Control check box.
- Uncheck Send welcome e-mail to the new users and click OK.
- Repeat step 6 for Windows SBS SharePoint_MembersGroup and give Design permissions.
- Repeat step 6 for Windows SBS SharePoint_VisitorsGroup and give Read permissions.
- Verify any custom permissions on individual libraries.