Disable RBS on content databases in SharePoint Server

Summary: Learn how to disable Remote BLOB Storage (RBS) on any SharePoint Server 2016 and SharePoint 2013 content database.

You can disable Remote BLOB Storage (RBS) on any content database. After you disable RBS on a content database, binary large objects (BLOBs) are stored inline in SQL Server for all subsequent writes to the content database. This article describes how to disable RBS on a content database.

You can disable RBS on a content database by setting the active provider name to the empty string in Microsoft PowerShell. Each content database has a RemoteBlobStorageSettings property that can be used to invoke the SetActiveProviderName method.

This action does not change the storage location of any BLOBs that have previously been stored in RBS or inline storage. Disabling RBS does not uninstall RBS. We do not recommend that you uninstall RBS.

Before you begin this operation, review the following information about prerequisites:

Disable RBS for a content database

This operation can be performed on any Web server in the farm. You only have to perform the operation one time on one Web server for each content database for which you want to disable RBS.

Caution

Do not use the Disable() method on the RemoteBlobStorageSettings object. This method is used only to uninstall RBS, and we do not recommend that you just disable the writing of new BLOBs into RBS.

You must use Microsoft PowerShell cmdlets to disable RBS. There is no user interface option for this task.

To disable RBS by using PowerShell

  1. Verify that you have the following memberships:
  • securityadmin fixed server role on the SQL Server instance.

  • db_owner fixed database role on all databases that are to be updated.

  • Administrators group on the server on which you are running the PowerShell cmdlets.

  1. Start the SharePoint Management Shell.

  2. At the PowerShell command prompt, type the following commands:

$site=Get-SPSite "<http://yourSiteURL>"
$rbss=$site.ContentDatabase.RemoteBlobStorageSettings
$rbss.SetActiveProviderName("")
Where  _\<http://yourSiteURL\>_ is the Web application that is attached to the content database that is being disabled for RBS. 

For more information, see [Get-SPSite](http://technet.microsoft.com/library/f3422bf4-0f9b-4f22-94c8-2a0606a31b16.aspx).

See also

Concepts

Set a content database to use RBS with FILESTREAM in SharePoint Server