I want to remove my license key in visual studio 2017. how can i do it? I am trying to change the product key but I cant.
相关问题
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- Visual Studio 2019 - error MSB8020: The build tool
- 'System.Threading.ThreadAbortException' in
- VS2017 RC - The following error occurred when tryi
相关文章
- How to show location of errors, references to memb
- How to track MongoDB requests from a console appli
- Visual Studio Hangs on Loading UI Library
- How to use Mercurial from Visual Studio 2010?
- Copy different file to output directory for releas
- Edit & Continue doesn't work
- Calling a .Net Framework 4 (or Mono) assembly from
- “Csc.exe” exited with code -1073741819
MPCs 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
For VS 2019 the registry key is:
HKEY_CLASSES_ROOT\Licenses\41717607-F34E-432C-A138-A3CFD7E25CDA
Well I found two possible solutions for Visual Studio 2013, 2015, 2017 and 2019.
1. Setting new product key with
StorePID.exe
(MS Docs).C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE
)cmd
as adminStorePID.exe <your_new_product_key> <MPC>
Possible Microsoft Product Codes (MPC) are:
06177
Visual Studio Professional 201306191
Visual Studio Premium 201306181
Visual Studio Ultimate 201307062
Visual Studio Professional 201507060
Visual Studio Enterprise 201508860
Visual Studio Enterprise 201708862
Visual Studio Professional 201708866
Visual Studio Test Professional 201709260
Visual Studio Enterprise 201909262
Visual Studio Professional 20192. Removing product key first and set new one. (VS 2015/2017/2019)
HKEY_CLASSES_ROOT\Licenses\4D8CFBCB-2F6A-4AD2-BABF-10E28F6F2C8F
and delete itHKEY_CLASSES_ROOT\Licenses\5C505A59-E312-4B89-9508-E162F8150517
and delete itHKEY_CLASSES_ROOT\Licenses\41717607-F34E-432C-A138-A3CFD7E25CDA
and delete itIt's not the best way to solve it, but faster than deinstall and install the complete IDE.
Update (2020-01-09)
For VS 2015, a key is
for what it's worth...