Skip to content

Accidently reset the windows firewall.

0

I accidently restored the firewall setting on my windows ec2. Now I am unable to connect to the machine via RDP. I did restart the ec2 instance but is not working. The security groups are set as before. How do I get it to the previous state or connect to windows ec2 instance via RDP?

Thank you.

asked 10 months ago103 views
2 Answers
1

You could try disabling the firewall, or adding new rule(s) to the firewall, by adding this to the instance User Data and then setting the instance to run the User Data on next boot (usually it is only run on initial launch)

More info on User Data https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html

Running the User Data on an existing instance https://repost.aws/knowledge-center/ec2-windows-run-command-existing

EXPERT
answered 10 months ago
0

Hello.

Why not try rewriting the registry after starting another EC2 instance and mounting the root volume of the EC2 where the problem is occurring?
I think the steps described in "Remote Desktop can't connect to the remote computer" in the following document may be helpful.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-connect-windows-instance.html

EXPERT
answered 10 months ago
AWS
EXPERT
reviewed 10 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.