To remove the key type the folowing command: slmgr.vbs -dti To remove the key from the registry type the folowing command: slmgr.vbs -cpky To remove the license and the key all together type: slmgr.vbs -upk For list of command about slmgr.vbs type: slmgr.vbs /?