Risoluzione dei problemi

SQL Server Product Key Invalid or Wrong Edition? What to Check in Setup

SQL Server product key invalid or wrong edition: the Enter the product key option, the edition on the License Terms page and the discovery report

Is your SQL Server product key invalid in setup, or did setup install a different edition than the one you paid for? These are the first things we would check: that the key is for the same SQL Server version as the setup, that it is typed in the right place, and whether the instance is already installed and needs Edition Upgrade instead of a new installation. Below is what to check, with screenshots from our own Windows Server 2022 test server running SQL Server 2022 setup (October 2026). We didn't trigger the invalid key message on purpose, so this post doesn't show it.

IMPORTANT: in our test, the product key decided the edition. After we typed a SQL Server 2022 Standard key, setup showed SQL Server 2022 Standard Edition on the next page. Always check that edition before you click Next.

1. Type the key in the right place

1.1 On the Edition page of SQL Server 2022 setup you see three options. Specify a free edition installs Developer, Evaluation or Express without a key. According to the text on this page, Evaluation is activated with a 180-day expiration. If you choose it by mistake, your server runs a trial, not your paid license.

SQL Server 2022 Setup, Edition page: Specify a free edition (Evaluation), pay-as-you-go billing and Enter the product key

1.2 To use your license, select Enter the product key and type your key in the box below it.

1.3 On our server we also checked I have a SQL Server license only, then clicked Next.

SQL Server 2022 Setup, Edition page: Enter the product key selected and I have a SQL Server license only checked

2. Check that the key and the setup are the same version

Check that the setup you run is the same SQL Server version as your license. The window title shows which setup you are running, for example SQL Server 2022 Setup.

3. Check the edition before you install

3.1 After you click Next, the edition of your key appears at the top of the License Terms page. On our server it was SQL Server 2022 Standard Edition.

SQL Server 2022 Setup, License Terms: the edition of the key, SQL Server 2022 Standard Edition, at the top

3.2 If this is not the edition you expected, click Back and check the key on your license page. The note under the terms reminds you to make sure you are entitled to the edition of the key you enter.

3.3 Already installed? Open SQL Server Installation Center, go to Tools and run Installed SQL Server features discovery report. The Edition column shows the edition of each instance. On our server, MSSQLSERVER runs Standard Edition and EVAL runs Enterprise Evaluation Edition, the free trial.

SQL Server 2022 Setup Discovery Report: MSSQLSERVER in Standard Edition and EVAL in Enterprise Evaluation Edition

4. Installed the wrong edition? Use Edition Upgrade

4.1 You don't need to install SQL Server again to move up to your paid edition. In SQL Server Installation Center, go to Maintenance and click Edition Upgrade, then enter your product key. The text of the Edition page of setup says the same: to move from one installed edition to another, run the Edition Upgrade wizard.

SQL Server Installation Center, Maintenance: Edition Upgrade

4.2 According to Microsoft, these are the edition changes that SQL Server 2022 supports (we leave out the Web edition):

  • From Evaluation: to Standard or Enterprise. Microsoft supports this on stand-alone installations, not on clustered installations.
  • Da Developer o Express: a Standard o Enterprise.
  • Da Standard: a Enterprise.

4.3 Going down from a paid Enterprise instance to Standard is different. Microsoft says you must completely uninstall the instance and install it again. Back up your databases first. We didn't test this on our server.

4.4 When we moved our Evaluation instance to Standard, the Feature Rules page showed one warning, SQL Server 2022 edition downgrade (the instance was Enterprise Evaluation Edition and the key was Standard). It was a warning, not a failure: we clicked Next and the upgrade finished. If you use Enterprise features, check that Standard supports them before you continue. Our step-by-step guide is How to Change Your SQL Server Edition or Product Key.

Upgrade the Edition for SQL Server 2022, Feature Rules: Passed 5, Failed 0, one warning, SQL Server 2022 edition downgrade

5. Other things that block Edition Upgrade

Microsoft lists these, and we didn't run into them on our server:

  • Run setup as an administrator on the server.
  • A pending restart blocks the upgrade. Restart Windows first, then run Edition Upgrade again.
  • The Windows Installer service must be running.
  • Setup restarts the SQL Server services, so applications can't connect for a moment. Do it when nobody is using the databases.

6. Avoid typing mistakes

A paste is safer than typing by hand: copy the key from your license page and paste it into the box, without spaces before or after. If you type it by hand, check each group of characters against your license page before you click Next.

7. Rivela la licenza solo quando sei pronto

At Licendeals, your license stays hidden until you click Get my license. Reveal it when your server is ready and you can enter it in setup right away. If a license doesn't work, tell us within 24 hours of revealing it and we will replace it right away.

8. Domande frequenti

Why does SQL Server setup say my product key is invalid?

We didn't trigger this message on our test server, so we can't say what causes it. These are the first things to check: that the key is for the same SQL Server version as the setup you are running, that you typed it under Enter the product key, and that there are no extra spaces. If the instance is already installed, use Edition Upgrade under Maintenance instead of a new installation.

Why did setup install Evaluation instead of my edition?

Specify a free edition was selected on the Edition page, so setup installed the free trial. Run Edition Upgrade with your product key to move that instance to Standard or Enterprise.

How do I know which edition my key installs?

After you enter the key and click Next, the License Terms page shows the edition at the top, for example SQL Server 2022 Standard Edition. Check it before you continue.

Can I use a Standard key on a paid Enterprise instance?

Not with Edition Upgrade. Microsoft says going from Enterprise to Standard needs a complete uninstall and a new installation with the Standard edition, after backing up your databases. An Evaluation instance is different: it can move to Standard, as in section 4.4.

How do I check the edition of an installed instance?

Apri SQL Server Installation Center, vai su Tools ed esegui l’Installed SQL Server features discovery report. La colonna Edition mostra l’edizione di ogni istanza.

Checked on: our Windows Server 2022 test server with SQL Server 2022 setup (October 12, 2026) and Microsoft's guides In-place change of SQL Server edition and Supported version and edition upgrades (SQL Server 2022), read on 2026-11-23. Microsoft can change its installer; check it if something looks different on your screen.

Still stuck? Our team can help you with your SQL Server key, with 24/7 support. Read How to Install SQL Server 2022 and Enter Your Product Key or SQL Server Standard vs Enterprise, get your SQL Server 2022 Standard license key or SQL Server 2022 Enterprise license key, or browse all SQL Server license keys at Licendeals.