migrating active directory domain controller from windows server 2008 r2 to windows server 2012

36
7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012 http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 1/36 Migrating Active Directory Domain Controller from Windows Server 2008 R2 to Windows Server 2012 October 30, 2012 Naresh Man Maharjan 1 Comment Windows Server 2012 is the Microsoft latest Windows Server Operating System which is more powerful than previous versions of Windows Server. For examples, Hyper-V replication, DHCP failover, Dynamic Access Control, Improvements in Active Directory Recycle Bin, Virtual Domain Controller etc. So it’s better to migrate Windows Server 2008 R2 to Windows Server 2012 Domain Controller because of the new cool features of Windows Server 2012. There are two options for migrating Windows Server 2008 R2 to Windows Server 2012 Domain Controller. 1. Directly Upgrading to Windows Server 2012 on same physical machine, which is not recommended? 2. Migrating specific domain controller functionality to the new Windows Server 2012 Active Directory Domain environment using new hardware, which is the best option for migrating Active Directory Domain Controller from Windows Server 2008 R2 to Windows Server 2012 Domain Controller. The prerequisites for migrating to Windows Server 2012 in a new hardware are as follows: 1. Windows Server 2008 R2 AD DS Domain and Forest functional level must be minimum Windows Server 2003 or higher recommended. 2. Check the Schema version of AD DS. 3. Forest and Domains must be prepared Using adprep. In Windows Server 2008 R2 Domain Controller, run adprep /forestprep and adprep /domainprep from the Windows Server 2012 installation DVD \support\adprep folder.

Upload: ashar9225

Post on 02-Apr-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 1/36

Migrating Active Directory Domain Controller fromWindows Server 2008 R2 to Windows Server 2012

October 30, 2012 Naresh Man Maharjan 1 Comment

Windows Server 2012 is the Microsoft latest Windows Server Operating System which ismore powerful than previous versions of Windows Server. For examples, Hyper-Vreplication, DHCP failover, Dynamic Access Control, Improvements in Active DirectoryRecycle Bin, Virtual Domain Controller etc. So it’s better to migrate Windows Server 2008R2 to Windows Server 2012 Domain Controller because of the new cool features of Windows Server 2012. There are two options for migrating Windows Server 2008 R2 toWindows Server 2012 Domain Controller.

1. Directly Upgrading to Windows Server 2012 on same physical machine, which is notrecommended?

2. Migrating specific domain controller functionality to the new Windows Server 2012Active Directory Domain environment using new hardware, which is the best optionfor migrating Active Directory Domain Controller from Windows Server 2008 R2 toWindows Server 2012 Domain Controller.

The prerequisites for migrating to Windows Server 2012 in a new hardware are as follows:

1. Windows Server 2008 R2 AD DS Domain and Forest functional level must beminimum Windows Server 2003 or higher recommended.

2. Check the Schema version of AD DS. 3. Forest and Domains must be prepared Using adprep. In Windows Server 2008 R2

Domain Controller, run adprep /forestprep and adprep /domainprep from theWindows Server 2012 installation DVD \support\adprep folder.

Page 2: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 2/36

Step 1: Run adprep command to prepare the existing forest:

1. Insert the Windows Server 2012 DVD into the DVD drive of the Windows Server 2008R2 AD DS.

2. Open command prompt, and type the following commands and press enter.

Page 4: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 4/36

Step 2: Promote a Windows Server 2012 Server to a domain controller, including DNS andGlobal Catalog:

1. First Joining this server, KTM-DC01-2K12 , as a member server in the existing WindowServer 2008 R2 Domain before promoting to Domain Controller .

2. On the server KTM-DC01-2K12 , in Server Manager, click Manage , and from the drop-downlist box, click Add Roles and Features.

Page 5: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 5/36

3. On the Before you begin page , click Next .

4. On the Select installation type page, confirm that R ole-based or feature-based installation is selected, and then click Next.

Page 6: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 6/36

5. On the Select destination server page, ensure that Select a server from the server pool isselected, and that KTM-DC02-2K12 is highlighted, and then click Next .

Page 7: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 7/36

6. On the Select server roles page, click Active Directory Domain Services .

Page 8: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 8/36

7. On the Add features that are required for Active Directory Domain Services? Page, click Add Feaures.

Page 9: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 9/36

8. On th e Select server roles page, click Next.

Page 10: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 10/36

9. On the Select features page, click Next.

Page 11: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 11/36

10. On the Active Directory Domain Services page, click Next.

Page 12: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 12/36

11. On the Confirm installation selections page, click Install . (This may take a few minutes tocomplete.)

Page 13: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 13/36

Page 14: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 14/36

