Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 5b434c3

Browse files
Merge pull request #33347 from rwestMSFT/rw-0228-fix-375090
Refresh SQL Server uninstall article (UUF 375090)
2 parents 5a888e4 + f20cfa6 commit 5b434c3

1 file changed

Lines changed: 30 additions & 22 deletions

File tree

docs/sql-server/install/uninstall-an-existing-instance-of-sql-server-setup.md

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "Uninstall an existing instance of SQL Server (Setup)"
2+
title: "Uninstall an Existing Instance of SQL Server (Setup)"
33
description: This article describes how to uninstall a stand-alone instance of SQL Server, which also prepares the system so that you can reinstall SQL Server.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: 01/09/2024
6+
ms.date: 02/28/2025
77
ms.service: sql
88
ms.subservice: install
99
ms.topic: conceptual
@@ -18,23 +18,26 @@ helpviewer_keywords:
1818

1919
[!INCLUDE [SQL Server Windows Only](../../includes/applies-to-version/sql-windows-only.md)]
2020

21-
This article describes how to uninstall a stand-alone instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. By following the steps in this article, you also prepare the system so that you can reinstall [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
21+
This article describes how to uninstall a stand-alone instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)]. By following the steps in this article, you also prepare the system so that you can reinstall [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
2222

2323
To uninstall a Cumulative Update, see [Uninstall a Cumulative Update from SQL Server](uninstall-a-cumulative-update-from-sql-server.md).
2424

2525
> [!NOTE]
26-
> To uninstall a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] failover cluster, use the Remove Node functionality provided by [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Setup to remove each node individually. For more information, see [Add or Remove Nodes in a SQL Server Failover Cluster (Setup)](../../sql-server/failover-clusters/install/add-or-remove-nodes-in-a-sql-server-failover-cluster-setup.md)
26+
> To uninstall a [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] failover cluster, use the Remove Node functionality provided by [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Setup to remove each node individually. For more information, see [Add or remove nodes in a failover cluster instance (Setup)](../failover-clusters/install/add-or-remove-nodes-in-a-sql-server-failover-cluster-setup.md)
2727
2828
## Considerations
2929

3030
- To uninstall SQL Server, you must be a local administrator with permissions to log on as a service.
31+
3132
- If your computer has the *minimum* required amount of physical memory, increase the size of the page file to two times the amount of physical memory. Insufficient virtual memory can result in an incomplete removal of SQL Server.
32-
- On a system with multiple instances of SQL Server, the SQL Server browser service is uninstalled only once the last instance of SQL Server is removed. The SQL Server Browser service can be removed manually from **Programs and Features** in the **Control Panel**.
33-
- Uninstalling [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] deletes `tempdb` data files that were added during the install process. Files with tempdb_mssql_*.ndf name pattern are deleted if they exist in the system database directory.
33+
34+
- On a system with multiple instances of SQL Server, the SQL Server browser service is uninstalled only once the last instance of SQL Server is removed. The SQL Server Browser service can be removed manually using the same procedure as removing SQL Server.
35+
36+
- Uninstalling [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] deletes `tempdb` data files that were added during the install process. Files with tempdb_mssql_*.ndf name pattern are deleted if they exist in the system database directory.
3437

3538
## Prepare
3639

37-
1. **Back up your data.** Either create [full backups](../../relational-databases/backup-restore/create-a-full-database-backup-sql-server.md) of all databases, including system databases, or manually copy the .mdf and .ldf files to a separate location. The `master` database contains all system level information for the server, such as logins, and schemas. The `msdb` database contains job information such as SQL Server agent jobs, backup history, and maintenance plans. For more information about system databases, see [System databases](../../relational-databases/backup-restore/back-up-and-restore-of-system-databases-sql-server.md).
40+
1. **Back up your data.** Either create [full backups](../../relational-databases/backup-restore/create-a-full-database-backup-sql-server.md) of all databases, including system databases, or manually copy the .mdf and .ldf files to a separate location. The `master` database contains all system level information for the server, such as logins, and schemas. The `msdb` database contains job information such as SQL Server agent jobs, backup history, and maintenance plans. For more information about system databases, see [Back up and restore: System databases (SQL Server)](../../relational-databases/backup-restore/back-up-and-restore-of-system-databases-sql-server.md).
3841

3942
The files that you must save include the following database files <sup>1</sup>:
4043

@@ -46,62 +49,67 @@ To uninstall a Cumulative Update, see [Uninstall a Cumulative Update from SQL Se
4649
- `modellog.ldf`
4750
- `mssqlsystemresource.mdf`
4851
- `mssqlsystemresource.ldf`
49-
- `ReportServer[$InstanceName]` data and log files <sup>2</sup>
50-
- `ReportServer[$InstanceName]TempDB` data and log files <sup>2</sup>
52+
- `ReportServer[$InstanceName]` data and log files <sup>2</sup>
53+
- `ReportServer[$InstanceName]TempDB` data and log files <sup>2</sup>
5154

5255
<sup>1</sup> You can't back up the `tempdb` system database.
5356

5457
<sup>2</sup> The *ReportServer* databases are included with SQL Server Reporting Services.
5558

56-
1. **Stop all [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] services.** We recommend that you stop all [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] services before you uninstall [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] components. Active connections can prevent successful uninstallation.
59+
1. **Stop all [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] services.** We recommend that you stop all [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] services before you uninstall [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] components. Active connections can prevent successful uninstallation.
5760

58-
1. **Use an account that has the appropriate permissions.** Sign in to the server by using the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] service account or by using an account that has equivalent permissions. For example, you can log on to the server by using an account that is a member of the local Administrators group.
61+
1. **Use an account that has the appropriate permissions.** Sign in to the server by using the [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] service account or by using an account that has equivalent permissions. For example, you can connect to the server by using an account that is a member of the local Administrators group.
5962

6063
## Uninstall
6164

6265
# [Windows 10 / 2016 +](#tab/Windows10)
6366

64-
To uninstall SQL Server from Windows 10, Windows Server 2016, Windows Server 2019, and greater, follow these steps:
67+
To uninstall SQL Server from Windows 10, Windows Server 2016, Windows Server 2019, and greater, follow these steps.
68+
69+
1. To begin the removal process, navigate to **Settings** from the Start menu. Depending on which version of Windows you installed, choose **Apps**, or **Apps > Installed apps**.
6570

66-
1. To begin the removal process, navigate to **Settings** from the Start menu and then choose **Apps**.
6771
1. Search for `sql` in the search box.
72+
6873
1. Select **Microsoft SQL Server (Version) (Bit)**. For example, `Microsoft SQL Server 2017 (64-bit)`.
74+
6975
1. Select **Uninstall**.
7076

7177
:::image type="content" source="media/uninstall-an-existing-instance-of-sql-server-setup/uninstall-sql-server-windows-10.png" alt-text="Screenshot showing how to uninstall SQL Server.":::
7278

79+
If you use a newer version of Windows, the user interface might look different.
80+
7381
1. Select **Remove** on the SQL Server dialog pop-up to launch the Microsoft SQL Server installation wizard.
7482

7583
:::image type="content" source="media/uninstall-an-existing-instance-of-sql-server-setup/remove-sql-2017.png" alt-text="Screenshot showing how to remove SQL Server.":::
7684

77-
1. On the **Select Instance** page, use the drop-down box to specify an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to remove, or specify the option to remove only the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] shared features and management tools. To continue, select **Next**.
85+
1. On the **Select Instance** page, use the dropdown list to specify an instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] to remove, or specify the option to remove only the [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] shared features and management tools. To continue, select **Next**.
7886

