HomeMicrosoftHow to Uninstall Active Directory Server 2012 R2

How to Uninstall Active Directory Server 2012 R2

In this article, we will explore how to uninstall active directory domain controller in Windows Server 2012 (AD DS). These steps cover procedures on how to remove Active Directory Domain Services (AD DS). In Windows Server 2012, we will use PowerShell or Server Manager to demote the domain controller. Follow this article to get more information.

To Uninstall Active Directory from AD DS Complete the Following Steps

Log in to your Server 2012 R2 with the domain administrator.
Run PowerShell and then copy/paste the below command.

Uninstall-ADDSDomainController -DemoteOperationMasterRole –RemoveApplicationPartition

Enter local administrator credentials, confirm credentials, and then hit enter.
Type Y and then hit enter. to uninstall the active directory.

Uninstall active directory PowerShell

It will complete the process in a few minutes.

Uninstalling domain controller PowerShell

The server will be restarted automatically.

You’re about to be signed out

Demote Domain Controller Server 2012

How to demote an active directory domain service from Windows Server 2012 R2.
Log in with the local administrator.

Server manager manage

Remove roles and features wizard, On the Before You Begin page, choose next.

Remove roles and features wizard

On the Select Destination Server window, choose the desired server from the Server Pool and then click Next.

Remove roles and features server pool

On the Remove Roles and Features Wizard page, deselect the box “Active Directory Domain Services” to remove the active directory from Windows Server 2012.

Remove Server roles active directory

Select Remove Features.

Remove features that required active directory

Now deselect the DNS Server role.

Remove Server roles DNS Server

Choose Remove Features.

Remove features that are require

Select Next

Remove Server roles active directory

Choose Next.

Remove roles and features

Confirm the active directory removal selections, and then click on the Remove button to remove the active directory domain controller.

Confirm removal roles selections

Click Close, and your computer will restart automatically.

View removal roles progress

Join Windows Server 2012 to Workgroup

After restarting the server, please join the Windows server in the workgroup.
In the server manager, click on the local server interface, and then click on domain.

Server manager local server

For system properties, click on change.

System properties

Select workgroup, type workgroup, and then click OK.

Computer name/domain changes

Click ok

Computer name/domain changes warning

Click ok

Welcome to the workgroup

Select OK to restart the computer.

You must restart your computer

Click OK to continue.

System properties

Click on the Restart Now button to complete the process.

You must restart your computer to

How to Join Server to Active Directory Domain Controller

Jamil
Jamilhttp://jamiltech.com
A Professional Technology Blog Writer | An energetic professional with more than 20+ years of rich experience in Technology, Planning, Designing, Installation, and Networking.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments

what is cryptocurrency and bitcoin on How to Backup and Restore IIS Configuration
경기광주출장안마 on How to Backup and Restore IIS Configuration
영등포출장마사지 on How to Backup and Restore IIS Configuration
Twalsu light mirror for vanity on How to Backup and Restore IIS Configuration
fitspresso analysis on How to Reset Microsoft 365 Password
historical landmarks tours for history buffs on How to Add Hyper-V Server Altaro VM Backup
9780443186882 PDF download on How to Migrate Active Directory 2012 to 2022
Shaik Mohammad Jaheer on How to Enable Night Light on Windows 11