Opening one application allows another application

I have strange behavior in our Xenapp and windows 2008 server environment. I published a custom application and i also have excel published too. I am able to successfully launch excel without any problem however i am not able to launch my custom application. I get "Access is Denied" message(pls see attached). The only way i can make my custom application to work is that first i have to launch the excel and only then i am able to launch my application.
I have tried and ruled out permissions issue, ruled out gpo settings, ruled out UAC settings etc.
Can someone suggest more ideas about why this is happening and how can i make my application launch without the help of excel?
Thank you

Xenapp is version 5. Please advice where to dig more for the hints?
LVL 25
Nagendra Pratap SinghDesktop Applications SpecialistAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

AnthonyHamonConnect With a Mentor Commented:
That likely explains the problem.  If you want to publish an application that is launched using a CMD file, you need to specify the command line as follows:
"%systemroot%\system32\cmd.exe" /c <path to CMD file>
Are you launching the application via an ICA file, Citrix Web Interface or Program Neighborhood?
Nagendra Pratap SinghDesktop Applications SpecialistAuthor Commented:
Using Web Interface in IE 7. I have also tried using  Program Neighborhood.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

I suspect this is a problem with the published application definition for the application.  I suggest that, as a test, you duplicate the Excel application (F8) and change the name, description, path and working directory.  If this works, then you can drill down to establish which published application settings are causing the issue.
Nagendra Pratap SinghDesktop Applications SpecialistAuthor Commented:
My custom application is published by using a batch file(.cmd). working directory is mapped to where the script is located.
I have tested duplicating the application and still there is no luck.I  have named excel as excel1 and excel2 and tried but no luck.
Nagendra Pratap SinghDesktop Applications SpecialistAuthor Commented:
Will try your suggestion and update this thread.
Nagendra Pratap SinghDesktop Applications SpecialistAuthor Commented:

Will be trying this change in the maintenance window on Saturday.

Nagendra Pratap SinghDesktop Applications SpecialistAuthor Commented:
This has worked in the Staging environment.

If it does not work in production then I will open another question.

Thanks for the speedy reply.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.