Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to activate Windows 2008 Server in Amazon EC2 as described here:

I'm trying these two amazon addresses, for my server's region:

I get success when I run: slmgr.vbs /skms

The I get a 0xC004F039 error upon running: slmgr.vbs /ato

slmgr.vbs /dli shows:

Registered KMS machine name:

I can't ping:

But I can ping

The time is synced to a server which can activate without any problems, so incorrect request timestamp shouldn't be an issue.

Any help or insight would be much appreciated.

share|improve this question

1 Answer 1

Are you running a local DNS server?

I found that even if you tell IPv4 to use DHCP for its DNS server, Windows will prefer the IPv6 server on ::1. Check by running 'nslookup'.

After making that change, I changed the EC2WindowsActivate plugin and restarted the service, and it activated correctly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.