Affected versions: Windows Server 2012 R2

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution β€” Primary Fix
  7. Solution β€” Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Every reboot returns to Safe Mode, disabling normal services and reducing server capability.

Environment & Reproduction

Occurs after troubleshooting sessions where safeboot was left enabled in BCD.

bcdedit /enum {current}

Root Cause Analysis

The safeboot option remains set, forcing minimal startup profile at every boot.

Quick Triage

Check BCD for safeboot and alternate shell flags.

bcdedit /enum | findstr /i safeboot

Step-by-Step Diagnosis

Confirm startup mode and dependent service failures in current session.

systeminfo | findstr /i 'Safe Mode'
Get-Service | Where-Object Status -eq 'Stopped'
Illustrative mockup for windows-server-2012-r2 β€” terminal_or_powershell
Safe mode boot flag checks β€” Illustrative mockup β€” Progressive Robot

Solution β€” Primary Fix

Remove safeboot settings and reboot into normal mode.

Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.

bcdedit /deletevalue {current} safeboot
bcdedit /deletevalue {current} safebootalternateshell
shutdown /r /t 0
Illustrative mockup for windows-server-2012-r2 β€” error_dialog
Normal boot restoration β€” Illustrative mockup β€” Progressive Robot

Solution β€” Alternative Approaches

Use msconfig Boot tab remotely if command-line access is limited.

msconfig

Verification & Acceptance Criteria

System boots in normal mode and disabled services return to expected state.

Get-CimInstance Win32_OperatingSystem | Select Caption,LastBootUpTime

Rollback Plan

Re-enable safeboot temporarily if a driver regression reappears after normal startup.

bcdedit /set {current} safeboot minimal

Prevention & Hardening

Document troubleshooting changes and enforce post-maintenance boot checks.

bcdedit /enum {current} > C:Tempbcd-current.txt

Can coincide with services marked as failed to start due to Safe Mode restrictions.

Related tutorial: View the step-by-step tutorial for Windows Server 2012 R2.

View all Windows Server 2012 R2 tutorials on the Tutorials Hub β†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Microsoft docs for BCD boot options and Safe Mode management.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β€” we respond within one business day.