ethan-s
11/25/2016 - 11:39 PM

Restore rEFInd as default boot manager from Windows after updates

Restore rEFInd as default boot manager from Windows after updates

After losing access to rEFInd yet again (Windows 10 Anniversary Edition), I was able to find the proper invocation of BCDEdit thanks to a helpful person on StackOverflow. None of the Microsoft documentation mentions this, but you NEED single quotes around {bootmgr} for sure if you are in the PowerShell shell, but possibly also if you are in the Command Prompt. This allowed me to add a new entry for rEFInd and I've had to do this multiple times so I know it works on Windows 10.

bcdedit /set {bootmgr} path \EFI\refind\refind_x64.efi 

becomes

bcdedit /set '{bootmgr}' path \EFI\refind\refind_x64.efi

To the author of rEFInd: You may want to update this in the couple places it is mentioned on your site, I'm not certain if the quotes also work on Windows 7 as I don't have an EFI based install to test with, but you could ask your readers to try and share.

One on the main page around here, http://www.rodsbooks.com/refind/installing.html#windows One was on this page, http://www.rodsbooks.com/refind/bootcoup.html#bcdedit