How to Remove SharePoint Commerce Services Deployed in SharePoint

You can use the SharePoint Commerce Services Configuration Wizard to retract and remove the SharePoint Commerce Services from your SharePoint infrastructure.

Note

You can also retract and remove the SharePoint Commerce Services by using SharePoint Central Administration; see the SharePoint documentation for instructions.

The retraction and removal is not selective. When you proceed with this action, all the SharePoint Commerce Services that are deployed are removed. Any existing SharePoint site that references the SharePoint Commerce Services, Web Parts, or templates may be broken after this process.

You can only initiate this action from the command line. The command line can retract and remove by running the SharePoint Commerce Services Configuration Wizard or by using silent mode.

To retract and remove SharePoint Commerce Services

  1. Log on to the operating system under a user account that has local administrator permissions.

  2. Click Start, then click Command Prompt.

  3. In the Command Prompt window, navigate to the

    <Commerce Server root>\SharePointServices\Site\ folder.

  4. Type one of the command lines shown below:

    Type this command

    To do this

    SharePointCommerceServicesConfiguration -u

    Retract and remove all SharePoint Commerce Services currently deployed by using the Configuration Wizard. Go to step 5.

    SharePointCommerceServicesConfiguration -q -u

    Retract and remove all the SharePoint Commerce Services immediately without providing user input (silent mode). If you use this command, you will retract and remove all the SharePoint Commerce Services. The remaining steps in this procedure apply only if you use the Configuration Wizard.

    Note

    You can use the -h or -? option on the command line to display a page that describes all command line options you can use.

  5. A page appears listing all SharePoint Commerce Services detected by the wizard. If you want to retract and remove all services listed, click Next; otherwise, click Cancel.

  6. In the page that appears, click Next.

    The wizard retracts and removes the services; this may take several minutes. A progress report is shown.

    A page appears listing all services that were retracted and removed.

  7. Click Finish to exit the wizard.