天天看點

如何将AD 2012林和域級别降級

我們知道,AD 活動目錄預設是不能降級的,例如2003的級别提升到2008的級别,是一個不可逆的操作。但是在Windows Server 2008 R2和Windows Server 2012,我們可以将林級别和域級别從2012降級到2008R2, 又或者從2008 R2降級到2008. 當然,我們不能将它再降到更低的級别,例如 2003級别.   

我們可以用Powershell 來添加AD 管理子產品,完成以下的實驗. 

1. 導入AD 管理子產品

Import-Module -Name ActiveDirectory 

<a href="http://virtualtom.blog.51cto.com/attachment/201301/13/1203850_1358082703EdrL.png"></a>

2. 查下AD的林級别 

Get-ADForest | Format-Table Name , ForestMode

<a href="http://virtualtom.blog.51cto.com/attachment/201301/13/1203850_1358082704jB4G.png"></a>

3.  我們嘗試降低林級别和域級别到 Windows2008 級别. 

Set-ADForestMode –Identity “appv.com” –ForestMode Windows2008Forest  

Set-ADDomainMode –Identity “appv.com” –DomainMode Windows2008Domain

<a href="http://virtualtom.blog.51cto.com/attachment/201301/13/1203850_1358082708zEWb.png"></a>

4. 我們再用指令看看林級别和域級别是否降級到 Windows2008 級别了.  

Get-ADForest | Format-Table Name , ForestMode 

Get-ADDomain | Format-Table Name ,DomainMode 

<a href="http://virtualtom.blog.51cto.com/attachment/201301/13/1203850_1358082710bGVX.png"></a>

本文轉自 VirtualTom 51CTO部落格,原文連結:http://blog.51cto.com/virtualtom/1117667,如需轉載請自行聯系原作者

繼續閱讀