Using PowerShell to rollback AD DS Domain Functional Level in Windows Server 2008 R2 and 2012

Home > Blogs > PowerShell > Using PowerShell to rollback AD DS Domain Functional Level in Windows Server 2008 R2 and 2012

Using PowerShell to rollback AD DS Domain Functional Level in Windows Server 2008 R2 and 2012

Like This Blog 1Rick Trader
Added by October 23, 2013

So you have recently raised you Active Directory Domain Services Domain Functional Level from Server 2008 to either Sever 2008 R2 or Server 2012.  Now you have realized you need to go back to either Server 2008 or Server 2008 R2, in previous operating systems this was not possible.  In Windows Server 2008 R2 and Windows Server 2012 we now have that tools to be able to revert back to a previous level.  There are some limitations, the lowest level that can be rolled back to is Windows Server 2008. The other limitation is that you have not enable any of the features that are required by the current level.  To accomplish this task you must use PowerShell as there is no GUI to rollback the functional level.

The first step is to import the Active Directory Manifest into PowerShell, if needed.  Launch PowerShell and type Import-Module Activedirectory.

Use the Get-ADDomain to determine your current mode.

You may also like:  Dynamic User Account in Windows Server 2016 and the Need for Auditing Services

002-Get-ADDomain-PowerShell-rollback-AD-DS-Domain

The next CMDlet we are going to use is Set-ADForestMode.  To get the syntax for using this CMDlet use the built in help system by typing Get-Help Set-ADDomainMode.  To get more information  about the CMDlet add -detailed, -full or -examples.

003-Get-Help-ADDomainMode-PowerShell-rollback-AD-DS-Domain

Based on the syntax of the help file we will now rollback the current forest functional level from Windows Server 2012 to Windows Server 2008 R2, type the following CMDlet.

Set-ADDomainMode -Identity (Get-ADDomain).name -DomaiMode  Windows2008R2Domain press “Y” when the confirmation is asked.

004-ADDomainMode-PowerShell-rollback-AD-DS-Domain

Identity – I used the Get-ADDomain CMDlet to retrieve the forest information I was connected to and the method to use the name parameter.  You could of as easily typed in the FQDN of the forest.

DomainMode – The options here are only Windows2008Domain or Windows2008R2Domain depending how far you desire to rollback

To verify the forest functional has changed either use the GUI or PowerShell .  Type Get-ADDomain to verity.

You may also like:  How to Retrieve Operating System Information Using a Command Line

005-ADDomainMode-PowerShell-rollback-AD-DS-Domain

The Domain has successfully rolled back.
Until next time, RIDE SAFE!!

So if you are a techie, geek or just like living on the leading edge like me, then October 18 will be a good day to look forward to. Until next time, RIDE SAFE!
Rick Trader
Windows Server Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

Creating Users and Managing Passwords in Microsoft Office 365

0 69 1

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.

How to clone a Windows Server 2012 or 2012 R2 Domain Controller

0 303 2

One of the coolest new features in Window Server 2012 and Windows Server 2012 R2 is the ability to clone a Domain Controller. In the past, if we had virtualized Domain Controllers and we actually took a snapshot of it and then rolled back to that snapshot, it would break the logon service on that … Continue reading How to clone a Windows Server 2012 or 2012 R2 Domain Controller

Detailed Forensic Investigation of Malware Infections – April 21, 2015

2 139 1

In this IT Security training video, Security expert Mike Danseglio (CISSP / CEH) will perform several malware investigations including rootkits, botnets, viruses, and browser toolbars.

Write a Comment

See what people are saying...

  1. Pingback: Considerations before you elevate Forest & Domain functional Level – Thiago Martins

Share your thoughts...

Please fill out the comment form below to post a reply.