Excel add in for few users only on Citrix Xenapp 6

Posted on 2013-11-28
Last Modified: 2014-10-23
Hi All,

I have a problem in that we have a requirement for an Excel add in that is quite sensitive and therefore I only want it available to a few users. With Citrix, it seems that if an add in is installed it is available for all users. Is there a way to restrict who gets access to what add-in?
Question by:MSSC_support
LVL 14

Accepted Solution

Zack Barresse earned 500 total points
ID: 39683946
Hi there,

Depends on how you want to set it up. Assuming you're talking about an XLAM add-in, you can utilize it's OnOpen method to check the computer name and username when opening. You'd either need to have a pre-populated list with the data on it for who can view it.

When I install an add-in I always put it in C:\Windows\Addins, so it is easily available for everyone. By default add-ins are installed to the current users path:


Wouldn't you just control who was able to download/install the add-in though? Seems like it would be easier to do that than try to code around it.

Zack Barresse
LVL 24

Expert Comment

by:Sekar Chinnakannu
ID: 39684611
The Workaround for this requirement is publish the Excel with specific addin which user request and give permission only to specific users.

Author Comment

ID: 39684844
Well it is going to sit on a terminal server environment. It is a Sage plugin on Excel. I only want this add in visible to the few finance users.
LVL 25

Expert Comment

ID: 39684890
Ok, assuming you're using a published desktop:

The way I've done this, personally, in the past is to have two shortcuts for excel and a script that copies the relevant one based on group membership.

The one for users who do not need the plugin is simply to add /s after excel.exe in the shortcut - this starts it in safe mode which disables plugins.

If it is a published application it's even easier because you just have two published Excels and one is the safe mode version.

You may want to check with your version of Excel exactly what safe mode disables before you do this as it's been some time since I did it this way and for that company, their demands on Excel were absolutely minimal so it broke nothing.

Author Comment

ID: 39685078
We use excel 2010. We do not use add ins except for Sage so I will try that and get back to you.

Author Comment

ID: 39685094
I tried it with the /s switch and the add in still runs. And yes we use published desktop.
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline


Author Comment

ID: 39685102
sekarc4u, how do i do that?

Author Comment

ID: 39685131

doing some more research it is a COM add in.

Author Comment

ID: 39690110
Anyone else have any ideas?
LVL 14

Expert Comment

by:Zack Barresse
ID: 39690702
If it's a COM add-in you either need access to the source code, or you have to manage the folder location in which it's located with permissions. Might be worth asking Citrix directly.


Author Comment

ID: 39695115
Worked like a charm! It fails to load the add in with the permissions and you cannot force it to work.
LVL 45

Expert Comment

by:Martin Liss
ID: 40398836
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
OfficeMate Freezes on login or does not load after login credentials are input.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now