1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
The official AWS documentation describes Windows Server snapshots as follows:
- Snapshot taken before running Sysprep: The restored instance retains the original Administrator password.
- Snapshot taken after running Sysprep: A new Administrator password is generated for the restored instance, which can be retrieved from the Lightsail console.
Therefore, if you create an instance from a snapshot taken without running Sysprep, you may not be able to retrieve a new password.
https://docs.aws.amazon.com/lightsail/latest/userguide/prepare-windows-based-instance-and-create-snapshot.html
The official AWS documentation states that there is no direct method to reset the Administrator password on Lightsail if it is lost.
https://docs.aws.amazon.com/lightsail/latest/userguide/connect-to-your-windows-based-instance-using-amazon-lightsail.html
Relevant content
asked 10 months ago
- AWS OFFICIALUpdated 2 years ago

You might be able to export the Lightsail snapshot to EC2, attach the disk to another Windows EC2 instance, and copy the data. With this method, you do not need to RDP into the original Windows Server. You will need to create a separate EC2 instance (or similar resource), but this method offers a possibility of recovering at least the data. https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-exporting-snapshots.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Windows-Server-EC2Rescue.html
For data recovery, don't need to export to EC2. Can create a new disk from the root disk snapshot of the instance in Lightsail itself, and then same steps of attaching to another instance to copy data/etc.
https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-create-an-instance-root-volume-snapshot.html
That is the issue. I cannot login at all to run Sysprep. I will look into the other solutions posted here.