Elastic Agent Windows Deployment Symlink Issue 8.4.1

Hello,

When attempting to deploy the Elastic agent via Windows Server GPO I receive the error

"Error: symlink C:\Program Files\Elastic\Agent\data\elastic-agent-8d7885\elastic-agent
.exe C:\Program Files\Elastic\Agent\elastic-agent.exe: A required privilege is not held by the client."

Indicating that creating a symlink via GPO startup script is not possible. What is the work around for this? How does one generally deploy the elastic agent in a Windows environment? If anyone has any insight that would be much appreciated.

Thank you

You need an administrative rights to be able to create a symlink, i.e. mklink on Windows.