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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 25

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.
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

LVL 26

Expert Comment

by:Tony Johncock
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.

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 48

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

691 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