This command will attempt to activate Windows 7 using the product key you provided.
Replace <product_key> with your actual Windows 7 product key. For example: windows 7 activation key cmd
: Once the key is installed, prompt Windows to verify it with Microsoft's servers by typing: slmgr /ato . This command will attempt to activate Windows 7
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX slmgr /ato windows 7 activation key cmd