Accidently ran a command to set recoveryenabled as no

AlokSingh Thakur 0 Reputation points
2026-06-20T11:19:49.0566667+00:00

The issue is my laptop is stuck on loading and is not turning on so while fixing it in recovery mode in cmd prompt I ran this (chatgpt told :(. )

bcdedit /set {default} recoveryenabled no

I ran this and now the issue is still it stuck and I can't even enter the recovery mode as I have decided to reset my laptop

Also the laptop stuck on loading issue was caused because of an security update was installed and it was coming to restart for update and from then the issue occurred

Windows for home | Windows 11 | Recovery and backup
0 comments No comments

2 answers

Sort by: Most helpful
  1. Hendrix-V 16,185 Reputation points Microsoft External Staff Moderator
    2026-06-21T01:02:17.8766667+00:00

    Hi AlokSingh Thakur,

    Based on what you've described, the bcdedit /set {default} recoveryenabled no command typically only disables automatic startup recovery. It does not usually remove Windows Recovery Environment or cause a system that was previously working to become stuck at the loading screen. The original boot issue is likely still present.

    As I have checked and validated, the AI answer seems to provide correct information for your issue, so you can follow that and let me know if it works.

    Since the problem started after a security update, one thing worth checking is whether the update itself is preventing Windows from starting correctly. You can try the following steps as an additional repair option:

    • Boot from a Windows 11 installation USB.
    • Select Repair your computer > Troubleshoot > Advanced options.
    • Choose Uninstall Updates and remove the latest Quality Update.
    • Restart and test Windows.

    I hope this helps move the troubleshooting forward. Let me know if you need further assistance, feel free to ask me by clicking "Add Comment" or "Add Answer" if you cannot add comment so your response will be visible. Thanks for your effort.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


  2. AI answer

    2026-06-20T11:20:08.4033333+00:00

    bcdedit /set {default} recoveryenabled no only disables automatic entry into the Windows Recovery Environment (WinRE) after a failed boot. It does not fix the underlying startup problem, and it can cause the system to stop showing recovery options automatically, which is what is happening.

    To recover the device and get back to a recovery environment so it can be reset or repaired, use external/installation media to boot into WinRE and then repair or reset Windows.

    1. Boot into Windows Recovery Environment using installation media

    Because automatic recovery is disabled and Windows will not start, load WinRE from external media:

    1. On a working PC, go to the Microsoft software download website and download the Media Creation Tool.
    2. Run the tool and select Create installation media for another PC.
    3. Choose the correct language, edition, and architecture (64‑bit or 32‑bit) for the problematic laptop.
    4. Follow the steps to create a bootable USB installation drive and select Finish.
    5. Connect this USB drive to the problematic laptop and power it on.
    6. If it does not automatically boot from USB, enter the firmware/boot menu and change the boot order so it starts from the USB drive (check the laptop manufacturer’s site for the exact key and steps).
    7. When the Windows setup screen appears, choose language and other preferences, then select Next.
    8. Select Repair your computer (do not select Install now). This opens the Windows Recovery Environment.

    Reference steps are described in the section How to create and use installation media to load the Recovery Environment.

    2. Use recovery options to fix startup or reset the PC

    Once in WinRE (from the USB):

    1. Select Troubleshoot.
    2. Then choose one of the following, depending on the goal:
      • Startup Repair if the goal is to try to fix boot issues automatically.
      • Reset this PC if the goal is to reset Windows (keeping or removing files as desired).
      • Advanced options → Command Prompt if specific commands must be run (for example, to repair BCD or uninstall a problematic update).

    Windows provides these recovery tools specifically for cases where Windows does not start or keeps loading. For “Windows doesn't start or it keeps loading,” the recommended option is Startup Repair; for a system that “isn’t working well” and needs a fresh start, use Reset.

    If the boot issue started immediately after a specific security update, and the system remains unbootable, the update can also be removed from WinRE using Command Prompt and dism.exe as described in the unbootable‑state recovery guidance. This is done after booting into WinRE from installation media.

    3. (Optional) Re‑enable automatic recovery later

    After Windows is working again, automatic recovery can be re‑enabled from an elevated Command Prompt in Windows with:

    bcdedit /set {default} recoveryenabled yes
    

    This ensures that if future startup failures occur, Windows can again automatically enter the recovery options display.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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