Avatar of Adam_Li
Flag for Norway asked on

Opt in to DC

I have a Windows Server 2012 as a Domain Controller (Only one DC in the domain). Had trouble loging in to server as domain admin because the dns and DC services was stoped.  I could log in  with local admin but only in safe mode with lack of functions. Then the server was manually opt out from DC by changing to Workgroup, and tried to change msconfig so that the server would boot in Normal mode. Doesn't remeber what was done first or last of those things, got little stressed, but anyhow. Now the server wont boot at all. That is not what I'm askin help for, but I wonder; When the server is up and running again: Is there anyway to opt in the DC again? Or is the DC "dead" since the DC computer has opt out from itself?
If there is no hope i will not use time for fixing the boot, but start recovering from backup.
Windows Server 2012* domain controllerMicrosoft Server OS

Avatar of undefined
Last Comment
Seth Simmons

8/22/2022 - Mon
David Johnson, CD

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Jeff Glover

David is exactly right.

Just 1 server in the domain, right? When you removed it from the domain, that deleted the domain and forest.  Recover from backups (you have those, right?) or start you domain and forest over again from scratch.
Peter Hutchison

Since it is the last server in that domain, then the entire domain infrastructure has been deleted. You can recover it from a backup of the server.

If the domain is a test domain, you could start from scratch and re-install the Active Directory Domain Services role again via Server Manager and run the wizard to create a new domain.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Philip Elder

Is this a physical or virtual machine?

Was a regular System State backup being taken along with whatever backup product being used?

If you have a known good backup then restore the C: partition to the last known good state.

Note that any machine password that changed in the time between the DC restore and now will cause the "Trust lost between domain and this PC" message. Computer name Properties --> Domain.Local --> Drop .Local --> Reboot. Nothing lost.
Seth Simmons

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: 'David Johnson, CD' (https:#a43043936)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer