About a week ago, I loaded up Veeam Backup and Replication in to my test environment. It’s a fantastic product, and it’s working great, however today I had a little bit of an issue with a DC running Windows Server 2016 Server Core.
I woke up to a notification that the backup failed due to a VSS snapshot issue. Now I know that VSS can be a little picky at times, so I decided to restart the guest VM. Upon restarting, she came back up, was pingable, and appeared to be running fine, however the backup kept failing with new errors, the event log was looking very strange on the server, and numerous services that were set to automatic were not starting up.
This specific server was installed using Server Core mode, so it has no GUI and is administered via command prompt over RDP, or via remote management utilities. Once RDP’ing in to the server, I noticed the “Safe Mode” branding on each corner of the display, this was very odd. I restarted the server again, this time manually trying to start Active Directory Services manually via services.msc.
This presented:
Event ID: 16652 Source: Directory-Services-SAM General Description: The domain controller is booting to directory services restore mode.
Screenshot:
This surprised me (and scared me for that matter). I immediately started searching the internet to find out what would have caused this…
To my relief, I read numerous sites that advise that when an active backup is running on a guest VM which is a domain controller, Veeam activates directory services restore mode temporarily, so in the event of a restore, it will boot to this mode automatically. In my case, the switch was not changed back during the backup failure.
Running the following command in a command prompt, verifies that the safeboot switch is set to dsrepair enabled:
bcdedit /v
To disable directory services restore mode, type the following in a command prompt:
bcdedit /deletevalue safeboot
Restart the server and the issue should be resolved!
While most of us frequently deploy new ESXi hosts, a question and task not oftenly discussed is how to properly decommission a VMware ESXi host. Some might be surprised to… Read More
This guide will outline the instructions to Disable the VMware Horizon Session Bar. These instructions can be used to disable the Horizon Session Bar (also known as the Horizon Client… Read More
Normally, any VMs that are NVIDIA vGPU enabled have to be manually migrated with manual vMotion if a host is placed in to maintenance mode, to evacuate the host. While… Read More
You may experience GPU issues with the VMware Horizon Indirect Display Driver in your environment when using 3rd party applications which incorrectly utilize the incorrect display adapter. This results with… Read More
Today we're going to cover a powerful little NAS being used with VMware; the Synology DS923+ VMware vSphere Use case and Configuration. This little (but powerful) NAS is perfect for… Read More
Today we'll go over how to install the vSphere vCenter Root Certificate on your client system. Certificates are designed to verify the identity of the systems, software, and/or resources we… Read More
View Comments
thx, you saved my life !
You saved my life too...
thanks for that!
Had this after removing a drive from a server to check it's SMART status. Later, had this again when restoring from a veeam backup. Thanks for saving the day!!
Thank you for your help! This post saves me and my server :-)
You Learn Something New every Day..
Thanks as this was my exact issue encountered :)
Thank you very much. I was going to restore the DC before I looked for some more Information, and saw your article which saved me time and trouble.
Thank you very much. You saved me from a stupied mistake I made. I could not understand why it was restarting to safe mode every time after I restored the DC from a backup.
Thanks you save my day ...
May the wind be always at your back, my new best friend.
Amazing, add my life to those saved as well :)
Saved my bacon too. However, this was on a physical 2016 server.
Any posts on why this happened?
I've been getting good backups for over a week on this server with no issues.
Nice! Mine was on a 2012r2 VM DC. The Veeam backup failed and while checking for the usual VSS errors I noticed solid ADWS 1202 errors. Restarted and it went into Safe Mode! Great post. Retry backup and all good. Just wonder why it failed to begin with.
You saved my life too some years ago. I came back in 2020 ... then i remembered how that post was usefull.
Thank you very much.You saved my weekend! :-)
thank you very much, it definitely worked