• Home
  • About
  • Community
  • Our Authors
  • Industry News
  • Testimonials
  • Become a Sponsor

24x7ITConnection

Get the latest Technology information Here

  • Virtualization
    • Citrix
    • Citrix Netscaler
    • VMWare
  • Collaboration
    • Exchange Online
    • Exchange 2016
    • Exchange 2013
    • Exchange 2010
    • Skype for Business/Lync
  • Technology
    • Security
    • Active Directory
    • Cloud
    • Linux
    • Storage
    • Windows
  • Podcasts
    • Current Status
  • Webinars
  • Top Free Tools
  • Sponsored
    • Solarwinds
    • Turbonomic
    • Altaro
    • FSLogix
    • Micron
  • Posts by Author
    • Theresa Miller
    • Melissa Palmer
    • Phoummala Schmitt
    • Sonia Cuff
    • Gina Rosenthal

IT Tidbits: Demoting your Last Windows 2012 Domain Controller

November 12, 2015 By Theresa Miller Leave a Comment

Recently when working with my home lab environment I needed to demote the last Windows 2012 Domain Controller in my site. After all it is a lab environment, but in the future as new versions of Windows become available organizations may require the same option. After playing with powershell commands for awhile and receiving various warnings, I realized this was a lot simpler than it first appeared. So I wanted to share the powershell commands required to ensure that the last Windows 2012 domain controller in a domain can be demoted with ease.

  • Login to the server as an administrator account
  • Open the Active Directory module for Powershell on the domain controller you are demoting
  • Type Uninstall-ADDSDomainController –LastDomainControllerInDomain –RemoveApplicationPartitions and press enter
  • Enter the credentials of the administrator account twice
  • This process will automatically log you off and reboot

That’s all that’s to it!

Interested in learning more about demoting domain controllers, here is some additional documentation with more information on this topic. https://technet.microsoft.com/en-us/library/hh472163.aspx#BKMK_RemovePS24x7it

Share this:

  • Twitter
  • LinkedIn
  • Facebook
  • Reddit
  • Google
  • Email
  • Print

Related

Leave a Reply Cancel reply

Sign Up for our Newsletter

24×7 IT Connection Sponsors

logo
logo

Follow Us

logo logo logo logo

Global Industry Recognition

logo

logo

logo

Top Featured Posts

  • How to setup Skype for Business meeting Delegation without Enterprise Voice
    How to setup Skype for Business meeting Delegation without Enterprise Voice
  • You can Fix it, Yes You Can!  Citrix XenApp SSL Error 61
    You can Fix it, Yes You Can! Citrix XenApp SSL Error 61
  • Industry News
  • How to Deploy a XenDesktop 7.5 Virtual Machine Using MCS: Part 1
    How to Deploy a XenDesktop 7.5 Virtual Machine Using MCS: Part 1
  • How to Add an Exchange Custom Attribute using Powershell
    How to Add an Exchange Custom Attribute using Powershell

About Theresa Miller

Theresa Miller is the Founder and CEO of 24x7 IT Connection, LLC. She is also a Citrix Technology Professional, VMware vExpert, Atlantis Expert, Microsoft Exchange geek, and Office 365 Enthusiast that has been working in IT for the past 20 years. This blog covers topics that spans all of those technologies and more. Enjoy!
Copyright © 2016
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.