How to rollback AD DS Forest Function Levels in Windows Server using PowerShell

Home > Blogs > PowerShell > How to rollback AD DS Forest Function Levels in Windows Server using PowerShell

How to rollback AD DS Forest Function Levels in Windows Server using PowerShell

Like This Blog 1 Rick Trader
Added by November 1, 2013

So you have recently raised your Active Directory Domain services Forest 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 the 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.

001-Import-Module-Activedirectory

Use the Get-ADForest to determine your current mode.

002-Get-ADForest

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-ADForestMode .  To get more information  about the CMDlet add -detailed, -full or -examples.

003-Get-Help-Set-ADForestMode

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-ADForestMode -Identity (Get-ADForest).name -ForestMode Windows2008R2 press “Y” when the confirmation is asked.

004-Get-Help-Set-ADForestMode

Identity – I used the Get-ADforest 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.

ForestMode – The options here are only Windows2008 or Windows2008R2 depending how far you desire to rollback.

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

005-Get-ADForest-Get-Help-Set-ADForestMode

The Forest has successfully rolled back.  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 740 4

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.   For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365    

Windows 10 Managing, Deploying and Configuring – December 2, 2015

0 452 1

In this recorded Windows 10 training webinar from December 2, 2015, Windows Server instructor Rick Trader presents the deployment and management of Windows 10 Enterprise and the new Provisioning capability in Windows 10. Learn how to manage Windows 10 deployments using System Center Configuration Manager, Mobile Device Management and Intune. Also included in his presentation … Continue reading Windows 10 Managing, Deploying and Configuring – December 2, 2015

Windows 10 Features and Navigation – December 1, 2015

0 128 1

In this recorded Windows 10 webinar from December 1,2015, Windows Instructor Steve Fullmer presents the navigation and some of the new features associated with Windows 10 including Sysinternals Tools for Windows Client, Windows core concepts, exploring Process Explorer as well as some of the features that are not yet ready for prime time but will … Continue reading Windows 10 Features and Navigation – December 1, 2015

Write a Comment

See what people are saying...

    Share your thoughts...

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