Install SQL Server and enter the product key

Here is how you install SQL Server and enter the product key: you start setup.exe, open the new installation in the Installation Center and choose on the Product Key page whether you set up a free edition or a licensed version with a key. You enter the key exactly there. After that come the license terms, the selection of components, the instance and the authentication mode. An Evaluation or Express can be raised to Standard or Enterprise later without a reinstallation, via the Edition Upgrade.

Quick decision

Your situation Suitable path
New server with a purchased license start setup, enter the key on the Product Key page
Only testing or developing choose the free edition in setup (no key)
Express or Evaluation is running, license now available edition upgrade, see below
Installation files not yet downloaded download first, see the reference

Where you download Express, Developer and Evaluation is in
Download SQL Server.

1. Start setup

  1. Insert the installation media or open the downloaded folder and start setup.exe as administrator.
  2. The SQL Server Installation Center opens. On the left, select Installation.
  3. Choose New SQL Server standalone installation.

The wizard combines all components in one tree; you therefore do not install them individually.

2. Edition and product key

On the Product Key page you decide between a free edition and a licensed version:

  • For Standard or Enterprise, choose the option with a key and enter the 25-character product key (PID) from your order.
  • For Express, Developer or the 180-day Evaluation, choose the corresponding free edition without a key.

Then confirm the License Terms page by checking the box for the license terms.

3. Components, instance and sign-in

  1. Feature Selection. Choose the components. For a database, check Database Engine Services.
  2. Instance Configuration. The default instance is called MSSQLSERVER. If a default instance already exists on the computer, install a named instance with its own name.
  3. Database Engine Configuration. Choose the authentication mode: Windows Authentication or Mixed Mode. With Mixed Mode, set a strong password for the sa system account.
  4. Ready to Install. The page shows a summary. Install begins the installation, which first sets up the prerequisites and then the chosen components.
  5. Complete. A note about a successful installation and a link to the log file close the wizard.

The management tool SQL Server Management Studio (SSMS) is not included in the server setup, but is a separate free download; the classification is in
Download SQL Server.

4. Raise an Evaluation or Express (edition upgrade)

If you started with a free edition and bought a license later, you do not have to reinstall. Microsoft documents the edition upgrade for this:

  1. Start setup.exe and open the Maintenance item in the Installation Center.
  2. Choose Edition Upgrade.
  3. After the system check, enter the key of the target edition on the Product Key page.
  4. Confirm the license terms, choose the instance to change and finish with Upgrade.

Microsoft points out that the SQL Server services are restarted in the process; there is therefore a short downtime. An Evaluation can be raised to Standard or Enterprise, Express to a paid edition. The reverse (downgrading a higher edition) is not an in-place procedure: for that you uninstall the instance and reinstall the desired edition. The limits of Express are explained by
SQL Server Express: limits.

Typical errors

If setup aborts, it names a rule or a code. An overview of the Microsoft error codes is in the
error code database. First check whether you started setup as administrator and whether the key matches the chosen edition.

License and editions

Which edition you need is shown by
SQL Server 2025 editions compared. The licensing model (by cores or server plus CAL) is explained by
Licensing SQL Server: core or CAL. Current licenses are, for example,
SQL Server 2025 Standard,
SQL Server 2025 Enterprise or
SQL Server 2022 Standard. All packages are under
SQL Server. More SQL topics are bundled in the
SQL Server guides overview.

Frequently asked questions

Where do I enter the SQL Server product key? In setup, on the Product Key page. There you choose the licensed version and enter the key. For a free edition, the field stays empty.

Can I raise Express to Standard later without reinstalling? Yes. Via Maintenance › Edition Upgrade in the Installation Center, you enter the Standard key. The databases are retained, the services restart once.

Which authentication should I choose? Windows Authentication is the more secure default. You only need Mixed Mode if applications sign in with SQL-native accounts; then you set a strong sa password.

Do I need SQL Server Management Studio for the installation? No. SSMS is a separate, free tool for management and is installed additionally as needed.

Can an edition also be downgraded? Not in-place. For a lower edition, you uninstall the instance and reinstall the desired edition.

Sources

Checked on 2026-11-30 against the publisher’s information:

Cookies and Google services

With your consent we use Google Analytics (statistics) as well as Google's rating widget and Customer Reviews (Google services). In doing so, data is sent to Google, including to the USA. Declining has no disadvantages; you can change your choice at any time under “Cookie settings” in the page footer. Privacy policy