How do i remove a license from visual studio 2022?

Wayne Medina 11 Reputation points
2021-12-23T02:34:51.963+00:00

I want to remove the current license in my VS 2022. how can i do that? I've seen a few solutions for older versions of VS, but it looks like it is not applicable for VS 2022. Or how can i check the VS key in my registry editor?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,232 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,053 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,936 Reputation points Microsoft Vendor
    2021-12-23T07:11:56.657+00:00

    Hi @Anonymous ,

    Welcome to Microsoft Q&A!

    For VS2022, please remove the registry key(Before you delete it, I suggest you first export the registry key, so you'll have a backup if you accidentally delete the wrong key.):
    HKEY_CLASSES_ROOT\Licenses\1299B4B9-DFCC-476D-98F0-F65A2B46C96D

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    4 people found this answer helpful.

  2. Mengyang Yang 6 Reputation points
    2022-10-19T08:58:00.007+00:00

    hope the soluton works, looks like it's not easy to remove the license.

    1 person found this answer helpful.
    0 comments No comments

  3. Roger Cole 0 Reputation points
    2024-10-23T20:40:22.04+00:00

    I tried the registry route, but found that to cause a fruitless "update key" link which offered hope, but no opportunity to change to a different product key.

    I discovered via the VS 2022 Pro Help->Technical Support link that the way to do this is to use the storepid.exe command.

    You can find helpful information about using the storepid.exe command in "Automatically apply product keys when deploying Visual Studio"

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.