12. When the Active Directory Domain Services (AD DS) binaries have installed, click the bluePromote this server to a domain controller link.

Page 15: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 15/36

13. In the Deployment Configuration window, click Add a domain controller to an existingdomain . Specify the domain information for this operation Domain: msserverpro.com andthen click Next.

Page 16: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 16/36

14. In the Domain Controller Options windows, ensure that both the Domain Name System(DNS) server and Global Catalog (GC) check boxes are selected. Confirm that Site Name: isset to Default-First-Site-Name. Under Type the Directory Services Restore Mode (DSRM)password , type P@ssw0rd in both text boxes and then click Next.

Page 17: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 17/36

15. On the DNS Options page, click Next .

Page 18: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 18/36

16. On the Additional Options page, select KTM-DC01-2K8.msserverpro.com in theReplicate from drop-down box.

Page 19: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 19/36

17. On the Paths windows, click Next.

Page 20: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 20/36

18. On the Review Options windows, click Next.

Page 21: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 21/36

19. On the Prerequisites Check windows, confirm that there are no issues, and then click Install.

Page 22: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 22/36

20. Installation Process begins.. and server will automatically reboot after Installation Finished.

Page 23: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 23/36

Step 3: Verify the Domain Controller:

1. Open Active Directory Users and Computers , expand mserverpro.com and click DomainController OU .Verify KTM-DC01-2K12 Server is listed.

Page 24: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 24/36

2. Open DNS Manager , right-click on msserverpro.com and select Properties and then click Name Servers Tab. Verify that KTM-DC01-2K12.msserverpro.com is listed in NameServers: lists .

3. Open Active Directory Sites and Services ; verify that KTM-DC01-2K12 is listed in Servers under Default-First-Site-Name.

Page 25: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 25/36

Step 4: Transfer FSMO roles to the Windows Server 2012 Domain Controller:

1. Log on KTM-DC01-2K12 new domain controller, Open the Command Prompt andtype netdom query fsmo.

2. Verify the FSMO Roles on Windows Server 2008 R2 Server(KTM-DC01-2K8) before wetransfers FSMO roles to new Windows Server 2012 Server( KTM-DC01-2K12).

3. In the command prompt, type ntdsutil and press enter.

4. Type roles and press Enter. The prompt will display “ fsmo maintenance :”

5. Type connections and press Enter. The prompt will display “server connections:”

Page 26: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 26/36

6. In the “server connections: “, type connect to server KTM-DC01-2K12.msserverpro.com and press enter ( where KTM-DC01-2K12 is the name of the target Windows Server 2012)

7. Type quit and press enter . The prompt will display “fsmo maintenance:”

8. In the “fsmo maintenance:” type “?” for help

9. In the “fsmo maintenance: “ , type transfer schema master and Press enter and Click Yes OnRole Transfer Confirmation Dialog box to confirm the Operations Master change.

10. Do the same process for: transfer naming master, transfer PDC, transfer RID masterand transfer infrastructure master.

Page 27: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 27/36

Page 28: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 28/36

11. Type quit and press enter ; the type quit and press enter again to exit the ntdsutil.

12. Verify the FSMO Roles on new Windows Server 2012 Domain Controller , KTM-DC01-2K12.

Page 29: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 29/36

Step 5: Remove the legacy domain controller:

1. On KTM-DC01-2K8 , Click Start, Click Run , type dcpromo and then click OK .

2. On the Welcome to the Active Directory Installation Wizard page, Click Next.

Page 30: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 30/36

3. On the Delete the Domain page , leave Delete the domain because this server is the lastdomain controller in the domain.

Page 32: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 32/36

5. On the Summary page, click Next . Wait for the process to complete and then click Finish.

Page 34: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 34/36

7. On the Active Directory Domain Services Installation Wizard page, click Restart Now toRestart the server.

8. After restart the server, KTM-DC01-2K8 computer account will automatically move fromDomain Controller OU to Computers OU because now KTM-DC01-2K8 is only the memberserver .

Page 35: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 35/36

9. Lastly disjoin Windows Server 2008 R2 (KTM-DC01-2K8) from the domain to aworkgroup and remove any unnecessary record from Active Directory Sites and Services.

Page 36: Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

7/27/2019 Migrating Active Directory Domain Controller From Windows Server 2008 R2 to Windows Server 2012

http://slidepdf.com/reader/full/migrating-active-directory-domain-controller-from-windows-server-2008-r2-to 36/36

Summary:

Finally, we successfully Migrated Active Directory Domain Controller from Windows

Server 2008 R2 to Windows Server 2012, which is an easy process. I hope this article willhelp you in the near future when you are Active Directory Domain Controller fromWindows Server 2008 R2 to Windows Server 2012.