How to Check Features Installed in SQL Server

sqldba.blogMore of my SQL Server writing is at sqldba.blog, including the current take on installs and patch levels: the builds and lifecycle reference.

The quickest complete answer to which features are installed in SQL Server is a setup discovery report: run setup.exe /ACTION=RunDiscovery and read the Summary.txt it writes. If the instance is running, T-SQL answers part of the question in seconds, and the registry and folder names help when it isn’t. All of them are below, with real output from a SQL Server 2025 instance.

When downgrading from SQL Server Enterprise to Standard, checking the installed features is crucial to ensure compatibility and avoid losing critical functionality. Some Enterprise features may not be available in the Standard edition, so reviewing installed components helps you identify what needs to be removed or adjusted.

Additionally, this process is important for troubleshooting, verifying licensing compliance, and optimizing resources. By checking installed features, you can ensure a smooth transition, maintain security standards, and plan for future growth without unexpected disruptions.

Steps to Discover Installed Features

1. Locate SQL Server Installation Files
You can find the SQL Server installation files within the Setup Bootstrap folder. For example, on SQL Server 2019:

Code
C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\SQL2019

On SQL Server 2025 it is 170\Setup Bootstrap\SQL2025. Alternatively, you may already have the installation ISO handy.

The SQL Server 2025 Setup Bootstrap folder with setup.exe in File Explorer

2. Open Command Prompt as Administrator
Navigate to the folder containing the SQL Server installation files. From the top navigation bar, open cmd.exe. Setup needs administrator rights, so accept the elevation prompt when it appears, or start an elevated prompt and cd to the folder.

Open CMD from Folder

3. Run Setup.exe with the Discovery Parameter
Execute the following command to generate the discovery report:

Code
Setup.exe /ACTION=RunDiscovery

Add /q to run it without the setup window. >> For reference, see Microsoft Learn: Validate a SQL Server Installation.

SQLSetup RunDiscovery

4. Locate the Discovery Report
The discovery report is saved to the following location:

Code
%ProgramFiles%\Microsoft SQL Server\<nnn>\Setup Bootstrap\Log\<last Setup Session>

Replace <nnn> with the version number of SQL Server:
– SQL Server 2012: 110
– SQL Server 2014: 120
– SQL Server 2016: 130
– SQL Server 2017: 140
– SQL Server 2019: 150
– SQL Server 2022: 160
– SQL Server 2025: 170

SQLSetup Summary File

5. Review the Discovery Report
Open the discovery report to see the installed features. It highlights components such as the Database Engine Services or Reporting Services. A copy of the latest run’s summary also sits directly in the Log folder as Summary.txt.

If you prefer PowerShell, use Get-Content to navigate through the log files and locate the summary:

PowerShell
# show sql upgrade/installation summary file
Get-Content "C:\Program Files\Microsoft SQL Server\<nnn>\Setup Bootstrap\Log\<last Setup Session>\Summary.txt"
SQLSetup Summary File PowerShell

The highlighted sections in the discovery report will show installed features. For instance, the report may indicate that only the Database Engine Services are installed for SQL Server 2019 Developer Edition.

Verified on SQL Server 2025

The screenshots above are from SQL Server 2019. On SQL Server 2025 the steps are the same: the version folder is 170, the setup files sit under Setup Bootstrap\SQL2025, and the discovery output lands in 170\Setup Bootstrap\Log. If you are not sure which version you are even looking at, sqldba.blog has the quick reference in How to Check SQL Server Version.

This is the summary from a discovery run on my SQL Server 2025 lab instance, which took eight seconds. The features table is trimmed to the useful columns:

Code
Overall summary:
  Final result:                  Passed
  Exit code (Decimal):           0
  Requested action:              RunDiscovery

Product features discovered:
  Product          Instance     Instance ID          Feature                              Edition                       Version
  SQL Server 2025  MSSQLSERVER  MSSQL17.MSSQLSERVER  Database Engine Services             Enterprise Developer Edition  17.0.4075.5
  SQL Server 2025  MSSQLSERVER  MSSQL17.MSSQLSERVER  AI Services and Language Extensions  Enterprise Developer Edition  17.0.4075.5
Summary.txt from a SQL Server 2025 RunDiscovery: Database Engine Services and AI Services and Language Extensions on MSSQLSERVER

Worth knowing: the same report is also written as SqlDiscoveryReport.htm in the date-stamped session folder next to Summary.txt, and the HTML version is the one to attach when someone in licensing or a migration project asks what is installed. Note the AI Services row too. On 2025, features you did not consciously choose can be present, which is exactly why a discovery report beats memory.

