How to Write a New Partition Boot Sector in Windows

Use the BOOTREC Command to Fix Issues With the Partition Boot Sector

Writing a New Partition Boot Sector (Windows 10)
Screenshot of the bootrec /fixboot command in Windows 10