Winserver2019 AD tela azul 0xc00002e2

Marley Mauricio 25 Reputation points
2023-02-03T16:40:58.0866667+00:00

Oi turma, um belo dia, após queda de energia, uma vm não sobe, justamente nosso AD.

Before the vm would not boot because it lost the reference in hyperv, the .vhdx, and the snap...But I booted a new vm and attached the .vhdx but it boots in Directory Services Repair Mode

From the blue Stop Code screen: 0xc00002e2

[Imagem

](https://filestore.community.support.microsoft.com/api/images/cd9be9b4-3f3f-4e1c-aed4-b3e2bba80c08?upload=true)

I Tried to

https://learn.microsoft.com/pt-br/troubleshoot/windows-server/identity/domain-controller-not-start-c00002e2-error

Acessar o modo Directory Services Repair Mode

ntdsutil.exe

 activate instance ntds

 files

e esentutl /p "c:\windows\ntds\ntds.dit" | ntdsutil.exe activate instance ntds files recover

But blue screen

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Thameur-BOURBITA 36,266 Reputation points Moderator
    2023-02-03T23:17:27.84+00:00

    Hi @Marley Mauricio

    My answer will be in English because we are in anEnglish forum.

    How many domain controller you have in same domain of failed AD?

    If you have another DC , you can install new machine , perform metadacleanup to delete the failed DC and promote new on properly.

    Please don't forget to mark helpful answer as accepted


2 additional answers

Sort by: Most helpful
  1. Marley Mauricio 25 Reputation points
    2024-02-28T11:16:07.22+00:00

    Hi, sorry to response late. I've tried all the steps mentioned. I decided to create a new virtual machine, unfortunately.

    1 person found this answer helpful.
    0 comments No comments

  2. Anonymous
    2023-02-13T15:53:30.65+00:00

    The simplest / safest solution is to seize roles to another healthy one

    seize FSMO roles in Active Directory Domain Services

    then perform cleanup to remove remnants of failed one from active directory

    Clean up Active Directory Domain Controller server metadata

    Step-By-Step: Manually Removing A Domain Controller Server

    then stand up a new one for replacement, I'd use dcdiag / repadmin tools to verify health correcting all errors found before starting any operations. Then stand up the new 2019, patch it fully, license it, join existing domain, add active directory domain services, promote it also making it a GC (recommended), transfer FSMO roles over (optional), transfer pdc emulator role (optional), use dcdiag / repadmin tools to again verify health, when all is good you can decommission / demote old one.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.