Generate product key using command prompt

Original title: how do u  generate product key using command prompt?

how to generate product key using command prompt

Answer
Answer

Hi,

Thanks for posting your query to Microsoft forum. I will certainly help you with this.

We cannot generate product key through command prompt but can remove, add and activate it.

Using the command :

Open Command prompt

  1. Press Windows key on the keyboard and type cmd.
  2. Right-click on cmd from the programs list and select Run as administrator.
  3. Type the following command:
  • slmgr -upk 
  • slmgr -ipk  <your product key>
  • slmgr -ato

     4. Exit the command prompt.

Note: slmgr -upk  uninstalls the Product Key, slmgr -ipk  <your product key> installs the Product key and slmgr -ato activates Windows.

Hope this information is helpful. Please post back for further assistance, we'll be glad to assist you.

_______________

Thanks & Regards,

Isha Soni

12 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated May 15, 2024 Views 7,759 Applies to: