Udostępnij za pośrednictwem


Uninstall SharePoint Servers 2016 or 2019

APPLIES TO: no-img-132013 yes-img-162016 yes-img-192019 no-img-seSubscription Edition no-img-sopSharePoint in Microsoft 365

You remove SharePoint Server by uninstalling it from Control Panel. When you uninstall SharePoint Server, most files and subfolders in the installation folders are removed. However, some files are not removed. Also,

  • Web.config files, index files, log files, and customizations that you might have are not automatically removed when you uninstall SharePoint Server.

  • SQL Server databases are detached but are not removed from the database server.

  • When you uninstall SharePoint Server, all user data remains in the database files.

Note

To uninstall SharePoint Server Subscription Edition on Windows Server Core, see Uninstall SharePoint Server Subscription Edition.

Before you begin

Before you begin this operation, confirm that you have uninstalled all language packs that are on the server.

Uninstall SharePoint Servers 2016 or 2019

Use this procedure to uninstall SharePoint Server 2016.

To uninstall SharePoint Servers 2016 or 2019

  1. Verify that you are a member of the Farm Administrators group or a member of the Administrators group on the local computer.

  2. On the computer that runs SharePoint Server, log on as a local or domain administrator.

  3. Start Control Panel.

  4. In the Programs area, click Uninstall a program.

  5. In the Uninstall or change a program dialog, click Microsoft SharePoint Server 2016 or Microsoft SharePoint Server 2019.

  6. Click Change.

  7. On the Change your installation of Microsoft SharePoint Server page, click Remove, and then click Continue.

    A confirmation message appears.

  8. Click Yes to remove SharePoint Server 2016.

    A warning message appears.

  9. Click OK to continue.

    A confirmation message appears.

  10. Click OK.

    You might be prompted to restart the server.

Note

If you did not remove the language template packs before you uninstalled and then reinstalled SharePoint Server, you must run Repair from the SharePoint Products Configuration Wizard for each language template pack on the server. After the repair operation is complete, you must restart the server. Finally, complete the language template pack configuration by running the SharePoint Products Configuration Wizard.

See also

Concepts

Add a server to a SharePoint Server 2016 or SharePoint Server 2019 farm

Remove a server from a farm in SharePoint Server 2016 or SharePoint Server 2019

Hardware and software requirements for SharePoint Server 2016

Hardware and software requirements for SharePoint Server 2019

Install SharePoint Servers 2016 or 2019 on one server

Install SharePoint Servers 2016 or 2019 across multiple servers