How to change the license key of Visual Studio 2017?

I want to delete my license key in visual studio 2017. how do I do this? I am trying to change a product key, but I cannot.

+12
visual-studio visual-studio-2017 license-key
Oct 13 '17 at 13:37 on
source share
4 answers

Well, I found two possible solutions.

1. Installing a new product key using StorePID.exe ( MS Docs ).

  1. go to the VS 2017 installation directory ( C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE )
  2. run cmd as administrator
  3. run StorePID.exe <your_new_product_key> <MPC>
  4. maybe reboot

Possible Microsoft Product Codes (MPC):

  • 08860 Visual Studio Enterprise 2017
  • 08862 Visual Studio Professional 2017
  • 08866 Visual Studio Test Professional 2017

2. First remove the product key and install a new one.

  1. open registry editor
  2. go to HKEY_CLASSES_ROOT\Licenses\5C505A59-E312-4B89-9508-E162F8150517 and delete it
  3. complete the repair installation VS 2017
  4. enter the new product key in Help> Register Product

This is not the best way to solve it, but faster than uninstalling and installing the full IDE.

+24
Oct 27 '17 at 11:49 on
source share

For VS 2015 Key

 HKEY_CLASSES_ROOT\Licenses\4D8CFBCB-2F6A-4AD2-BABF-10E28F6F2C8F 

what is it worth ...

+4
Aug 10 '18 at 9:18
source share

For VS 2019 registry key: HKEY_CLASSES_ROOT\Licenses\41717607-F34E-432C-A138-A3CFD7E25CDA

0
Jun 08 '19 at 11:26
source share

MPC for VS 2019.

Visual Studio Enterprise 2019 09260

Visual Studio Professional 2019 09262

https://docs.microsoft.com/en-us/visualstudio/install/automatically-apply-product-keys-when-deploying-visual-studio?view=vs-2019

0
Jun 18 '19 at 7:24
source share



All Articles