Here's how to go about it. Run CMD As Administrator. You can activate your Windows PC using Windows 10 activation txt with the help of command prompt. ... Install KMS Client key. Enter the command slmgr /ipk yourlicensekey and click ENTER button on your keyboard to execute the command. ... Activate Windows.