Warning: You must confirm that your computer supports UEFI mode, otherwise you will not be able to boot into the system after the conversion. It’s always good to do a backup before starting to convert.
1 Open an elevated command prompt (Win + X, Select “Command prompt (Admin)” or “Windows PowerShell (Admin)”)
2 Type following command and hit Enter key. (If the current MBR disk has four partitions, the following command will fail and return this error “Disk layout validation failed for disk 0”, you can try to delete one if not required and convert again)
mbr2gpt /convert /allowfullOS
3 Reboot, start into BIOS, change BIOS mode from legacy or CSM to UEFI (You might need to check which key to press to enter BIOS, different motherboard has different keys)