February 27, 2024
100120 0013 DeployaNewA31 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure
Today, I am going to show you how to demote the domain controller from virtual machine of Azure.

Today, I am going to show you how to demote the domain controller from virtual machine of Azure.

1.Sign in Azure portal.

2. In Search resources, service, and docs (G+/), type Virtual Machine.

3.Select Virtual Machine from the Services.

101120 0520 HowtoDemote1 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

4.On the Virtual Machine page, click the virtual machine, in my case is AZDC01.

101120 0520 HowtoDemote2 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

5.On the domain controller Virtual Machine page, click Connect, select RDP.

101120 0520 HowtoDemote3 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

6.On the RDP page, click Download RDP file.

101120 0520 HowtoDemote4 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

7.Click the download file.

101120 0520 HowtoDemote5 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

8.Login to domain controller server.

9.On the Server Manager page, select Manager, click Remove Roles and Features.

101120 0520 HowtoDemote6 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

10.On the Before You begin page, click Next.

101120 0520 HowtoDemote7 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

11.On the Select Destination server page, click Next.

101120 0520 HowtoDemote8 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

12.On the Remove server roles page, unselect Active Directory Domain Services, click Next.

101120 0520 HowtoDemote9 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

13.On the Remove features page, click Remove Features.

101120 0520 HowtoDemote10 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

14.You will notice you cannot remove Active Directory Domain Services before demote it, click Demote this domain controller.

101120 0520 HowtoDemote11 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

15.On the Credentials page, If you are login with domain admin account, click Next, if not, click Change, enter the domain admin credential, and then click Next.

101120 0520 HowtoDemote12 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

16.On the Warning page, click Next.

101120 0520 HowtoDemote13 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

17.On the Removal Options page, select Remove DNS delegation, click Next.

101120 0520 HowtoDemote14 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

18.On the New Administrator Password page, type the password for local administrator, click Next.

101120 0520 HowtoDemote15 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

19.On the Review Options page, click Demote.

101120 0520 HowtoDemote16 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

Note: if you don’t need it anymore, you can disjoint domain and then delete this machine. Also, don’t forget to delete Azure resources of this VM, e.g. public IP and VNet…

But if it still needs to be another features server, you can follow below steps to move Active Directory Domain Services features from this server.

20.On the Server Manager page, select Manager, click Remove Roles and Features.

101120 0520 HowtoDemote17 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

21.On the Before You begin page, click Next.

101120 0520 HowtoDemote18 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

22.On the Select Destination server page, click Next.

101120 0520 HowtoDemote19 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

23.On the Remove server roles page, unselect Active Directory Domain Services, click Next.

101120 0520 HowtoDemote20 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

24.On the Remove features page, click Remove Features.

101120 0520 HowtoDemote21 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

25.On the Server Roles page, it’s unchecked successfully this time, click Next.

101120 0520 HowtoDemote22 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

26.On the Features page, click Next.

101120 0520 HowtoDemote23 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

27.On the Confirmation page, select Restart the destination server atomically if required, click yes on the warning message.

101120 0520 HowtoDemote24 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

28.On the Confirmation page, click Remove. The server will reboot.

101120 0520 HowtoDemote25 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

29.login to server, verify the removal progress succeeded, click Close.

101120 0520 HowtoDemote26 - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to Demote Microsoft Windows Server 2019 Domain Controller Virtual Machine at Azure

Author: Cary Sun

Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.

Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun