cscript /nologo slmgr.vbs /rearm
Then run slmgr /rearm and reboot.
slmgr /cpky
Before removing anything, it is good practice to know what is currently installed. Type the following command and press Enter: slmgr /dli reset windows activation remove license key
Learning how to and remove a license key gives you full control over your hardware and software assets. Whether you are troubleshooting a stubborn error, transferring a license to a new gaming PC, or wiping a laptop for resale, the slmgr command-line tool is your best friend. cscript /nologo slmgr