Click to Rate and Give Feedback
TechNet
TechNet Library

  Switch on low bandwidth view
Microsoft CRM Implementation Guide - Microsoft CRM Uninstall and Data Cleanup

Uninstalling Microsoft® Business Solutions Customer Relationship Management (Microsoft CRM) and purging your computer system of all Microsoft CRM data and system changes as a result of installing Microsoft CRM involves a series of automated and manual procedures. These procedures are the same whether your Microsoft CRM installation involves one computer or several within your system. These procedures also involve working in three areas:

  • Microsoft CRM

  • Microsoft SQL Server™

  • Active Directory®

The process described here will cause your computer system to be in one of two states:

  • Uninstall Microsoft CRM program files but leave your customer relationship management (CRM) data intact. This allows you to reinstall Microsoft CRM and have access to all previous data.

  • Uninstall Microsoft CRM, data, and other system configuration items. This results in a completely clean system as far as Microsoft CRM and its data is concerned.

On This Page

Uninstall Microsoft CRM and Leave the CRM Data Intact Uninstall Microsoft CRM and Leave the CRM Data Intact
Completely Uninstall and Clean Existing Microsoft CRM Deployment Completely Uninstall and Clean Existing Microsoft CRM Deployment

Uninstall Microsoft CRM and Leave the CRM Data Intact

The following procedure will retain your Microsoft CRM databases and other organization data. Possible exceptions to this include:

  • Customizations you have made to forms.

  • Microsoft CRM Sales for Outlook data from a computer working offline that was not synchronized to the Microsoft CRM server before uninstalling the server.

  • Crystal Reports Customizations. To recover customized reports, you must back up these reports before running uninstall.

The advantage of this procedure is that you can install a new Microsoft CRM server and use the previous databases and system information.

Back up Crystal Reports folder

Use your standard backup method to back up the Crystal Reports folder. The default location is:

<systemdrive>:\Program Files\Microsoft CRM\Crystal Decisions\Enterprise\Filestore

Uninstall the Microsoft CRM server

Uninstall the Microsoft CRM server by either:

  • Using Add/Remove Programs

  • Running the Installation program from the Microsoft CRM Server CD.

This will remove all the Microsoft CRM program files, services, registry keys, and so on, but will not touch the CRM data stored in SQL Server and the Active Directory.

Reinstall Microsoft CRM

  1. During Microsoft CRM Installation, select “Use Existing Databases” and specify the existing organization’s database.

  2. Select a Web server in the same domain. The new Microsoft CRM Web server must be in the same domain because using SQL Server and Web servers across domains is not supported for version 1.0 of Microsoft CRM.

  3. Restore the Crystal Reports filestore folder.

  4. On the Start menu, point to Programs, point to Crystal Enterprise, and click Crystal Configuration Manager.

  5. Start all services.

Completely Uninstall and Clean Existing Microsoft CRM Deployment

These procedures involve working in three areas:

  • Microsoft CRM

  • Microsoft SQL Server

  • Active Directory

Uninstall Microsoft CRM

  1. Use Add/Remove Programs.

  2. Run the Installation program from the Microsoft CRM Server CD.

  3. Delete the folder and other Microsoft CRM files from: <systemdrive>:\Program Files\Microsoft CRM

This will remove all the Microsoft CRM program files, services, registry keys, and so on, but will not touch the CRM data stored in SQL Server and the Active Directory.

Delete the Microsoft SQL Server databases

  1. On the Microsoft SQL server, on the Start menu, point to Programs, point to Microsoft SQL Server, and click SQL Enterprise Manager.

  2. Expand Microsoft SQL Servers and then expand SQL Server Group.

  3. The SQL Server Instance of the Microsoft CRM databases should be in the list. If it is listed and not labeled as Local, go to step 7.

    If your Microsoft CRM SQL Server Instance is listed but is labeled as Local, then you will have to delete the local registration and re-register it. Go to step 4.

    If a registration for the server does not exist, then you will need to add a registration for it. Go to step 5.

  4. In the Delete the SQL Registration dialog box, select your database instance, right-click and select Delete SQL Server Registration.

  5. In the Add SQL Server Registration dialog box, select New SQL Server Registration, type the SQL Instance Name, and click Add.

  6. Select Connect using Windows Authorization, click Add to existing SQL Server group, and then click Finish.

  7. Expand your SQL Server instance.

  8. Continue with the following procedure "Disable replication on the SQL Server instance."

Disable replication on the SQL Server instance

Perform the following steps only if you are sure there are no other databases (other than the Microsoft CRM databases that you plan to delete) on this SQL Server instance that are enabled for replication.

  1. On the Microsoft SQL Server, in SQL Server Enterprise Manager, right-click Replication, and select Disable Publishing.

  2. Click Next.

  3. Select Yes, disable publishing on <SQLServer>, and click Next.

  4. On the page that displays the list of existing publications, click Next.

  5. Click Finish.

Disable publishing for specific databases only and not the entire SQL Server

  1. On the SQL Server in SQL Server Enterprise Manager, expand Replication and then expand Publications.

  2. In the Details pane, select the publications that are associated with the Microsoft CRM databases that you want to delete. These include:

    CRMPub-<CRMOrg>_MSCRM:<CRMOrg>_MSCRM CRMPub-<CRMOrg>_Metabase:<CRMOrg>_Metabase

  3. Right-click each publication, select Delete, and then click Yes.

  4. Open SQL Query Analyzer for this SQL Server and type in the following command for both the Microsoft CRM and Metabase databases whose publications were just deleted.

    For example:

    sp_dboption <CRMOrg>_MSCRM, 'merge publish', false
    sp_dboption <CRMOrg>_Metabase, 'merge publish', false
    
  5. Close SQL Query Analyzer.

Delete Microsoft CRM databases

  1. Select the following databases:

    Organization_name_MSCRM
    Organization_name_METABASE
    Organization_name_CRMCRYSTAL

  2. Right-click each database, select Delete, and then click OK.

  3. Delete all the .mdf and .ldf files from <systemdrive>:\Program Files\Microsoft SQL Server\MSSQL\Data.

Delete Microsoft CRM logins

  1. Expand Security, and then expand Logins.

  2. Select the SQLAccessGroup and SQLRepl logins that exist for the Microsoft CRM organization to be deleted.

  3. Right-click each login, select Delete, and then click OK.

To determine which SQLAccessGroup and SQLRepl group belong to the Microsoft CRM organization that you are deleting, compare the complete names of these groups with the pre-Windows 2000 name of the groups in the Active Directory created under the OU for this Microsoft CRM organization.

Delete Active Directory objects

  1. On a domain controller computer, on the Start menu, point to Programs, point to Administrative Tools, and click Active Directory Users and Computers.

  2. Expand the Domain Node and any other nodes depending on which Organizational Unit (OU) was selected to install the Microsoft CRM organization under.

  3. Right-click the Microsoft CRM organization’s OU (<OrganizationName>) and select Delete.

  4. Select Yes to all prompts.

Microsoft CRM has now been uninstalled and the SQL Server and Active Directory data related to the Microsoft CRM organization have been deleted.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker