Skip to content

Instantly share code, notes, and snippets.

@emtee40
Created June 23, 2024 05:16
Show Gist options
  • Save emtee40/df3e79ef4b9c0e4d863f0f2e59f6e64b to your computer and use it in GitHub Desktop.
Save emtee40/df3e79ef4b9c0e4d863f0f2e59f6e64b to your computer and use it in GitHub Desktop.
Fix MyAsus in WinRE

Fix MyAsus in WinRE

  • Ensure that BitLocker is turned off

  • Download DiskGenius

  • Ensure you have RECOVERY, RESTORE, MYASUS partition (if you don't have, try this)

    • RECOVERY partition should have Recovery/WindowsRE/ReAgent.xml

    • RESTORE partition should have Recovery/RecoveryImage/ASUS.swm

    • MYASUS partition should have AsusWinRE/AsusWinRE.idx

      Screenshot 2024-06-16 123050-min
    • In some cases the name of partition might be different or multiple partitions exist in that case explore all partition through DiskGenius and look for the files mentioned above

  • Assign proper label to following partitions (case sensitive)

    • To set label, in DiskGenius select the partition you want to rename right click --> set volume name --> type the proper name in the textbox --> hit ok

      Screenshot 2024-06-16 123304-min
    • Set the label of C: drive to OS

    • Make sure the label of recovery, restore, myasus is correctly set to RECOVERY, RESTORE, MYASUS

    • Set the name of system partition to SYSTEM (sometimes has a blank label, this partition should contain EFI folder and is around 100MB in size)

    Screenshot 2024-06-16 122623-min
  • Link Windows Recovery Environment to RECOVERY partition

    • Search for command prompt and run it as administrator and execute the following commands:

      • diskpart

      • list disk

      • select disk # (probably disk 0)

      • list vol

      • select vol # (select the RECOVERY partition)

      • assign letter=x

      • exit

      Screenshot 2024-06-16 122859-min
    • Next, navigate in Windows Explorer to C:\windows\system32\Recovery DELETE or RENAME the file ReAgent.xml

    • Go back to the elevated command prompt and execute the following commands:

      • reagentc /disable (just in case it's enabled with the wrong image, likely not)

      • reagentc /setreimage /path x:\Recovery\WindowsRE /target C:\Windows

      • reagentc /enable

      • diskpart

      • list disk

      • select disk # (probably disk 0)

      • list vol

      • select vol # (select the RECOVERY partition)

      • remove letter=x

      • exit

      Screenshot 2024-06-16 122918-min
  • Now go to WinRE (by holding shift and hitting restart) in troubleshoot there should be MyAsus in WinRE option!

    b864020e-5000-493c-8695-f3c28fbc4fcb-min

credits:

https://www.reddit.com/r/ASUS/comments/r6rd94/comment/k5hbaqi https://www.reddit.com/r/ZephyrusG14/comments/nvvldu/comment/h167f0e

Restore RECOVERY, RESTORE, MYASUS partitions

@emtee40
Copy link
Author

emtee40 commented Jun 23, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment