Host-based backup of Microsoft Hyper-V VMs.
Post Reply
oidenburga
Novice
Posts: 6
Liked: never
Joined: Aug 06, 2019 8:57 am
Full Name: Lukas
Contact:

Veeam - DCs restore - 0xc00002e2

Post by oidenburga »

Hi;

First, english is not my mothers tongue.

I have a big problem with restoring an Active Directory enviroment.

I want to restore two domain-controller, but i get an 0xc00002e2 error at boot.

Each DC has his own Backup-Job with Application-Aware Processing enabled.

I testet different backup points, also the latest FULL Backup.

Why do i get this error?

OS: Server 2012R2
Hypervisor: HYPER-V
Veeam is on latest build

What have i checked?:

Code: Select all

You need to boot the machine in "directory services restore mode", login with the local Administrator and the password you had to set when promoting the DC.
Move all the *.log files inside c:\windows\NTDS\ to a folder elsewhere.
Try to reboot in normal mode.

If it's not working go back in DSRM,
repeat the moving of any log files in c:\windows\NTDS\,
Open up a CMD (with Run as admin),
Enter the command "esentutl /p c:\windows\NTDS\ntds.dit",
Enter the command "ntdsutil",
In the ntdsutil prompt now enter the following commands (no quotes):
"activate instance ntds"
"Files"
"Compact to c:\temp\"
"quit"
"quit"

Now move the c:\windows\NTDS\ntds.dit file to a save folder elsewhere.
Copy the c:\temp\ntds.dit file to c:\windows\NTDS\
Again remove all the .LOG files inside c:\windows\NTDS
Reboot normally.
Best regards
Lukas
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by foggy »

Hi Lukas, have you reviewed the KB article describing domain controller recovery peculiarities in detail?
oidenburga
Novice
Posts: 6
Liked: never
Joined: Aug 06, 2019 8:57 am
Full Name: Lukas
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by oidenburga »

Yes, but at the first boot, a BSOD appears with 0xc00002e2
oidenburga
Novice
Posts: 6
Liked: never
Joined: Aug 06, 2019 8:57 am
Full Name: Lukas
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by oidenburga »

Now the DC runs, i extractet the VHD from the VBK, now it starts.

But why is the backup corrupt?
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by foggy »

Make sure you have application-aware image processing enabled in the job settings. For further investigation, please contact our technical support directly.
oidenburga
Novice
Posts: 6
Liked: never
Joined: Aug 06, 2019 8:57 am
Full Name: Lukas
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by oidenburga »

It is active.
Ok.
oidenburga
Novice
Posts: 6
Liked: never
Joined: Aug 06, 2019 8:57 am
Full Name: Lukas
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by oidenburga »

I only have the community version, so i cant open a case.
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by foggy »

Well, you can but it will be handled on the best effort basis.
BLH
Lurker
Posts: 2
Liked: never
Joined: Jul 07, 2023 4:44 pm
Full Name: Barry Hines
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by BLH »

I know this is an old thread but I came across it while trying to find a solution to my issue. After doing a Full Restore of the production server to a backup server, I also got the 0xc00002e2 error and found that the NTDS.dit file was trashed on the restored server.

I did a full restore several times, from more than one backup source, and always had the same issue. During the last restore processes I accidently chose to do an Instant Recovery and was pleasantly surprised to find that the server booted just fine and the NTDS.dit file wasn't corrupted.

I'm currently in the process of Migrating To Production so I don't know if that process was successful or not, but I wanted to post this info before I forgot to do it, in case someone else in my position is getting the 0xc00002e2 error - try doing an Instant Recovery!!

I'm using Veeam Backup & Replication 10 (10.0.0.4461 P2) Community Edition which I plan to upgrade soon, hoping that'll eliminate the issue.
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by Gostev »

I see only one possible explanation for different results of powering on a VM from bit-identical virtual disk: the production storage that was the target for full restore is misbehaving and corrupting the restored virtual disk data. While in case of instant recovery, the VM runs directly from backup storage.
Andreas Neufert
VP, Product Management
Posts: 7081
Liked: 1511 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by Andreas Neufert »

One additional point.
For correct disaster recovery, you need to boot the domain controller WITH network enabled and don´t touch the console (have a look at the monitor and click or use any keyboard strokes) until it has booted multiple times in AD recovery mode.

If you enable the network, boot and do not touch the screen, then we automatically set the VM and AD in nonauthoritative restore mode (if you backed up with Guest Processing). If you interrupt the process by clicking into the console this process get´s interrupted at a maybe undefined state (not completed).
BLH
Lurker
Posts: 2
Liked: never
Joined: Jul 07, 2023 4:44 pm
Full Name: Barry Hines
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by BLH »

I wanted to add some more info... After the successful Instant Recovery I chose to do a Migrate To Production after which the server continued working just fine. I think this proves that my server HD system isn't corrupting anything.

To test what Andreas said I did another full restore, using the identical process to what I'd done in the past, except I chose the option to power on the VM after the restore finished and I waited 20-40 minutes before I connected to the server and attempted to logon to the console. It worked perfectly again, no 0xc00002e2 error.

I think my issue was caused by trying to connect to the console and attempting to logon too quickly after the restored VM was powered on, interrupting the AD restore process.

Thanks for all your help!
Andreas Neufert
VP, Product Management
Posts: 7081
Liked: 1511 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Veeam - DCs restore - 0xc00002e2

Post by Andreas Neufert »

Thanks for the feedback. Glad to hear that it works in the end.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests