How To Update Active Directory Schema

Query King | Thu, 03 Jan 2019 at 06:26 hours | Replies : 2 | Points : 100

Category : Active Directory


How to Update Active Directory Schema


This Question is already solved Click To See The Answer


Hi,

Assuming you wish to update schema with Windows Server 216 Server.

Below Table of adprep options, needed permissions and FSMO roles when performing AD DS schema extension.

 Command

 Permission

 Domain Controller

 Runtime

 Number of times to run command

 adprep /forestprep

 Schema, Domain,  Enterprise Admins

 Schema Master

 5-10 mins

 Once for the entire forest

 adprep /domainprep

 Domain Admins

 Infrastructure Master

 Seconds

 Once in each domain within the forest

 adprep /gpprep

 Domain Admins

 Infrastructure Master

 Seconds

 Once in each domain within the forest

 

    1. Insert Windows Server 2016 Media or Copy “support\adprep” folder on Domain Controller having Schema Master Role.
    2. Login into Domain Controller having Schema Master Role.
    3. Check Schema Version by Running below command on PowerShell.
             Get-ADObject (Get-ADRootDSE).schemaNamingContext -Properties objectversion

                4. Go to Command prompt and Run Below Command.

         CD support\adprep
adprep /forestprep
adprep /domainprep
adprep /gpprep

 

                5. Login into Domain Controller having Infrastructure Master and Run Below Command on Command prompt.

         CD support\adprep
adprep /domainprep
adprep /gpprep

 

                6. Go back to on Domain Controller having Schema Master Role.

                7. Verify Schema Version by Running below command on PowerShell. 

            Get-ADObject (Get-ADRootDSE).schemaNamingContext -Properties objectversion

               8. Reboot both Domain Controllers.

                

Hope it will help you.

Thanks, Santosh for detailed Stpes.