GuidesContact support

SQL Server · Activate

How to Enter a SQL Server Product Key with Edition Upgrade

To enter a key for an installed SQL Server, open SQL Server Installation Center, select Maintenance, then Edition Upgrade. Paste your key on the Product Key page and choose the instance you want to upgrade.

Updated 11/23/20267 min read

This guide shows you how to enter a product key for SQL Server installed on Windows. For example, you might want to move from Evaluation, Developer, or Express to Standard or Enterprise. You'll use the Edition Upgrade feature built into Microsoft's setup program. It keeps your existing instance and databases as they are.

Before you enter the key

0/5

Supported edition upgrades

The table below summarizes the edition upgrade paths within SQL Server 2022, based on Microsoft's documentation.

You're usingYou can enter a key to upgrade to
EvaluationEnterprise, Standard, Developer, Web
ExpressEnterprise, Standard, Developer, Web
DeveloperEnterprise, Standard, Web
WebEnterprise, Standard
StandardEnterprise

Other versions have their own tables. See Microsoft's Supported version and edition upgrades page. Edition Upgrade only moves you up to a higher edition. It can't downgrade.

Enter the key with Edition Upgrade

Open SQL Server Installation Center

Use either method below. Both open the same window.

  • From the setup media: open the SQL Server ISO file or setup folder, right-click setup.exe, and select Run as administrator.
  • If SQL Server is already installed: open the Start menu, find the Microsoft SQL Server folder for your version year, and select SQL Server Installation Center (64-bit) from the configuration tools.

Enter the key and upgrade the edition

  1. In the left pane of Installation Center, select Maintenance.

  2. Click Edition Upgrade.

    Screenshot of SQL Server Installation Center on the Maintenance page, showing the Edition Upgrade button.
    Click 'Edition Upgrade' to open the edition upgrade wizard.
  3. If setup needs to install Setup Support Files, let it install them. If it asks you to restart the computer, restart and start again from step 1.

  4. When the system configuration check finishes, click OK to continue.

  5. On the Product Key page, select Enter the product key, paste your key, and click Next.

  6. On the License Terms page, read the terms, select the checkbox to accept the license terms, and click Next.

  7. On the Select Instance page, choose the instance to upgrade (the default instance is usually named MSSQLSERVER) and click Next.

    Select Instance screen showing the MSSQLSERVER instance and the Next > button.
    Select the instance to upgrade, then click 'Next >' (Select Instance).
  8. Wait for the Edition Upgrade Rules page to finish its checks. If any rule fails, fix it first. When everything passes, click Next.

  9. On the Ready to Upgrade Edition page, review the details and click Upgrade.

    Ready to Upgrade Edition screen in SQL Server 2017, showing configuration details and the Upgrade button.
    Review the details, then click 'Upgrade' (Ready to Upgrade Edition).
  10. When the Complete page appears, click Close. If setup says the computer needs to restart, restart it right away.

If you're upgrading from Express

Express doesn't run SQL Server Agent. After upgrading to another edition, you need to do a few extra things before you use it.

  1. Open the Windows Services window and enable the SQL Server Agent service for the upgraded instance.

  2. Open SQL Server Configuration Manager and set the account that runs the SQL Server Agent service.

  3. Review the BUILTIN\Users group. Any permissions it had under Express are still in place, so disable or adjust them if you don't need them.

  4. Review the size and recovery model of tempdb and model. These settings stay the same as they were under Express.

Check the edition after entering the key

Open SQL Server Management Studio, connect to the upgraded instance, click New Query, and run the following query.

text
SELECT SERVERPROPERTY('Edition') AS Edition,
       SERVERPROPERTY('ProductVersion') AS ProductVersion;

If the Edition column shows the new edition name, such as Standard or Enterprise followed by (64-bit), the key was accepted. If it still shows Evaluation, Developer, or Express, check whether you chose the right instance on the Select Instance page.

If the Engine_SqlEngineHealthCheck rule blocks the upgrade

According to Microsoft, if the Edition Upgrade Rules page fails on the Engine_SqlEngineHealthCheck rule specifically, you can run Edition Upgrade from the command line and skip just that rule.

  1. Open Command Prompt as Administrator.

  2. Use the cd command to go to the setup folder that contains setup.exe.

  3. Replace the X's with your key, then run the command below.

setup.exe /q /ACTION=editionupgrade /InstanceName=MSSQLSERVER /PID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /SkipRules=Engine_SqlEngineHealthCheck

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