Skip to content

Lightsail windows 2019 server instance - windows not activated.

0

Hi, I have this Lightsail Windows Server 2019 Datacenter where the windows is not activated.

I have set slmgr /skms 169.254.169.250:1688 Slmgr /ato and Slmgr /xpr dont work and both return that status = in notification mode. Activation fails with 0xC004F074 and Event ID 8198 (0x80004005). Test-NetConnection kms.core.windows.net -Port 1688 is unreachable and returns false.

this instance was created from a snapshot. Anyways to activate windows?

asked 8 months ago132 views

2 Answers
1

If your Lightsail Windows Server 2019 instance is not activated after being created from a snapshot, this is likely due to the Windows KMS activation not properly connecting to the AWS KMS server. This is a known issue that can occur when restoring from snapshots.

To resolve this activation issue, you can try the following steps:

  1. Set the AWS KMS target by running this command in Command Prompt (as administrator):
slmgr.vbs /skms 169.254.169.250:1688
  1. Then activate Windows by running:
slmgr.vbs /ato

These commands will point your Windows instance to the AWS KMS server (which is available at the special IP address 169.254.169.250) and attempt to activate Windows.

If this doesn't work, the issue might be related to how the snapshot was created. For best results with Windows instances, it's recommended to stop the instance before creating a snapshot to ensure data consistency. Running snapshots on active Windows instances can sometimes result in incomplete or corrupted data.

If you continue to experience issues, you might need to create a new instance directly from the base Windows Server 2019 image rather than from your snapshot, or contact AWS Support for further assistance.
Sources
Troubleshoot Amazon EC2 Windows instance start issues - Amazon Elastic Compute Cloud
Lightsail Windows snapshots attaching as Linux /dev/sda1 — cannot restore Windows instances | AWS re:Post
Troubleshooting license type conversion in License Manager - AWS License Manager

answered 8 months ago

EXPERT

reviewed 8 months ago

0

For windows 2019, you can also try this solution here to activate Windows https://repost.aws/knowledge-center/windows-activation-fails

AWS
MODERATOR

answered 8 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.