79-
1. On the **Select Features** page, specify the features to remove from the specified instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
87+
1. On the **Select Features** page, specify the features to remove from the specified instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
8088

8189
1. On the **Ready to Remove** page, review the list of components and features that will be uninstalled. Select **Remove** to begin uninstalling
8290

83-
1. Refresh the **Apps and Features** window to verify the SQL Server instance has been removed successfully, and determine which, if any, SQL Server components still exist. Remove these components from this window as well, if you so choose.
91+
1. Refresh the **Apps and Features** window to verify the SQL Server instance was removed successfully, and determine which, if any, SQL Server components still exist. Remove these components from this window as well, if you so choose.
8492

8593
# [Windows 2008 - 2012 R2](#tab/windows2012)
8694

87-
To uninstall SQL Server from Windows Server 2008, Windows Server 2012 and Windows 2012 R2, follow these steps:
95+
To uninstall SQL Server from Windows Server 2008, Windows Server 2012 and Windows 2012 R2, follow these steps.
8896

8997
1. To begin the removal process, navigate to the **Control Panel** and then select **Programs and Features**.
9098
1. Right-click **Microsoft SQL Server (Version) (Bit)** and select **Uninstall**. For example, `Microsoft SQL Server 2012 (64-bit)`.
9199

92-
:::image type="content" source="media/uninstall-an-existing-instance-of-sql-server-setup/uninstall-sql-server-windows-2012.png" alt-text="Screenshot showing how to uninstall SQL Server.":::
100+
:::image type="content" source="media/uninstall-an-existing-instance-of-sql-server-setup/uninstall-sql-server-windows-2012.png" alt-text="Screenshot showing how to uninstall SQL Server.":::
93101

94102
1. Select **Remove** on the SQL Server dialog pop-up to launch the Microsoft SQL Server installation wizard.
95103

96-
:::image type="content" source="media/uninstall-an-existing-instance-of-sql-server-setup/remove-sql-2012.png" alt-text="Screenshot showing how to remove SQL Server.":::
104+
:::image type="content" source="media/uninstall-an-existing-instance-of-sql-server-setup/remove-sql-2012.png" alt-text="Screenshot showing how to remove SQL Server.":::
97105

98-
1. On the **Select Instance** page, use the drop-down box to specify an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to remove, or specify the option to remove only the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] shared features and management tools. To continue, select **Next**.
106+
1. On the **Select Instance** page, use the dropdown list to specify an instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] to remove, or specify the option to remove only the [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] shared features and management tools. To continue, select **Next**.
99107

100-
1. On the **Select Features** page, specify the features to remove from the specified instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
108+
1. On the **Select Features** page, specify the features to remove from the specified instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
101109

102110
1. On the **Ready to Remove** page, review the list of components and features that will be uninstalled. Select **Remove** to begin uninstalling
103111

104-
1. Refresh the **Programs and Features** window to verify the SQL Server instance has been removed successfully, and determine which, if any, SQL Server components still exist. Remove these components from this window as well, if you so choose.
112+
1. Refresh the **Programs and Features** window to verify the SQL Server instance was removed successfully, and determine which, if any, SQL Server components still exist. Remove these components from this window as well, if you so choose.
105113

106114
---
107115

0 commit comments

Comments
 (0)