title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.custom | ms.topic | helpviewer_keywords | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Uninstall a Cumulative Update from SQL Server |
This article describes how to remove a Cumulative Update from a stand-alone instance of SQL Server. |
rwestMSFT |
randolphwest |
12/20/2022 |
sql |
install |
linux-related-content |
conceptual |
|
[!INCLUDE_ssnoversion]
This article describes how to remove a Cumulative Update (CU) from a stand-alone instance of [!INCLUDEssNoVersion], on both Windows and Linux.
To uninstall [!INCLUDEssNoVersion] on Windows, see Uninstall SQL Server.
- To remove a CU on [!INCLUDEssNoVersion], you must be a local administrator.
-
Back up your data. Create full backups of all databases. The
master
database contains all system level information for the instance, such as logins, and schemas. Themsdb
database contains job information such as [!INCLUDEssNoVersion] Agent jobs, backup history, and maintenance plans. For more information about system databases, see System databases. -
Stop all [!INCLUDEssNoVersion] services. We recommend that you stop all [!INCLUDEssNoVersion] services before you uninstall a Cumulative Update. Active connections can prevent successful removal.
-
Use an account that has the appropriate permissions. Sign in to the server by using the [!INCLUDEssNoVersion] service account or by using an account that has equivalent permissions. For example, you can sign in on Windows with an account that is a member of the local Administrators group. On Linux, you should run the commands using the root account.
Depending on the version of Windows you're using, you can access the list of installed updates in several ways.
For Windows Server 2016, Windows 10, and later versions:
- Open the Start menu, and type
update history
. - Select View update history from the search results.
- Select Uninstall updates.
For older versions of Windows, navigate to Control Panel > Programs and Features > View installed updates.
Depending on the version of Windows you're using, you can remove the CU from the list of installed updates by either selecting the Uninstall option next to the update, or by right-clicking on the update and selecting Uninstall.
Follow the instructions to remove the CU. You may be prompted to restart your computer after the CU is removed.
To uninstall a Cumulative Update on Linux, you must roll back the package to the previous version.
[!INCLUDEroll-back-sql-server]
If the removal process fails, review the SQL Server Setup log files to determine the root cause.