How to programmatically remove the "Configure CRM" toolbar from non-CRM users
February 22, 2008 14:00 by menno

Lately I have been messing a bit more with Microsoft Dynamics CRM 4.0 and ran into something which can be especially bothersome for non-CRM users on a shared computer or in Citrix / Terminal Server environments.

When the Microsoft Dynamics CRM 4.0 Client for Outlook is installed on a computer or in a Citrix / Terminal Server environment it will show the button "Configure Microsoft Dynamics CRM for Outlook" for all users in Outlook.

image

In my opinion, this button should "technically" be only visable for CRM users and not for everybody. So, if you have computers or a Citrix / Terminal Server environment that is used by CRM users and non-CRM users how would you solve this? One would think that simply removing the button from the toolbar is the solution. Well, that doesn't work for whatever reason, the button returns each time when you close and re-open Outlook.

So now what? Looking through the registry, I noticed a few reg keys that might help. After some testing I noticed it gave the needed results.

Set the following registry keys to disable the Microsoft Dynamics CRM Outlook add-in.

  1. HKCU\Software\Microsoft\Office\Outlook\Addins\crmaddin.Addin\LoadBehavior DWORD 2
  2. HKCU\Software\Microsoft\Office\Excel\Addins\crmexceladdin.Addin\LoadBehavior DWORD 2

This will prevent the add-ins from loading and at the same time it will prevent the Configure CRM button from showing up for non-CRM users.

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: ,
Actions: E-mail E-mail |Comments Comments (3) | RSS comment feed Comment RSS |

Related posts

Comments

March 13. 2008 09:20

Christopher Grove

Hi,
if those are the values for disactivating the crmaddin.dll in the registry keys, what should they be to enable the crmaddin.dll, please?
We're currently beta testing the Outlook Client for MS CRM 3.0 (with Outlook 2003) and are having problems with this .dll with one user.
The client worked at first, but after not being used for a week or two, the CRM menu no longer works (clicking on one of the values in the CRM menu results in nothing happening). The user can still navigate in the CRM via Outlook, and there isn't an error message to guide us either.
We want to roll this out to 200 users, so need to fix this without an uninstall/re-install or a modification of his Windows profil, because if this happens to 200 users, that solution isn't practical.
If you've got any other help you could give me apart from the registry keys info, I'd appreciate it a great deal.
Many thanks in advance
Christopher

Christopher Grove fr

May 28. 2008 14:22

Richard

Hi, Any info on having the entire CRM profile move with a TS Profile? We can install & have basic functionality without any problem, but users don't have access to their contacts in the TS environment unless they're on the server on which the client was configured.

Many thanks,
Richard

Richard us

July 7. 2008 04:10

Steen

use value=3 to enable CRM

Steen

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

October 6. 2008 09:14