update Schema Active directory

Mohamed jihad bayali 1,136 Reputation points
2023-11-23T18:11:32.2033333+00:00

Hello Team,

I need some help,

I have a customer having 2 domain controllers with windows server 2016, but the AD schema version is in windows server 2003.

In fact, the customer, had these old domain controllers on win server 2003, and started upgrading the OS but the not the schema version, now the customer need to do some tuning/hardening, integrate applications and is being restricted due to that old schema version.

I'm charged to update the schema with the less impact and with the best practises.

I read in some forums, that starting from win server 2012, schema update is done automatically when we create/Promote a new domain controller to the existing domain having the old schma version, is my understanding correct?
If so, i won't need to update the schema manually using the adprep commands?

I want also to confirm when we say, starting from windows server 2012 schema update is done automatically, do we talk about the os version on the Domain controllers, or the OS version on the actual schema version?

Here is the blog that i read https://theitbros.com/upgrading-active-directory-schema/

Thank you a lot

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2023-11-23T19:04:31.7166667+00:00

    That's correct schema update and adprep are now a built-in part of domain controller promotion. It may be you're asking about domain functional level. You can raise DFL but not higher than the lowest operating system domain controller. So if the domain controllers are all 2016 then you could raise it to 2016 (currently the highest possible level)

    https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/active-directory-functional-levels

    --please don't forget to close up the thread here by marking answer if the reply is helpful--


3 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-11-24T07:11:14.8366667+00:00

    Hello Mohamed jihad bayali,

    Thank you for posting in Q&A forum.

    Based on "but the AD schema version is in windows server 2003", I understand the AD schema you mentioned are Functional level (domain functional level and forest functional level).

    And you can check it via PS command below:
    (Get-ADForest).ForestMode

    (Get-ADDomain).DomainMode
    User's image

    You mentioned "In fact, the customer, had these old domain controllers on win server 2003", so domain functional level and forest functional level should be 2003.

    Ensure that all domain functional levels are equal to or higher than the forest functional level;

    Ensure that all domain controller operating systems are at or above the domain functional level;

    The domain function level can only be upgraded on the PDC simulation simulator operating host;

    Forest functional levels can only be upgraded on schema operations host.

    I want also to confirm when we say, starting from windows server 2012 schema update is done automatically, do we talk about the os version on the Domain controllers, or the OS version on the actual schema version?
    A: I understand it is os version on the Domain controllers.

    I hope the information above is helpful.

    If you have any question or concern, please feel free to let us know.

    Best Regards,
    Daisy Zhou


  2. Anonymous
    2023-11-24T07:53:51.9366667+00:00

    Hello Mohamed jihad bayali,

    Thank you for your reply.

    Is the AD schema you mentioned is objectVersion below?
    User's image

    In my lab, I have 2 DCs in domain, one is 2016 and the other is 2022, the objectVersion on both DCs are 88.

    Please check what is the objectVersion on all DCs in your domain.

    If you have any question or concern, please feel free to let us know.

    Best Regards,
    Daisy Zhou


  3. Anonymous
    2023-11-24T11:12:56.9566667+00:00

    I'm a little bit confused, updating the active directory shema means concretly upgrading the domain/forest level ?

    Schema updates are now a built-in part of domain controller promotion. So when you add a new domain controller with a higher operating system to the domain then domain-wide schema is automatically updated.
    https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/domain-wide-updates

    --please don't forget to close up the thread here by marking answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.