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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.