Reinstalled macOS, and now I cannot boot Windows

I had a dual boot system: macOS and Windows. I reinstalled macOS and initially, opencore did not show up when booting. I renamed the Windows bootmgfw.efi file and opencore reappeared. But now I cannot utilise the Windows boot entry that is in opencore. I have tried resetting my NVRAM, but that did not help. I am not sure what to do. I'd really appreciate some help. Thanks!

Update: I renamed bootmgfw.efi back to its original name and both opencore and the Windows boot option worked.

submitted by /u/LaylasSubject
[link] [comments]