• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1217
  • Last Modified:

Force Program To Open Multiple Instances When Running Terminal Services.

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
swedishmotors
Asked:
swedishmotors
1 Solution
 
zmorvikCommented:
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
 
swedishmotorsAuthor Commented:
Thank you,
This what my software company said to do, your response was much more step by step.  Thank you.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now