Hello,
Thank you for posting in Microsoft Q&A.
Based on the description, I understand your question is related to server backup.
The error "Backup of volume ?\GLOBALROOT\Device\HarddiskVolume2\ has failed. Windows Backup failed to get an exclusive lock on the EFI system partition (ESP)" typically occurs when another application is using files on the EFI System Partition (ESP).
Check if there are other apps that are using ESP, especially antivirus software, disk management tools, or any other system utilities.
Restart the Windows Backup service by below commands:
net stop wbengine
net start wbengine
Run below command to check disk error:
chkdsk /f /r
Temporarily disable any antivirus or security software, then right-click on the backup application and select "Run as administrator", then retry backup.
Have a nice day.
Best Regards,
Molly
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it