Check From T-SQL Without Touching Setup

If the instance is up, you can get most of the answer without running setup.exe at all, and without Windows administrator rights. Both of these are tested on SQL Server 2025:

SQL
-- Which SQL Server services exist on this box, and their state
SELECT servicename, status_desc, startup_type_desc
FROM sys.dm_server_services;

-- Feature flags the engine exposes directly
SELECT SERVERPROPERTY('Edition') AS Edition,
       SERVERPROPERTY('IsFullTextInstalled') AS FullText,
       SERVERPROPERTY('IsPolyBaseInstalled') AS PolyBase,
       SERVERPROPERTY('IsAdvancedAnalyticsInstalled') AS MachineLearning,
       SERVERPROPERTY('IsIntegratedSecurityOnly') AS WindowsAuthOnly;

On my instance the first query returns three rows, SQL Server, SQL Server Agent and SQL Server Launchpad, all running and automatic. The flags return 0 for Full-Text and PolyBase and 1 for IsAdvancedAnalyticsInstalled, which matches the AI Services and Language Extensions row in the discovery report. The limitation is that these views cover services and a handful of flagged features, not the full component list. Reporting Services, Integration Services and client tools will not show up here, so the discovery report remains the authoritative answer. T-SQL is the quick check, discovery is the audit. DBA Scripts: Get Version and Edition on sqldba.blog wraps the version and edition side of this into one script.

Check the Registry and Services From PowerShell

Without setup media or a T-SQL connection, the registry still knows which instances exist and what edition and patch level setup recorded. These run in a normal PowerShell window:

PowerShell
# Instance names and their instance IDs
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL'

# Edition, installed version and patch level for one instance ID
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL17.MSSQLSERVER\Setup' |
    Select-Object Edition, Version, PatchLevel

# SQL Server services on the machine
Get-Service -Name 'MSSQL*', 'SQL*' | Select-Object Name, Status, StartType

On my lab machine they return:

Code
MSSQLSERVER
-----------
MSSQL17.MSSQLSERVER

Edition                      Version     PatchLevel
-------                      -------     ----------
Enterprise Developer Edition 17.0.1000.7 17.0.4075.5

Name            Status StartType
----            ------ ---------
MSSQLLaunchpad Running Automatic
MSSQLSERVER    Running Automatic
SQLBrowser     Stopped  Disabled
SQLSERVERAGENT Running Automatic
SQLTELEMETRY   Running Automatic
SQLWriter      Running Automatic

Version is the level the instance was first installed at (17.0.1000.7 is SQL Server 2025 RTM), and PatchLevel is where it is now after cumulative updates. A Launchpad service is another sign of the machine learning and language extensions feature. The services list is quick, but it only shows features that run as a service.

If This Is for an Edition Downgrade

The discovery report tells you which features are installed, but for an Enterprise to Standard downgrade there is a second question that matters more: which edition-restricted features are actually in use inside your databases. The documented check is sys.dm_db_persisted_sku_features, run per database. Since SQL Server 2016 SP1 most of what it lists, such as compression, partitioning and columnstore, also works in Standard, and Transparent Data Encryption joined Standard in SQL Server 2019, so on current versions it often returns nothing. Instance limits such as memory and cores are the other half of a downgrade, and no setup report checks those for you.

I keep a ready-made script for this on sqldba.blog in DBA Scripts: Get Edition Feature Usage, which sweeps the instance rather than one database at a time. And if the downgrade is really happening, the full order of operations, including the licensing checks and rollback points, is written up in the SQL Server Edition Change Runbook. Run the discovery report first, then the feature usage check, and you will know the size of the job before anyone commits to a date.

When the Instance Is Down, Read the Folders

Discovery needs setup files and T-SQL needs a running engine. When you have neither, the folder layout still tells a story, and the naming convention is consistent: each instance gets a folder named MSSQL<major version>.<instance name> under C:\Program Files\Microsoft SQL Server. On my 2025 default instance that is MSSQL17.MSSQLSERVER, the same ID the registry shows. A machine with MSRS13.MSSQLSERVER sitting next to MSSQL13.MSSQLSERVER is telling you Reporting Services 2016 was installed alongside the engine, whether or not either service currently runs.

Treat the folder read as a hint rather than proof, since uninstalls leave directories behind. But as a first pass on an unfamiliar or half-dead server, five seconds in Explorer narrows down what you are dealing with before you commit to running anything. To add or remove a feature once you know what is there, see Adding & Removing SQL Features via Command.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *