Windows Backup failed to get an exclusive lock on the EFI system partition (ESP) - Symantec Endpoint Protection

Jesse Flintoff 221 Reputation points
2022-06-17T02:27:41.73+00:00

Hello everyone.

I have 30 odd Windows 10 & Windows 2019/2022 Servers that get this error randomly when performing a Bare Metal backup using Windows Backup to internal and external hard drives.

Error: Windows Backup failed to get an exclusive lock on the EFI system partition (ESP)
If I re-run the backup immediately. It works fine 9 times out of 10. Anyone else having the same issue?
Kind regards
Jesse

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,199 questions
Windows Server Backup
Windows Server Backup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Backup: A duplicate copy of a program, a disk, or data, made either for archiving purposes or for safeguarding valuable files from loss should the active copy be damaged or destroyed.
476 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,847 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Limitless Technology 39,661 Reputation points
    2022-06-20T07:36:06.12+00:00

    Hi JesseFlintoff-4117,

    The error ‘Windows Backup failed to get an exclusive lock on the EFI partition (ESP)’ usually occurs when there’s an application that is denying access of the process.

    The error generally occurs when it is denied the required access typically if you are not using an administrator account. However, if you are using an administrator account and still facing the issue, then in such a case, it can be due to the following factors:

    Third-party applications: In some cases, the error can be due to the third-party applications running on your system.
    Windows Defender or Antivirus: If you are facing the said issue, it can be due to the restrictions imposed by the Windows Defender or your third-party antivirus.
    Windows Backup Service: Lastly, the error can also emerge if a certain Windows backup service is using the wrong log on user.

    I hope this answers your question.

    -------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--


  2. Jesse Flintoff 221 Reputation points
    2022-07-01T04:49:13.027+00:00

    ..........

    0 comments No comments

  3. Harry Leonard 1 Reputation point
    2022-10-02T00:07:33.927+00:00

    Final solution...in backup settings...choose "Let me choose", rather than "recommended" Windows settings. Hope this works for you!


  4. Ancera Informatica 0 Reputation points
    2024-05-07T10:30:23.7833333+00:00

    I have the same problem. Do you finally solve it?

    0 comments No comments

  5. Espen 6 Reputation points
    2024-06-06T08:28:08.9966667+00:00

    In Windows Server 2022 some users have this problem.

    This workaround seem to work (read the whole post before applying):

    1. In Task Scheduler go to Task Scheduler Library -> Microsoft -> Windows -> Backup -> Properties -> Settings and Check the box “Allow task to be run on demand”
    2. Open cmd and type this command: schtasks /create /F /RU SYSTEM /RL HIGHEST /SC onevent /EC Application /MO "*[System[Provider[@Name='Microsoft-Windows-Backup'] and (EventID=517)]]" /TN "Microsoft\Windows\Backup\Retry_Backup" /TR "schtasks /run /tn \"Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup\""

    PS: EventID in the command refere to the Event ID you can see in Event Viewer when the backup task fail. If this is NOT 517 (fail to get exclusive lock on EFI), then this workaround might not be the one for you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.