Migrate Server 2008 to 2012, In this blog, I am using my Server2008 (windows server 2008 R2 STD SP1) and my SRV2012 (new Windows Server 2012 Standard)
Migrate Server 2008 R2 Active Directory To Server 2012
1- First we need to use a domain account which is a member of Domain Admins and Enterprise Admins Groups and member of the Schema Admins group. I am using the domain Administrator account which is already a member of all these groups.
![server 2008 administrator properties](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-administrator-properties.jpg)
How to Raise the Forest Functional Levels and Domain Functional Levels in Windows Server 2008 R2.
2- Click Start, select Administrative Tools, then Active Directory Domains and Trusts.
![server 2008 administrator tools](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-tools.jpg)
3- Right-click Active Directory Domains and Trusts and then select the Raise Forest Functional Level.
![server 2008 domains and trusts](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-domain-and-trust.jpg)
4- Select an available forest functional level “Windows Server 2008 R2 and then click Raise.
![server 2008 raise forest functional level](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-raise-forest-functional-level.jpg)
5- Click OK.
![server 2008 raise the forest functional level](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-raise-the-forest-functional-level.jpg)
6- The functional level was raised successfully, so click ok.
![forest functional level raised successfully](https://xpertstec.com/wp-content/uploads/2019/09/functional-level-raised-successfully.jpg)
Now Raising the Function Level of the Domain
7- Right click on the Domain name, (xpertstec.local) and then click Raise Domain Functional Level.
![server 2008 raise domain functional level](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-raise-domain-functional-level.jpg)
8- It has already got raised the Domain Functional Level to Windows Server 2008 R2, so click Close.
![server 2008 current domain functional level](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-current-domain-functional-level.jpg)
Prepare the Active Directory Schema for Windows Server 2012
9- Insert the Windows Server 2012 installation disk into the Windows Server 2008 R2 Domain Controllers.
10- Click Start > right click prompt > select Run as administrator.
![server 2008 how cmd](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-how-cmd.jpg)
11- Type D: and press Enter D is the windows server 2012 installation disk.
12- Type the command cd d:supportadprep
![server 2008 adprep command](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-command-prompt.jpg)
13- Now type adprep /forestprep
![server 2008 adprep forestprep command](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-adprep-forestprep.jpg)
14- Type the letter C and then press enter
![server 2008 adprep command](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-adprep.jpg)
15- And then type adprep /domainprep and then press enter.
![server 2008 domainprep command](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-domainprep.jpg)
![server 2008 adprep domainprep command](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-adprep-domainprep-1.jpg)
Install Windows Server 2012 and join it to the Windows Server 2008 Domain Controller.
17- How to Install Windows Server 2012, Click here
18- How to change the computer name in Windows Server 2012, Click here
19- You will also need to set up the IP Address of the SRV2012 server.
![server 2012 desktop](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-desktop-1.jpg)
![internet protocol ipv4 properties](https://xpertstec.com/wp-content/uploads/2019/09/network-ip-address.jpg)
How to Join Windows Server 2012 to a Domain Controller.
21- How to Join Windows Server 2012 to a Domain, Click here.
22- After the server reboots, we need to logon to the server with a domain administrator username. So Click on the Switch User button.
![server 2012 user login](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-user-login.jpg)
23- Click other user.
![server 2012 other user](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-other-user.jpg)
24-Type the domain administrator username and password. The domain name will be replaced beside Sign in to :xpertstec
![server 2012 domain login](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-domain-login.jpg)
Setup Additional Domain Controller
25- How To Create Additional Domain Controller (ADC) In Windows Server 2012, Step by step, Click here.
26- After setting an Additional Active Directory Domain Controller.
![server 2012 desktop](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-desktop-2.jpg)
Transferring the Flexible Single Master Operations (FSMO) Role.
I have a Windows Server 2008 Domain Controller ( server2008 ) and have an additional Windows Server 2012 domain controller (SRV2012). to finish the migration, we’d like to transfer 5 FSMO roles to the new domain controller.
- Schema Master
- Domain Naming Master
- PDC
- RID pool manager
- Infrastructure Master
27- To find who is currently holding FSMO > open command prompt > so run the following command, netdom query fsmo
![netdom query fsmo server 2008](https://xpertstec.com/wp-content/uploads/2019/09/netdom-query-fsmo-2008.jpg)
The FSMO Server roles are currently with the Windows Server 2008 R2 domain controller (server2008).
Using Active Directory Schema Master snap-in to transfer the Schema Master role.
Migrate Server 2008 to 2012
28- Open Command Prompt in administrative mode and then type regsvr32 schmmgmt.dll
![regsvr32 command](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-regsvr32-1.jpg)
29- Open Microsoft Management Console MMC
![server 2012 desktop search mms](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-desktop-search-mmc-1024x561.jpg)
30- Click File and then select Add/Remove Snap-in…
![server 2012 add remove snap in](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-add-remove-snapin-1.jpg)
31- From the left side, under Available Snap-ins > select Active Directory Schema > then click Add and click ok.
![server 2012 add remove snap in](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-add-remove-snap-ins-1.jpg)
Change Domain Controller
32- Right click Active Directory Schema and then select Change Active Directory Domain Controller.
![server 2012 console root](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-console-root-1.jpg)
33- Select this Domain Controller or AD LDS Instance > click on the domain controller that you want to be the schema master role and then click ok.
![change active directory server 2012](https://xpertstec.com/wp-content/uploads/2019/09/change-directory-server-server-2012.jpg)
34- Click ok.
![change directory schema snap in](https://xpertstec.com/wp-content/uploads/2019/09/change-directory-schema-snap-in-1.jpg)
35- In the console1, right click Active Directory Schema [SRV2012.xpertstec.local] and then select Operations Master.
![change directory schema operations master](https://xpertstec.com/wp-content/uploads/2019/09/change-directory-schema-operation-master-1.jpg)
36- Click Change.
![change directory change schema](https://xpertstec.com/wp-content/uploads/2019/09/change-directory-change-schema-1.jpg)
37- Click Yes.
![change directory change schema master](https://xpertstec.com/wp-content/uploads/2019/09/change-directory-change-schema-master-1.jpg)
38- Operations Master successfully transferred, so click ok.
![change directory schema master](https://xpertstec.com/wp-content/uploads/2019/09/change-directory-schema-transfer-1.jpg)
39- Now confirm your current schema master which is SRV2012, so click close.
![change directory change schema](https://xpertstec.com/wp-content/uploads/2019/09/change-directory-change-schema-2012.jpg)
Using Active Directory Domains and Trusts to transfer the Domain Naming Master Role.
40- From the Start Screen, open the Active Directory Domains and Trusts.
![server 2012 desktop](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-desktop-3.jpg)
41- Right-click Active Directory Domains and Trusts and then select Change Active Directory Domain Controller.
![domains and trusts operations master](https://xpertstec.com/wp-content/uploads/2019/09/domain-and-trust-operation-master-1.jpg)
42- Select this Domain Controller or AD LDS Instance > click on the domain controller that you want to be the schema master role and then click ok.
![change directory server 2012](https://xpertstec.com/wp-content/uploads/2019/09/change-directory-server-server-2012-1.jpg)
43- Right click Active Directory Domains and Trusts and then select Operations Master.
![domains and trusts server 2008](https://xpertstec.com/wp-content/uploads/2019/09/domain-and-trust-server-2008.jpg)
44- Click YES to confirm the transfer of the Domain Naming role.
![domains and trusts role transfer](https://xpertstec.com/wp-content/uploads/2019/09/domain-and-trust-role-transfer.jpg)
45- The operations master was successfully transferred, so click ok.
![domains and trusts role transferred](https://xpertstec.com/wp-content/uploads/2019/09/domain-and-trust-role-transferred-1.jpg)
46- Confirmed the domain naming operation master role and then click close.
![domains and trusts role transferred](https://xpertstec.com/wp-content/uploads/2019/09/40.jpg)
Using Active Directory Users and Computers snap-in to transfer.
RID, PDC, and Infrastructure Roles.
47- From the Start Screen, open the Active Directory Users and Computers.
![server 2012 desktop](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-desktop-4.jpg)
48- On the SRV2012 server > open Active Directory Users and Computers, right-click on your domain xpertstec.local and then click Operations Masters.
![active directory 2012 operations masters](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-2012-operations-masters-1.jpg)
49- On the Operations Masters, Select RID, then select the Change button.
![active directory 2012 operations masters rid](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-operations-master-rid-1.jpg)
50- Click Yes.
![active directory 2012 operations masters role](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-2012-operations-master-role-1.jpg)
51- The operations master role was successfully transferred, so click ok.
![active directory 2012 operations masters role transferred](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-2012-transfer-roles-1.jpg)
52- Verify that Operation master now transferred to our new Server SRV2012.xpertstec.local
![active directory 2012 operations masters rid](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-operations-master-1.jpg)
53- On the Operations Masters > Select PDC and then select the Change button.
![active directory 2012 operations masters pds](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-operations-master-pdc-1.jpg)
54- Click Yes.
![active directory 2012 operations masters transfer role](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-transfer-roles-1.jpg)
55- The operations master role was successfully transferred, so click ok.
![active directory 2012 operations masters transferred](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-operations-master-transferred-1.jpg)
56- Verify that Operation master now transferred to our new Server SRV2012.xpertstec.local
![active directory 2012 operations masters pdc](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-2012-operations-master-1.jpg)
57- On the Operations Masters > select Infrastructure and then select the Change button.
![active directory 2012 operations masters infrastructure](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-operations-master-infrastructure-1.jpg)
58- Are you sure you want to transfer the operation master role, so click on Yes.
![active directory 2012 transfer role](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-transfer-roles-2.jpg)
59- The operations master role was successfully transferred and then click on ok.
![active directory 2012 operations masters transferred](https://xpertstec.com/wp-content/uploads/2019/09/server-2012-operations-master-transferred-2.jpg)
60- Verify that Operation master now transferred to our new Server SRV2012.xpertstec.local
![active directory 2012 operations masters infrastructure](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-2012-operation-master-1.jpg)
61- Now we need to check if the roles were properly transferred > open command prompt and type “netdom query fsmo” you have successfully transferred all of your FSMO roles to the SRV2012.
Now Migrate Server 2008 to Server 2012 Completed
![netdom query fsmo server 2012](https://xpertstec.com/wp-content/uploads/2019/09/netdom-query-fsmo-2012.jpg)
Now the final step is to remove (uninstall) server2008 Active Directory domain controller.
Remove Active Directory Server 2008
62- Click Start > click Run type dcpromo and then click on ok.
![run command](https://xpertstec.com/wp-content/uploads/2019/09/run-command.jpg)
63- Welcome to the Active Directory domain services installation wizard, click next.
![run dcpormo server 2008](https://xpertstec.com/wp-content/uploads/2019/09/run-dcpromo-server-2008.jpg)
64- The Active Directory domain controller has the global catalog service, make sure your primary DC also has the service enabled and then click ok.
![active directory install wizard](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-install-wizard.jpg)
65- Confirmed that the Delete this domain, because this server is the last domain controller in the domain, is UNCHECKED and click on next.
![active directory install wizard 2008](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-install-wizard-2008.jpg)
66- Type a password for the Administrator account on this server and click next.
![active directory install password 2008](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-install-password-2008.jpg)
67- Review the summary (remove active directory domain services from this computer) and click next.
![active directory installation wizard](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-2008-installation-wizard.jpg)
68- Check the Reboot on completion box to restart the server after the service has been removed.
![active directory 2008 setup dcpromo](https://xpertstec.com/wp-content/uploads/2019/09/active-directory-2008-setup-dcpromo.jpg)
69- After rebooting server2008 DC Login and open Server Manager.
![server 2008 start menu](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-start-menu-1.jpg)
70- In Server Manager under Roles Summary, click Remove Roles.
![server manager 2008](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-server-manager-1024x537.jpg)
71- Remove server roles wizard, click next.
![server 2008 remove roles wizard](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-remove-roles-wizard.jpg)
72- Uncheck Active Directory Domain Services, DNS Server and click next.
![server 2008 remove roles dns](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-remove-roles-dns.jpg)
73- Confirm removal selection and click Remove.
![server 2008 confirm remove roles](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-confirm-remove-roles.jpg)
74- Active directory domain service removal results restart pending, click Close.
![server 2008 remove roles result](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-remove-result.jpg)
75- Do you want to restart now, click Yes.
![server 2008 uninstalling domain](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-uninstalling-domain.jpg)
76- After rebooting server log back to server2008, active directory domain services removal succeeded and click Close.
![server 2008 removal results](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-removal-result.jpg)
Unjoin the Windows server 2008 machine from the domain.
77- Click Start > right-click computer and select properties.
![server 2008 desktop](https://xpertstec.com/wp-content/uploads/2019/09/windows-server-2008-start-menu-1.jpg)
78- From windows server 2008 system properties, click change settings.
![server 2008 system properties](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-system-properties.jpg)
79- On the System Properties click Change.
![server 2008 change name](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-change-name.jpg)
80- Select workgroup type in a workgroup name and click ok.
![server 2008 name workgroup](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-name-workgroup.jpg)
81- After you leave the domain a warning message appears, click ok.
![server 2008 computer name change](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-computer-name-change.jpg)
82- Welcome to the workgroup, click ok.
![server 2008 welcome to workgroup](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-welcome-workgroup.jpg)
83- Click ok to restart the server.
![server 2008 how to rename](https://xpertstec.com/wp-content/uploads/2019/09/server-2008-how-to-rename.jpg)
84- System Properties, click Close.
![computer name server 2008](https://xpertstec.com/wp-content/uploads/2019/09/computer-name-server-2008.jpg)
85- Click restart now or restart later and then shut down this server.
![restart now](https://xpertstec.com/wp-content/uploads/2019/09/79.jpg)
For more details click here