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.

Answer Summary:
0 Comments   [ - ] Hide Comments


Please log in to comment

Community Chosen Answer



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

Answered 06/07/2012 by: andemats
Second Degree Black Belt

  • 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
  • That got it. Awesome. Thanks.
Please log in to comment
Answer this question or Comment on this question for clarity



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.

Answered 06/08/2012 by: lucasour
Senior White Belt

Please log in to comment
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.  
Answered 08/12/2015 by: WhitzEnd
Seventh Degree Black Belt

Please log in to comment
Make sure you have Outlook closed or it will never uninstall. It will report error code = 0 but it will still be there.
Answered 12/10/2014 by: kool68
Senior Yellow Belt

  • 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.
  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
Please log in to comment
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!

Answered 08/07/2015 by: jimipercy
White Belt

  • Did this allow you to silently uninstall it, even when users had outlook open?
    • Yes this was a silent uninstall. I believe I ran a script to close Outlook first.
Please log in to comment