GuidesContact support

Visual Studio · Activate

How to Activate Visual Studio 2022 with a Product Key

Open Visual Studio 2022 Professional or Enterprise, go to File > Account Settings, select Unlock with a Product Key, enter your key, and click Apply. The Community edition doesn't use a key.

Updated 11/23/20265 min read

This guide shows you how to enter a product key to unlock Visual Studio 2022 Professional or Enterprise. It covers every step, from downloading the right 2022 installer to checking that your license has been applied.

Before you activate

0/3

Download and install Visual Studio 2022

Microsoft still provides the Visual Studio 2022 installers on the Visual Studio 2022 release history page, under Evergreen bootstrappers. These files always install the latest 2022 release, and you don't need to sign in to download them.

  1. Open the Visual Studio 2022 release history page using the link above.

  2. Scroll down to Evergreen bootstrappers.

  3. Download vs_professional.exe if your key is for Professional, or vs_enterprise.exe if your key is for Enterprise.

  4. Run the downloaded file to open the Visual Studio Installer.

  5. Select the workloads you need, such as .NET or C++ development, then click Install.

  6. Wait for the installation to finish, then open Visual Studio 2022.

Enter your product key

You don't have to sign in with a Microsoft account to enter a key. The first time you open Visual Studio, you can sign in right away or skip it and do it later.

  1. Open Visual Studio 2022.

  2. On the menu bar, select File > Account Settings.

  3. In the Account Settings dialog, click Unlock with a Product Key. In some updates, this link is called License with a Product Key.

    Visual Studio's Personalization Account dialog with the “Unlock with a Product Key” button.
    Click “Unlock with a Product Key” (Account Settings).
  4. When the Enter a product key box appears, paste your key into the empty field.

  5. Click Apply to confirm.

    Visual Studio Enterprise 2022 showing the product key dialog and the “Apply” button.
    Click “Apply” to confirm.
  6. Check the license information on the right side of the Account Settings dialog to make sure Visual Studio has accepted the key.

Do you need to sign in with a Microsoft account?

Not if you activate with a product key. Signing in mainly lets you sync settings across computers, use GitHub Copilot, or connect to Azure services right inside Visual Studio.

If you have a Visual Studio Subscription, you don't need a key. Just click Sign in in the top-right corner and sign in with the account the subscription is assigned to. Visual Studio will find the subscription and unlock automatically.

Microsoft also recommends a product key if you often work on a weak connection or without internet for long periods, because account-based licenses need to be refreshed online from time to time. You can learn more in Microsoft's guide to unlocking Visual Studio.

Frequently asked questions

Was this guide helpful?
How to Activate IObit Driver Booster PRO with a License CodeHow to Leave a Microsoft 365 Family GroupHow to Enter a Product Key to Activate Windows 10 and Windows 11

Still need help?

Send your order code and we can sort it out faster.

Contact support