EC2 Administrator permission access denied

0

Hi AWS, I am running the CI/CD pipeline to deploy a DOTNET application on IIS server using GitHub Actions which is configured on EC2 Windows Instance using Base AMI amazon/Windows_Server-2022-English-Full-Base-2023.08.10. The error I am getting is:

**Access denied, you must be an administrator of the remote computer to use this

command. Either have your account added to the administrator local group of

the remote computer or to the domain administrator global group.


Access denied, you must be an administrator of the remote computer to use this

command. Either have your account added to the administrator local group of

the remote computer or to the domain administrator global group.

Error: Process completed with exit code 1.**

Can someone from the Amazon team help me in resolving this issue as I have been experiencing it since yesterday due to which my deployment gets stuck.

profile picture
Arjun
preguntada hace 9 meses322 visualizaciones
1 Respuesta
0

Hi Arjun,

Ensure the account you're using to run the tasks on the Windows EC2 instance has administrator privileges.

If using a specific IAM user, make sure that the IAM user has the necessary permissions to execute the required actions.

profile picture
respondido hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas