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.

1 Answer
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
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions