This originally appeared on the Annexe.

Open a Command Prompt as Administrator, then:

C:\> slmgr.vbs -upk

If it works, you’ll get:

Uninstalled product key successfully.