Unable to access the Advanced Startup Options (WinRE)

Anonymous
2025-04-17T13:20:49+00:00

Since I upgraded to version 24H2 of Windows 11 Pro, when I try to access the Advanced Startup Options menu (Settings > System > Recovery > Advanced startup), after rebooting the system crashes with a BSOD :(

The only information provided is:

Stop Code: ATTEMPTED WRITE TO READONLY MEMORY

Does this mean that the recovery partition is corrupt? How can I fix it? Please note that this is not a clean install of Windows 11, but a previous version of Windows 10 that I upgraded to Windows 11.

Thanks!

Windows for home | Windows 11 | Recovery and backup

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Ramesh 182K Reputation points Volunteer Moderator
2025-05-02T16:30:51+00:00

Perfect: is there any specific instruction I can follow to do that?

Here are the instructions. There was also a PowerShell script to automate the task. https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-update-to-winre?view=windows-11

Example (the OP was using Windows 10 PC, though) https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-10-update-kb5057589-error-0x80070643-april/0f192298-7939-4b58-86a6-a860d0f90f6b?messageId=d5203f12-9904-4d9a-aab6-9637759a9e0a

Anyway, Windows Update will do that automatically. You may wait for the May 2025 Safe OS dynamic update.

Actually, now I'm okay with WinRE in the separate recovery partition and I've no reason to do that. I was just curious to understand how Windows decides whether to look for the WinRE files in the Windows\System32\Recovery directory of the C drive or in the Recovery partition created specifically for this purpose.

When you enable or disable WinRE, the BCD changes. You can see that by running bcdedit /enum all. The winre.wim path will be referenced in the BCD when WinRE is enabled.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments
Answer accepted by question author
Ramesh 182K Reputation points Volunteer Moderator
2025-05-01T17:40:49+00:00

Hi Moris,

We're not done yet. Wanted to go step by step. I'll let you know once it's done.

Boot into Windows.

From admin Command Prompt, run:

  • diskpart
  • select vol S
  • remove
  • set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
  • gpt attributes=0x8000000000000001
  • exit
  • reagentc /enable
  • reagentc /info

Post the output.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments
Answer accepted by question author
Ramesh 182K Reputation points Volunteer Moderator
2025-04-28T07:01:44+00:00
  1. The existing Winre image is good. It's fully updated.

There is no recovery partition. Although Winre.wim can exist in the C drive, creating a separate recovery partition is suggested. However, the C drive might run out of disk space in the future; currently, it has 11 GB of free space. You can use AOMEI or a similar tool to shrink the D drive and create unallocated space before it. Then, extend the C drive as needed.

(or)

Now that you've replaced the wim file, re-enable Windows Recovery Environment (WinRE). It will be placed on the C drive as before.

Run:

reagentc /enable

reagentc /info

If you still get the ATTEMPTED_WRITE_TO_READONLY_MEMORY BSOD error, please share the contents of the C:\Windows\Minidump folder if there are any dump files there.

Enable Memory Integrity. To enable memory integrity in Windows, go to Windows Security > Device security > Core isolation details > Memory integrity. If it shows any incompatible drivers, post the screenshot here.

Run Memory Diagnostics. Diagnose memory problems on your PC: http://hs.windows.microsoft.com/hhweb/content/m-en-us/p-6.2/id-4edd5f80-def2-4d32-965c-116d49fb9872/

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

38 additional answers

Sort by: Newest
  1. Anonymous
    2025-04-18T09:41:20+00:00

    Hello Siva,

    thank you for your help: I tried all the checks you suggested:

    C:\Windows\System32>sfc /scannow

    Beginning system scan. This process will take some time.

    Beginning verification phase of system scan.

    Verification 100% complete.

    Windows Resource Protection found corrupt files and successfully repaired them.

    For online repairs, details are included in the CBS log file located at

    windir\Logs\CBS\CBS.log.

    C:\Windows\System32>dism /online /cleanup-image /checkhealth

    Deployment Image Servicing and Management tool

    Version: 10.0.26100.1150

    Image Version: 10.0.26100.3902

    No component store corruption detected.

    The operation completed successfully.

    C:\Windows\System32>dism /online /cleanup-image /restorehealth

    Deployment Image Servicing and Management tool

    Version: 10.0.26100.1150

    Image Version: 10.0.26100.3902

    [==========================100.0%==========================] The restore operation completed successfully.

    The operation completed successfully.

    I also checked in Device Manager, and there aren't any devices with a yellow warning triangle.

    But I still get the BSOD when I try to access the Advanced Startup Options menu.

    Regards.

    Was this answer helpful?

    0 comments No comments
  2. Siva Shankar 11,020 Reputation points
    2025-04-17T21:37:26+00:00

    Hello ,

    I’m here to help you in resolving your issue

    Since you are experiencing this after upgrading from Windows 10 to Windows 11, the issue could also be related to an incomplete or corrupted upgrade, especially if the recovery partition or system files weren't properly updated during the upgrade process.

    Try to Boot into Safe Mode

    1. Before trying anything drastic, you can attempt to boot into Safe Mode to troubleshoot:
    2. Force Windows to enter Advanced Startup: If you can, force Windows to restart into Advanced Startup by interrupting the boot process three times (turn off and turn on your PC three times during boot).
    3. Once you’re in Advanced Startup, choose Troubleshoot > Advanced options > Startup Settings > Restart.
    4. After restarting, select Enable Safe Mode.
    5. If you can boot into Safe Mode, you may be able to run repairs or uninstall problematic drivers.

    Run SFC and DISM commands

    1. Press Win +S > search for Command Prompt > Right click on it > click on Run as administrator > Run below commands

    sfc /scannow

    dism /online /cleanup-image /checkhealth

    dism /online /cleanup-image /restorehealth

    If you can access Safe Mode, go to Device Manager and check for any devices with a yellow warning triangle. Update or uninstall the problematic drivers.

    After trying above steps, please reach out to me if you have any doubts or issues

    Was this answer helpful?

    0 comments No comments