Solved

Force Program To Open Multiple Instances When Running Terminal Services.

Posted on 2010-08-26
2
1,175 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
2 Comments
 
LVL 4

Accepted Solution

by:
zmorvik earned 500 total points
Comment Utility
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
Comment Utility
Thank you,
This what my software company said to do, your response was much more step by step.  Thank you.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 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