Solved

Prevent user from launching second new pagefor IE in Terminal Server/Citrix environment

Posted on 2013-01-28
3
667 Views
Last Modified: 2013-02-20
Hello Experts,

Here is the scenario: User launches an IE website from Citrix page. This IE is published on a Windows 2003 server and when clicked it launches the IE of that Windows 2003 Server (Content redirection not possible to user desktop).
The problem is though we have limited the user session to a single session and disabled CTRL+N for the published IE application, each time the user clicks on the icon, it opens up another IE page within the same session. Application owner does not want this.
I need a solution that checks if the user has already opened up the IE page in that server and restrict him from opening another IE page within the same session or new session.

I found this code which detects IE process, but if I use this then this does not allow any second user to launch IE page:

TASKLIST /NH | FIND /I "iexplore"
SET IELevel=%ERRORLEVEL%
IF %IELevel% NEQ 0 START iexplore.exe

Is there any way i can list the IE process for each user by some user ID and thus prevent him from launching IE for his login alone.
Is there any other solution which which checks IE process for the current user and stops him from opening another IExplore.exe ?
0
Comment
Question by:sunilswain
  • 2
3 Comments
 
LVL 23

Expert Comment

by:Ayman Bakr
ID: 38829915
You can limit the number of instances of a published application that a user can run from the published application properties.

In the Delivery Service Console, App Center in the newest versions of XenApp, go to the IE application properties > click the limits on the left column > check Allow only one instance of application for each user
0
 
LVL 5

Author Comment

by:sunilswain
ID: 38830819
Hello Mutawadi,

This has already been implemented. But it does not seem to work. The application owner has scripted the IE launch in VB script. Citrix just calls the batch file to launch the webpage in IE. Limiting the user instance to ONE does not seem to take effect at all.

Now am looking for a scripted solution which will check if the webpage is already open for the user session and exit if it is already open. I think this would be most appropriate approach!
0
 
LVL 23

Accepted Solution

by:
Ayman Bakr earned 500 total points
ID: 38830910
That is not working because he has published the script from which he is calling the web page to start in IE.

But why has he called IE from a VB script on the first hand? I am with simplicity and unless he has a strong reason for doing so, it would be better to publish the IE itself and limit it to one instance for each user.
0

Featured Post

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

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
CITRIX XENAPP 6.5 FARM CUSTOM POLICY - CHANGE MANAGEMENT WINDOW REBOOT SCHEDULE
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 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

12 Experts available now in Live!

Get 1:1 Help Now