Windows activation error 0x8007007B, "DNS name does not exist"

This code means the Windows activation client tried to find the company Key Management Service host through DNS and the lookup failed. It is a volume activation error, in the same family as 0xC004F074 and 0x8007232B. On a work or school PC it usually means the PC is off the company network. On a personal PC it usually means a volume license key is installed where a retail key belongs.

The fix, in order

  1. On a work or school PC, connect to the organization network or VPN. The KMS host is only visible from inside the company network. Once connected, retry activation with slmgr.vbs /ato in an admin Command Prompt, or from Settings > System > Activation.
  2. Confirm the network itself works. Check that other sites and services load, and that the date, time, and time zone are correct. A wrong clock can break activation, and a dead connection can look like a DNS failure.
  3. On a personal PC, enter a retail key. If this is your own PC, it should not be looking for a KMS server at all. Go to Settings > System > Activation > Change product key and enter a retail key that matches the installed edition, or buy a digital license from the Microsoft Store.
  4. Run the Activation troubleshooter. Go to Settings > System > Activation and select Troubleshoot. On Windows 11 it can also be started from the Get Help app.
  5. For IT admins, check the KMS records. Confirm the KMS host has published its DNS service records, or point the client at the host directly with slmgr.vbs /skms <kms_host_name>, then retry with slmgr.vbs /ato.
Do not install a KMS activator or emulator to work around this error. Those tools are piracy tools, they often bundle malware, and any activation they provide is not genuine. A work PC needs its real company KMS host, and a personal PC needs a real retail key.

If it still happens

On a work or school PC, contact your IT team with the error code, since only they can check the KMS host, its DNS records, and the network path to it. On a personal PC, once a retail key is entered and the troubleshooter has run, contact Microsoft Support through the Get Help app or support.microsoft.com if activation still fails.

Common questions

Is 0x8007007B a DNS problem on my PC? Usually not. It means the KMS host record could not be found in DNS, most often because the PC is off the company network. The company KMS records only exist in company DNS, so the PC needs to be on that network or connected through VPN.

What is the difference between 0x8007007B and 0x8007232B? Both mean the KMS host could not be found through DNS. 0x8007007B is the DNS lookup failure itself, and 0x8007232B is the same failure reported when activation is attempted. The fix path is the same for both codes.

Can I fix it by changing my DNS server? Changing to a public DNS server will not help on a work PC, because the company KMS records only exist in company DNS. Connect to the company network or VPN instead. On a personal PC, enter a retail key so Windows stops looking for a KMS host.

Related errors

Windows activation error 0x8007232B · Windows activation error 0xC004F074 · Windows activation error 0xC004C003 · Windows Update error 0x80070005

Was this helpful?