Remove-ecsfiletrustedlocation: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: February 14, 2008

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.


Topic Last Modified: 2015-03-09

Lets an administrator remove an entry from the trusted location list.

This operation is equivalent to accessing the Excel Services Trusted File Location page of the Shared Services Administration Web site, selecting a data connection library, and clicking Delete on the drop-down menu.

stsadm -o remove-ecsfiletrustedlocation

   -ssp <SSP name>

   -location <URL or UNC>

   -LocationType {SharePoint | UNC | HTTP}







A valid SSP name, such as "SharedServices1"


The name of the SSP that provides the resources for the Excel Calculation Services you want to configure.


A valid location to the folder that is trusted

Valid values are:

  • URL in the form http(s)://host/path

  • UNC in the form \\server_name\share


The URL or UNC of the directory that is trusted, and that should be removed. The format of this parameter is determined by the value of the locationtype parameter for a specific location.

The maximum length is 1024 characters.


One of the following supported types:

  • SharePoint

  • UNC

  • HTTP


Specifies a location type.

If the value is either SharePoint or Http, the value of the location parameter is a valid URL.

If the value if UNC, the value of the location parameter is a valid URC.