How to silent uninstall MS CRM 2011 for Outlook?


I'm having troubles with silent uninstallation of Microsoft Dynamics CRM 2011. The "Uninstall string" from registy points to .exe file, and starts a user's interface to choose between "repair" nad "uininstall". I cannot find a way to choose "uninstall" by default, and run it in silent mode. Parameters "/uninstall /q" makes triggers repair (!).

Uninstallation by product code using msiexec /x command gives "erros 1603".

My system is Windows 7, all actions are being made with Administartor's account.

Has anyone faced same issue before? What might be some other way to uninstall an application in silent mode?

BR, Lucas.

1 Comment   [ + ] Show comment
  • Would this be the same for CRM 2013? - kcasey 1 year ago

Answers (5)

Answer Summary:
Posted by: andemats 9 years ago
2nd Degree Black Belt

Gratz! Wonderful installer to work with! *ironic*

Anyway, I did this a while back and found that the following command line worked for me.

"%PROGRAMFILES%\Microsoft Dynamics CRM\Client\SetupClient.exe" /ALLOWRUN /X /Q

  • Well, not actually the whole truth.
    This is my uninstaller:
    "%PROGRAMFILES%\Microsoft Dynamics CRM\Client\SetupClient.exe" /ALLOWRUN /X /Q
    RD "%PROGRAMFILES%\Microsoft Dynamics CRM" /S /Q - andemats 9 years ago
  • That got it. Awesome. Thanks. - i3igi3yrd 5 years ago
Posted by: lucasour 9 years ago
Senior White Belt

I confirm, it's working:


"09:56:56|   Info| Uninstall of Microsoft Dynamics CRM for Outlook succeeded.
09:56:56|   Info| Clean up the BITS downloader.

09:56:56|   Info| Clean up the BITS downloader.


Thank you very much.

  • You are welcome! :) - andemats 9 years ago
Posted by: WhitzEnd 6 years ago
7th Degree Black Belt
Another good trick for uninstalling many things is to use the registry GUID.  In the uninstall section you may see a GUID like this.  

If the values under that GUID are representative of the program you want to uninstall you can utilize the foloowing command structure to uninstall.

MSIEXEC.EXE /X {GUID_GOES_HERE} /QN to silently uninstall the program.  
Posted by: kool68 6 years ago
Senior Yellow Belt
Make sure you have Outlook closed or it will never uninstall. It will report error code = 0 but it will still be there.

  • Is it really necessary for Outlook to be closed to silently uninstall it? I understand why, but its unfortunate as most of my users have their email open all the time, and we want to silently remove this from some of them. - donaghs 4 years ago
Posted by: jimipercy 6 years ago
White Belt
Hi Everyone,

I've just recently had a problem with this CRM 2011 x86 silent uninstaller. I was not able to deploy an uninstall script using SCCM 2012. I kept getting errors with every attempt.

I came up with a solution after multiple unsuccessful attempts.

With CRM 2011 x86 Client already installed, I first ran the uninstaller SetupClient.exe /x /l C:\crmuninstall.log

I then saw this msiexec reference in the log file I had captured:

<msiexec /x "C:\Windows\Installer\1b51e862.msi" /q INSTALLLEVEL="3" INSTALLTYPE="UNINSTALL" REMOVE="ALL" SOURCEFOLDER="C:\Windows\Installer" TARGETDIR="C:\Program Files (x86)\Microsoft Dynamics CRM" INSTALLDIR="C:\Program Files (x86)\Microsoft Dynamics CRM" /l+ "c:\crm50clientmsi.log" LOGFILE="c:\crm50clientmsi.log"    ALLOWRUN="1" REBOOT=ReallySuppress NOSELECTION=1>

What I did next was locate this temporary file 1b51e862.msi (the file name may be different), rename it (mine was renamed to uninstallcrm.msi) and copy to a network share. 

I then created a cmd file with the following and placed on the same share as the msi file.

msiexec /x "%~dp0uninstallcrm.msi" /q INSTALLLEVEL="3" INSTALLTYPE="UNINSTALL" REMOVE="ALL" SOURCEFOLDER="\\share\yourshare" TARGETDIR="C:\Program Files (x86)\Microsoft Dynamics CRM" INSTALLDIR="C:\Program Files (x86)\Microsoft Dynamics CRM" /l+ "c:\crm50clientmsi.log" LOGFILE="c:\crm50clientmsi.log" ALLOWRUN="1" REBOOT=ReallySuppress NOSELECTION=1

RD "%PROGRAMFILES(x86)%\Microsoft Dynamics CRM" /S /Q

I ran the cmd file after mapping the share using net use.

After testing and making sure it worked I then created a package in SCCM to deploy this uninstaller to my test environment.

There may be some other steps to fully remove the software, but this has seemed to have worked so far.

I hope this helps!

  • Did this allow you to silently uninstall it, even when users had outlook open? - donaghs 4 years ago
    • Yes this was a silent uninstall. I believe I ran a script to close Outlook first. - jimipercy 4 years ago
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