1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
How about setting the launch script to run the following command when creating a Lightsail snapshot and restoring an instance from the snapshot?
The following command is the command to disable Windows Firewall.
https://docs.aws.amazon.com/lightsail/latest/userguide/create-powershell-script-that-runs-when-you-create-windows-based-instance-in-lightsail.html
<powershell>
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
</powershell>
Relevant content
- asked 2 years ago
- asked 2 years ago
pls give me full command to insert on lanch script to open remote desktop and firewall port