How to Upgrade AD schema

Doing AD schema upgrade always create some worry but basically it is to add some attributes to AD db; Is not so common that something go wrong.

Here some suggestions how to do it.

First use a Machine on the same site of DC holding Schema Master:

nltest /dsgetsite

Check the server that hold the Schema Master Role:

dsquery server -forest -hasfsmo schema

Check the Replica:

repadmin /replsum /bysrc /bydest /sort:delta 

Now you can perform the schema upgrade.

After performing an Active Directory schema update, one should verify that all the DCs received the update:

repadmin /showattr * cn=Schema,cn=Configuration,dc=myad,dc=local /atts:ObjectVersion

This repadmin command connects to every DC and displays the AD schema version. The following information translates the AD schema object version code to the OS version.
• 13 = Windows 2000 Forest Functional Mode
• 30 = Windows 2003 Forest Functional Mode
• 31 = Windows 2003 R2 Forest Functional Mode
• 44 = Windows 2008 Forest Functional Mode
• 47 = Windows 2008 R2 Forest Functional Mode

Repadmin can also be used to confirm a successful Exchange Schema update. The command for this is:

repadmin /showattr * cn=ms-exch-schema-version-pt,cn=Schema,cn=Configuration,dc=myad,dc=local /atts:rangeupper

Repadmin can also be used to confirm a successful Lync Schema update. The command for this is:

repadmin /showattr * cn=ms-RTC-SIP-SchemaVersion,cn=Schema,cn=Configuration,dc=myad,dc=local /atts:rangeupper
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s