Solved

Force Program To Open Multiple Instances When Running Terminal Services.

Posted on 2010-08-26
2
1,200 Views
Last Modified: 2012-05-10
I have two programs that interact with each other.

I use baymaster auto shop management software - which interfaces with
worlpac(a parts look-up program) to send the vehicle details to the parts catalog and a part number from the parts catalog back to baymaster.

I run a Windows Server with all clients using terminal services.  The
users log into the server and open baymaster and speed dial.

Baymaster opens an instance of the program for each user.
Worldpac only opens one instance.

When baymaster sends the vehicle details to the speed dial catalog it
does not send it to the speeddial the user is working in, within the
users session.  It always sends a random session

Ex.
5 users - 5 instance of Baymaster
             1 instance of Worldpac(even though all users can use
worldpac simultaneously.)

Can I force the speeddial parts program to open an instance for each users terminal server session?
0
Comment
Question by:swedishmotors
[X]
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
2 Comments
 
LVL 4

Accepted Solution

by:
zmorvik earned 500 total points
ID: 33533455
Sometimes, and I emphasize sometimes because it really depends on the way the application was written, this can work if you modify the shortcut and make a copy of the working program directory for the application.  In your case, you may need to do this for both apps, but I would test different settings to see if either would work.

The database would need to be stored in a location other than within the program directory.

For example.  

Find out where the "Start In" field of the current shortcut points.  Just right click the desktop icon and goto properties.  The "Start in" field is on the General tab.  Let's say for Baymaster this is C:\Program Files\Baymaster

You would copy the Baymaster folder to each user's profile directory.  On 2003 this would be
C:\Documents and Settings

2008 would be
C:\Users

Then you modify the shortcut that you have in the All Users\Desktop folder that points to Baymaster so that the "Start In" field points to %userprofile%\Baymaster

You could also change the "Target" field to point here if need be.

May have to do this for both programs.

It's not a "pretty" solution, but some application are just not meant to run on terminal services and this can be a workaround for some applications.

Also keep in mind that when you upgrade the application you will just need to copy the program files folder into each user profile again.

Typically, to make new user setup easier, we will also copy the application program files directory to the "Default User" profile so that when a new user logs in for the first time, they get a copy and we don't have to do it manually.

Hope this helps!
0
 
LVL 1

Author Closing Comment

by:swedishmotors
ID: 33618599
Thank you,
This what my software company said to do, your response was much more step by step.  Thank you.
0

Featured Post

Industry Leaders: 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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

740 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